Server Manager Tasks Cmdlets in Windows PowerShell
Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.
Server Manager Tasks Cmdlets
This reference provides cmdlet descriptions and syntax for all Server Manager Tasks cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.
Cmdlet | Description |
---|---|
Gets performance counter samples for a particular time stamp. |
|
Gets the state of the performance data collector set. |
|
To retrieve BPA results, use the Get-BpaResult cmdlet instead of this cmdlet. |
|
Retrieves the name of a server cluster. |
|
Gets the details of events generated in one or more event logs by log file name or event query. |
|
Gets the server features on a target server. |
|
Gets the basic inventory information of a server. |
|
Gets the status of Win32 services on a target server. |
|
Removes Server Manager performance log files. |
|
Starts a data collector set. |
|
Stops a data collector set. |
Примечание
To list all the cmdlets that are available, use the Get-Command –Module ServerManangerTasks
cmdlet.
For more information about, or for the syntax of, any of the cmdlets, use the Get-Help
<cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:
● Get-Help
<cmdlet name> -Detailed
● Get-Help
<cmdlet name> -Examples
● Get-Help
<cmdlet name> -Full
More Information
For more information about Server Manager, see the following: