Hi, I created PowerShell script to remove and add boot.wim in remote servers. The script works fine if I run it in single server and it works fine if I use batch script to execute powershell in remote server but if I use default stuff of WDSUTIL or get-wdsbootimage command to execute on remote server it doesn't work. I did following steps to find out reason.
- I have full administrator access on remote server
- I used powershell in administrator mode
- WinrRM service is runninng on remote server
- I tried to execute script using Enter-Pssession to try execute remotely
- Tried with WDSUTIL and WDS modeul command also
- Tried with Invoke-command