Remote Desktop Services Slideshow

  1. $cs = Get-WmiObject -Class Win32_Service -ComputerName thanhan-pc 
  2. foreach($item in $cs
  3.     $item.Name
  4.     if ($item.Name -match "wamp"
  5.     
  6.         #$item.StartService(); 
  7.         $item.StopService() 
  8.     
 
Loading...
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.