Added windows agent
This commit is contained in:
11
misc/prepare-windows-agent
Normal file
11
misc/prepare-windows-agent
Normal file
@@ -0,0 +1,11 @@
|
||||
Ansible WindowsResumen:
|
||||
1) Poner el Windows de Red Publica a Privada
|
||||
2) winrm quickconfig -force
|
||||
3) winrm set winrm/config/service '@{AllowUnencrypted="true"}'
|
||||
4) winrm set winrm/config/auth '@{Basic="true"}'
|
||||
5) Set-Item -Path WSMan:\localhost\Service\AllowUnencrypted -Value $true
|
||||
6) Set-Item -Path WSMan:\localhost\Service\Auth\Basic -Value $true
|
||||
7) New-NetFirewallRule -Name "WinRM HTTP" -DisplayName "WinRM HTTP" -Enabled True -Direction Inbound -Protocol TCP -LocalPort 5985 -Action Allow
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user