Important PowerShell commands


1. List All Running Services:
 PS >Get-Service
with parameter:
 PS >Get-Service | Where-Object { $_.Status -eq "Running" }
more with parameters:
Get-Service [[-Name] <String[]> ] [-ComputerName <String[]> ] [-DependentServices] [-Exclude <String[]> ] [-Include <String[]> ] [-RequiredServices] [ <CommonParameters>]


Source: https://technet.microsoft.com/en-us/library/hh849804.aspx



1. List All SharePoint Services Instances:
 PS >Get-SPServiceInstance
with parameters:
Get-SPServiceInstance -Server <SPServerPipeBind> [-All <SwitchParameter>] [-AssignmentCollection <SPAssignmentCollection>]


Source: https://technet.microsoft.com/en-us/library/ff607570.aspx

2. List

Comments

Popular posts from this blog

Configure SharePoint Server to use Office Online Server

PowerShell command to import Module and Get-ADUser

Configure Office Web Apps for SharePoint 2013