You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# I'm not really sure why we need the cmd.exe wrapper, but it works with it and doesn't work without it
23
+
cmd.exe/c winrm quickconfig -q
24
+
cmd.exe/c winrm set "winrm/config"'@{MaxTimeoutms="1800000"}'
25
+
cmd.exe/c winrm set "winrm/config/winrs"'@{MaxMemoryPerShellMB="1024"}'
26
+
cmd.exe/c winrm set "winrm/config/service"'@{AllowUnencrypted="true"}'
27
+
cmd.exe/c winrm set "winrm/config/client"'@{AllowUnencrypted="true"}'
28
+
cmd.exe/c winrm set "winrm/config/service/auth"'@{Basic="true"}'
29
+
cmd.exe/c winrm set "winrm/config/client/auth"'@{Basic="true"}'
30
+
cmd.exe/c winrm set "winrm/config/service/auth"'@{CredSSP="true"}'
31
+
cmd.exe/c winrm set "winrm/config/listener?Address=*+Transport=HTTPS""@{Port=`"5986`";Hostname=`"packer`";CertificateThumbprint=`"$($Cert.Thumbprint)`"}"
32
+
cmd.exe/c netsh advfirewall firewall set rule group="remote administration" new enable=yes
0 commit comments