Aministrator Powershell scripts

In the old days it was only the *Nix admin that was working with the command line.
Microsoft has in the mean time modified almost all there programs to fully support powershell. Even better the UI executes powershell code when you modify or create something.

Ofcourse you can’t know it all and searching the big and mighty google helps you along, therefor I decided to centralise my powershell scripts that collected or wrote on Github.

And ofcourse I will gladly share them with everyone. You can find the Git page at

The overview is as followed:

scriptname explanation
Cleartempfolders.ps1 Clears the temp folders on local srv / pc
Get-ADRecursiveGroupMembership.ps1 lists all the user his groupmemberships
O365_User_Group.ps1 lists all the O365 groups and their users, used for CSV export
O365_search_alias.ps1 searches O365 mailboxes for an defined alias
check_ad_trustrelationship.ps1 searches for clients with failed trust relationships
connecto365.ps1 connect to O365 powershell
lync_assigned_numbers.ps1 creates an html file with all assigned numbers in Lync server
ping_many2many.ps1 ping test from multiple servers to multiple servers
resetadpassword.ps1 reset AD user his password
send_notification.ps1 send a notification to remote computer
unlock_all_ad_users.ps1 unlock all locked domain users
unmount-esx.ps1 unmount all ISO’s from VM on Vsphere / ESX
user_leaves.ps1 reset password, disable user, move to ou and convert mailbox to shared mailbox for leaving user
w10_likeitshouldbe.ps1 modification to W10 to fit in an enterprise (disable telemetry, uninstall games, apps …)

Geef een antwoord

Het e-mailadres wordt niet gepubliceerd.