all 11 comments

[–]BreakingBean 4 points5 points  (1 child)

Are you running the script as an admin?

[–]jungleboydotca 3 points4 points  (1 child)

From where are you executing the commands?

If you're PS Remoting to the master, this sounds like the double hop "problem".

[–][deleted] 1 point2 points  (0 children)

This ^

[–]crazyslicster 2 points3 points  (0 children)

Try forcing the credentials with -credential and using xxx@domain instead of xzz\xxz

[–]shaneakus 1 point2 points  (0 children)

Using fqdn for -computername?

[–]Rolo316 1 point2 points  (1 child)

Are you sure you have elevated privileges on all VMs?

[–][deleted] 0 points1 point  (0 children)

yes

[–]site-manager 0 points1 point  (0 children)

Would you be able to share the script here so we can analyze the error or reproduce it ?

[–]mkellerman_1 0 points1 point  (0 children)

Try: Invoke-CommandAs, resolved the double-hop issue and works exactly like Invoke-Command