Shutdown / Restart via PowerShell

Hi  Readers, Our team has to shutdown / Reboot a lot of servers due to some datacenter activities but unfortunately no one was available due to holiday season. So as I luv PowerShell,  the idea was to automate the process & send notification ones the action is completed. You can download the solution from TechNet…

Schedule Task Monitor Script

Hi Readers, We have created a new script which was required by our backup team. They had below requirements: Montor Task Scheduler for failed tasks Send email if the task is failed. Send the error as attachement Send the server name in message subject Only monitor tasks that have name snapshot or backup Updated 02/28/2014…

Export AD group members – nested / recursive group members – input via textfile

Hi Readers, This script is the extension of below script http://gallery.technet.microsoft.com/Export-AD-group-members-6e6c8a9f The only difference is: It takes input of group names from text file & you can run this for multiple groups. You just have to put CN of a group (otherwise it will not work) in the text file. “groupname.txt”   Extract the script &…

Upgrade Distribution Group to Exchange 2010 Version

Hi Readers, We have found that there are many DL’s in our organization that are still on old versions. How to find DL versions:- Log on to exchange 2010 management shell: $collect = Get-DistributionGroup -ResultSize unlimited | select Name,samaccountname,exchangeversion $collect | export-csv c:\exportDl.csv Now you have two options to upgrade 1. upgrade all Lists at ones…