Export (0) Print
Expand All

Server Manager Tasks Cmdlets in Windows PowerShell

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

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 Configuration cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

 

Cmdlet Description

Get-SMCounterSample

Gets performance counter samples for a particular time stamp.

Get-SMPerformanceCollector

Gets the state of the performance data collector set.

Get-SMServerBpaResult

Gets the results of the Best Practices Analyzer. NOTE: To retrieve BPA results, we recommend that you use the Get-BpaResult cmdlet instead of this cmdlet.

Get-SMServerClusterName

Gets the name of a server cluster. A server cluster is a group of computers that work together as a single resource.

Get-SMServerEvent

Gets the details of events generated in an event log by a particular source.

Get-SMServerFeature

Gets the server features on a managed node.

Get-SMServerInventory

Gets the basic inventory information of a server.

Get-SMServerService

Gets the status of Win32 services on a managed node.

Remove-SMServerPerformanceLog

Removes Server Manager performance log files.

Start-SMPerformanceCollector

Starts a data collector set.

Stop-SMPerformanceCollector

Stops a data collector set.

noteNote
To list all the cmdlets that are available, use the Get-Command –Module ServerManagerTasks 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:

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft