diff --git a/Windows/WinRM/install.ps1 b/Windows/WinRM/install.ps1 new file mode 100644 index 0000000..43cfbde --- /dev/null +++ b/Windows/WinRM/install.ps1 @@ -0,0 +1,13 @@ +# Enable WinRM on PC + +Make sure your ethernet is connected to a non public network type. +Windows 11 => open Settings => Network & Internet => Ethernet => switch to Private Network + +# Powershell commands (run as Administrator) + +```powershell +Set-Service WinRM -StartupType Automatic -PassThru +Start-Service WinRM -PassThru +winrm quickconfig +Set-Item WSMan:\localhost\Client\TrustedHosts -Value '10.0.0.0' +``` \ No newline at end of file