Month: January 2010

Scripting

Powershell alias

CommandType     Name                                                Definition ———–     —-                                                ———- Alias           %                                                   ForEach-Object Alias           ?                                                   Where-Object Alias           ac                                                  Add-Content Alias           asnp                                                Add-PSSnapIn Alias           cat                                                 Get-Content Alias           cd                                                  Set-Location Alias           chdir                                               Set-Location Alias           clc                                                 Clear-Content Alias           clear                                               Clear-Host Alias           clhy                                                Clear-History Alias           cli                                                 Clear-Item Alias           clp                                                 Clear-ItemProperty Alias           cls                                                 Clear-Host Alias           clv                                                 Clear-Variable Alias           compare                                             Compare-Object Alias           copy                                                Copy-Item Alias           …

Powershell

Managing Exchange Administrators with Powershell

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 …

Powershell

Retrieve information about an Exchange 2007 Server

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 …

Windows Server 2008

January 2010 TechNet magazine is online

http://technet.microsoft.com/en-us/magazine/default.aspx Editor’s Note: Choose your Upgrade Let’s talk about upgrade plans! Windows 7 is undoubtedly one of the most polished Microsoft client OSes to hit the market in years. by Jeff James System Center Configuration Manager: SQL Server Reporting Services and System Center Configuration Manager Combining SQL Server Reporting Services with System Center Configuration Manager …

Active Directory

Preparing Active Directory for Exchange 2007 installation

To prepare an Active Directory domain for an Exchange 2007 installation we have to perform a number of steps before we go ahead with the installation. 1) Prepare the Schema This must be run on the Schema Master in the forest and you must also be a member of schema admins to run. D:\>setup /prepareschema …