You are not logged in.

#1 04 Mar 2009 14:57

hd-fatboy
Member
Registered: 03 Mar 2009
Posts: 3

Restart-Service

By using the Restart-Service command is it possible to use this on a remote computer? If so, could someone give me an example?

Thank you.

Offline

#2 04 Mar 2009 19:02

Simon Sheppard
Admin
Registered: 27 Aug 2005
Posts: 1,130
Website

Re: Restart-Service

Remote activation for most commands wont be available until powershell v2 comes out (probably later this year)

Until then you can start/stop services remotely via WMI - see this page for examples
http://ss64.com/ps/get-wmiobject.html

Offline

#3 05 Mar 2009 22:55

hd-fatboy
Member
Registered: 03 Mar 2009
Posts: 3

Re: Restart-Service

Currently I have Windows PowerShell V2 (CTP3). So, more commands will be included?

Offline

Board footer

Powered by