on-internet
← Community

Invoke-command localhost Access Denied

Stack Overflow ·

When Trying to invoke-Command against the Local Host I get access denied. I have confirmed that PS remoting is enabled and the account is Administrator. Additionally Remoting in from remote machine works without issue. Invoke-Command -computername LocalHost -scriptblock {hostname} I expect to have the hostname of the local machine returned, however I receive Access denied Errors.

Comments

Sign in or sign up to comment and upvote.

No comments yet.