Prev | Current Page 96 | Next

Joezer Cookey-Gam, Brendan Keane, Jeffrey Rosen, and Jonathan Runyon

"Professional Windows PowerShell for Exchange Server 2007 Service Pack 1"


Ending a process using Stop-Process may cause unexpected results. Use Stop-Process only after
confirming the process to be stopped is properly identified and the process cannot be stopped
programmatically.
Controlling Services
Administrators typically manage services from the Services administrative tool provided as part of a
basic Windows operating system installation. Windows PowerShell provides a host of cmdlets for
managing Windows services from the command line. Using these cmdlets you can confirm the current
status of services as well as start, stop, pause, and resume them.
To see a list of all services use the Get-Service cmdlet with no other arguments. On a typical
Exchange Server 2007 computer this can produce a list of more than 100 services. To display services in
which you are probably more interested, use the specific service name or wildcards to produce a list that
includes a particular keyword. For example, to see all services that include the word ??? Exchange, ??? use
the following command:
[PS] C:\ > Get-Service *exchange*
Status Name DisplayName
------ ---- -----------
Running MSExchangeADTop... Microsoft Exchange Active Directory...
Running MSExchangeAntis... Microsoft Exchange Anti-spam Update
Running MSExchangeEdgeSync Microsoft Exchange EdgeSync
Running MSExchangeFDS Microsoft Exchange File Distribution
Stopped MSExchangeImap4 Microsoft Exchange IMAP4
Running MSExchangeIS Microsoft Exchange Information Store
Running MSExchangeMailb.


Pages:
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
reklama białystok Katie Melua badania kierowców sennik siatki