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

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

c# - Pausing a storyboard on TabItem mouse over -

c# - Attribute value in root node of xml Linq to XML -