powershell - How can I pass a variable using psexec? -
i trying pass variable server name use psexec, have variable $hostname , i'd do
psexec \\$hostname
when getting error. correct way this?
you need give psexec
run, e.g. cmd
or powershell
.
Comments
Post a Comment