Windows PowerShell Server Management Cmdlets

PowerShell cmdlets for managing Windows servers are built in to the PowerShell core and do not need to be loaded separately. In SharePoint environments, you can use them to control, for example, SharePoint Windows services, file systems, and so on.

The following command lists all SharePoint and ForeFront services currently stopped (ForeFront services are used to sync user accounts):

image

To start a service, type

Start-Service ("SharePoint 2010 Timer")

Get Microsoft SharePoint 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.