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# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

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