Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Get-Content -Path "\\REMOTE_AWS_MACHINE\c$\App_configuration.txt"
- Get-Content : Cannot find path '\\REMOTE_AWS_MACHINE\c$\App_configuration.txt' because it does not exist.
- At line:1 char:1
- + Get-Content -Path "\\REMOTE_AWS_MACHINE\c$\App_configuration.txt"
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : ObjectNotFound: (\\SRV1.jokefire...nfiguration.txt:String) [Get-Content], ItemNotFoundException
- + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
- Invoke-Command -ComputerName REMOTE_AWS_MACHINE -ScriptBlock { COMMAND } -credential Administrator
- [REMOTE_AWS_MACHINE] Connecting to remote server REMOTE_AWS_MACHINE failed with the following error message : The WinRM client cannot process the request. If the
- authentication scheme is different from Kerberos, or if the client computer is not joined to a domain, then HTTPS transport must be used or the destination machine
- must be added to the TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be
- authenticated. You can get more information about that by running the following command: winrm help config. For more information, see the
- about_Remote_Troubleshooting Help topic.
- + CategoryInfo : OpenError: (REMOTE_AWS_MACHINE:String) [], PSRemotingTransportException
- + FullyQualifiedErrorId : ServerNotTrusted,PSSessionStateBroken
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement