With more than 300 cmdlets available to manage your Exchange 2007 environment, you might be looking for some example usages of cmdlets. When you use the built-in PowerShell cmdlet Get-Help you can request information about a certain cmdlet, and when you include the parameter -examples, you will be given a few example usages of the given cmdlet.
PS C:\> get-help New-Service -examples
NAME
New-Service
SYNOPSIS
Creates a new entry for a Windows Service in the registry and the Service D
atabase.
————————– EXAMPLE 1 ————————–
C:\PS>new-service testservice "C:\WINDOWS\System32\svchost.exe -k netsvcs"
This command creates a new entry in the registry and Service Database for a
service named "testservice".