If you want to retrieve information about an exchange server you can use the GET-EXCHANGESERVER commandlet. This will retrieve information like the computer name, OU location, site name etc etc. The syntax of the command is: SYNTAX Get-ExchangeServer [-Identity <ServerIdParameter>] [-DomainController <Fqdn >] [-Status <SwitchParameter>] [<CommonParameters>] Get-ExchangeServer -Domain <Fqdn> [-DomainController <Fqdn>] [-Status …
Category: Powershell
Retrieve time zone information through Powershell
For this we can use get-wmiobject to query WMI: get-wmiobject -class win32_timezone | format-list Bias : 0 SettingID : Caption : (GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London
Managing AD with Powershell
Windows Server 2008 R2 gives us the ability to manage Active Directory with Powershell. Here is a really nice poster for all the powershell commandlets for AD downloaded from here: http://blogs.msdn.com/adpowershell/archive/2009/03/05/active-directory-powershell-overview.aspx