18 February,2016 by Tom Collins
Question: How can I get a list of services on a remote Windows server using Powershell?
I'm using the Powershell cmdlet Get-Service and can return the list of Windows Services on the existing server.
I want to use a method without relying on enabling Powershell Remoting services.
Answer: It is possible to access a list of Windows Services remotely using get-service.
There's a good example in the Get-Help . The Get-help section is a great way to learn more about Powershell. I would argue it's one of the best help guides I've ever seen with a product. Read on other cmdlets which will improve your Powershell brain Expand your Powershell mind – Three key cmdlets
This is an example of accessing Windows services on a remote server , without having to enable Powershell remoting
Get-Service -computername MY_REMOTE_SERVER_NAME
To get more details on Powershell cmdlet , from your Powershell command line
Get-Help Get-Service
To see loads of examples of Powershell Get-Service
get-help Get-Service -examples
Hours of fun!
Check for more Powershell Scripts
This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Posted by: |