PS /tmp> invoke-command -Computername tgcs010 {get-process} -credential administrator
PowerShell credential request
Enter your credentials.
Password for user administrator: ********
invoke-command : MI_RESULT_ACCESS_DENIED
At line:1 char:1
•invoke-command -Computername tgcs010 {get-process} -credential admini ...
•
•CategoryInfo : InvalidOperation: (:) [Invoke-Command], PSInvalidOperationException
•FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.InvokeCommandCommand
PS /tmp>
MY Version running on CENT OS 7.4
PS /tmp> $PSVersionTable
Name Value
PSVersion 6.0.0-rc.2
PSEdition Core
GitCommitId v6.0.0-rc.2
OS Linux 3.10.0-693.11.1.el7.x86_64 #1 SMP Mon D...
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
On my Windows 10 computer same command works
I domain joined the Cent OS server to my Windows Domain also.
What am I missing?
Thank you
try:
Open in new window
try again with your domain credentials.