PowerShell Date and Time Tip

Today I will provide you Tips on how to use Date/Time in your scripts to create Log files , as well as understanding of the Date/Time function. $date = get-date Here is the output of above command but this can’t be used for creating files with time stamps as there are special characters, so you need to…

Take Ownership and Grant Permissions

Sharing a advanced script that I have used for one of our projects, This script is compatible with Powershell Version 2.0 & 3.0 There was a requirement from Backup Team that When they run the script on particular folder it should recurse thru all subfolder Take ownership of only those folder where Backup account gets access…

Bulk start, stop, disable of windows services

Sharing a script that we have used recently for stopping/starting exchange services & setting those to disabled/enabled for some hardware maintenance work. This script has been enhanced to be used with any of the windows services. Extract the script zip from below link & update the servers.txt & services.txt that is placed inside the script folder. ServiceSts.zip…

Automatic Group Update based on Lync Policy

Sharing the script, as promised in blog article: ADD Lync Disclaimer for Dial in Users – Using Exchange Transport Rule https://techwizard.cloud/2015/11/16/add-lync-disclaimer-for-dial-in-users-using-exchange-transport-rule/ This script extracts the users that have  Dialin policy assigned & compare it with group members of Active Directory group. If user is added to the Lync dial in policy user gets automatically added to…