InterviewSolution
Saved Bookmarks
| 1. |
Tell about PowerShell’s Get-ServiceStatus function? |
|
Answer» The functions of Get-ServiceStatus allow filtering of window services. PowerShell documents the services that are both ‘Running’, and ‘Stopped’ during scripting. By default, when Get-Service is operated without parameters, all the local computer's services are returned. You can control this cmdlet to obtain only certain services by selecting the service name or the display name of the services, or you can PIPE service objects to this cmdlet.
|
|