Tuesday, 26 November 2013

Getting service status on Local and remote servers

If you want to know the status of Particular service on local and Remote Servers use below Powershell cmdlets

On Local
PS C:\> Get-Service -Name spooler
Status   Name               DisplayName
------   ----               -----------
Running  spooler            Print Spooler
for remote servers

 PS C:\> Get-Service -Name spooler -ComputerName INDDC
Status   Name               DisplayName
------   ----               -----------
Running  spooler            Print Spooler

No comments:

Post a Comment

Powershell function to get theremote server IP details,Subnetmask,Gateway,DHCP Enabled status,DNS Servers,Wins and Macaddress

#Powershell function to get theremote server IP details,Subnetmask,Gateway,DHCP Enabled status,DNS Servers,Wins and Macaddress # use...