Strait from the text book. Cannot run Note Pad on remote computer.
hi i new ps can tell. have been beating head against wall trying executable run remotely on machine load sw using powershell. have had no luck, so i dug windows powershell best practices , found exact script have been working with, script run notepad on remote computer.
$wmireturn = ([wmiclass]"\\remotemachine\root\cimv2:win32_process").create("notepad")
this script not run notepad on remote computer. on local machine. can give me possible reasons why? have full admin rights on machines in our environment , can access these machine remotely. i have ran script on several machines delete folder, know powershell scripts run in our environment. leads me believe the problem having must have script. if can notepad run on remote machine. more can executable run.
thanks! steve
capperdog
works fine* in tests - note yo8u have run task manager , in processes see notepad.exe running
*fine subjective term, realize isn't looking - let me work on :)
karl
http://unlockpowershell.wordpress.com
-join("6b61726c6d69747363686b65406d742e6e6574"-split"(?<=\g.{2})",19|%{[char][int]"0x$_"})
Windows Server > Windows PowerShell
Comments
Post a Comment