September 2012
Intermediate to advanced
1680 pages
88h 3m
English
In PowerShell, a number of cmdlets can be used to manage services on a local machine, including the following:
• Get-Service—Used to gather service information from Windows
• New-Service—Used to create a new service in Windows
• Restart-Service—Used to restart services
• Resume-Service—Used to resume suspended services
• Set-Service—Used to modify service configurations
• Start-Service—Used to start services
• Stop-Service—Used to stop services
• Suspend-Service—Used to suspend services
When the Get-Service cmdlet is executed, it returns a collection of objects that contains information about all the services that are present on a Windows system. A representation of that object collection is then ...
Read now
Unlock full access