This script was found on the following site and very useful for me when consolidating an Active Directory forest: https://nidhinck.wordpress.com/2013/07/23/find-empty-groups-in-active-directory-using-powershell-script/ The script can be run from a normal Powershell window or with the Windows Powershell with AD Modules installed already (If you are using the AD Shell please delete the first line of this script) […]

Read More

This is a script to show the uptime of a VM in the Virtual estate. I have put a few different variations of this Script to meet the needs I had. The script below has is the original script I found on the following site: http://vmware-scripts.blogspot.co.uk/2012/08/script-to-get-uptime-of-each-vm-in.html $LastBootProp = @{   Name = ‘LastBootTime’     Expression […]

Read More

Format-List is a very useful command throughout the Powershell based applications which I use every day. لعبة الدومينو الامريكية Command | Format-List This command gives you a list of all the attributes against the object you run it against. This is extremely useful if you are unsure on an attribute, see my example below where I want to know […]

Read More

Get-Member is a very useful command throughout the Powershell based applications which I use every day. اسرار البلاك جاك Command | Get-Member This command gives you a list of all the attributes against the method type and the definition. This is extremely useful if you are unsure on an attribute, see my example below where I want to […]

Read More