PowerShell Scripts Notes
PowerShell Scripts Notes
Also ensure that port number 5985 should be open on remote computer.
Command to Execute Script.
PSSession Invoke-Command
‘Use WinRM’
1. Enable-WinRM Quickconfig
Yes
2. Enable-PSRemoting –Force
Use