Linux Diary
Major Pages
Home
Python
Docker
Jenkins
Vagrant
Packer
SCCM
Windows
Application Packaging/RePackaging for Windows
Gradle
Android
Ant
Interview Questions
Powershell
C#/c sharp
Database
Maven
MSBuild
AWS
Kubernetes
Ansible
Linux and Artifactory
C++
Wednesday, August 5, 2020
Add machine to trusted hosts for ps remoting
enter-pssession <mahinename> -credential $(get-credential)
If we get any trusted hosts error, then use below command to add remote machine to trusted hosts list.
set-item wsman:\localhost\Client\TrustedHosts -Concatenate -Value <machinename>
Ref
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment