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

Popular posts from this blog

c# - Pausing a storyboard on TabItem mouse over -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -

mongodb - Struggling to get ordered results from the last retrieved article, given array of elements to search in -