Server Manager Tasks Cmdlets in Windows PowerShell

Mis à jour: septembre 2015

S'applique à: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Windows PowerShell® est un interpréteur en ligne de commande et un langage de script basé sur des tâches, conçu spécialement pour l’administration système. Cette rubrique de référence pour les informaticiens fournit une assistance sur l’utilisation des applets de commande Windows PowerShell pour écrire des scripts et automatiser des tâches.

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.

Notes

To list all the cmdlets that are available, use the Get-Command –Module ServerManagerTasks cmdlet.

Pour plus d’informations sur les applets de commande ou leur syntaxe, utilisez l’applet de commande Get-Help <nom de l’applet de commande>, où <nom de l’applet de commande> est le nom de l’applet de commande que vous voulez rechercher. Pour plus d’informations, vous pouvez exécuter les applets de commande suivantes :

Get-Help <nom de l’applet de commande> -Detailed
Get-Help <nom de l’applet de commande> -Examples
Get-Help <nom de l’applet de commande> -Full

More Information

For more information about Server Manager, see the following: