To view Exchange Administrators with powershell we can use the get-exchangeadministrator commandlet. This will tell me the current exchange administrator groups in the domain. Example below is: [PS] C:\Windows\system32>get-exchangeadministrator | format-list Identity : EXCHANGELAB.LOCAL/Users/Administrator Scope : Organization wide Role : OrgAdmin Identity : EXCHANGELAB.LOCAL/Microsoft Exchange Security Groups/Exchange Organi zation Administrators Scope : Organization wide [...]
Archive for the ‘Powershell’ Category
Managing Exchange Administrators with Powershell
Posted: 5th January 2010 by neil in Exchange Server 2007, Powershell0
Retrieve information about an Exchange 2007 Server
Posted: 5th January 2010 by neil in Exchange Server 2007, PowershellIf 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 [...]
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