We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72dd582 commit 292b780Copy full SHA for 292b780
SetupClientWinRMCertificateAuth.ps1
@@ -5,8 +5,8 @@ $ErrorActionPreference = "Stop"
5
#& winrm set winrm/config/client/auth `@`{Certificate=`"true`"`}
6
7
$remote_host = "192.168.209.134"
8
-$host_cacert_path = "C:\ca_winrm.pem"
9
-$client_cert_pfx = "C:\cert.pfx"
+$host_cacert_path = "$(pwd)\ca_winrm.pem"
+$client_cert_pfx = "$(pwd)\cert.pfx"
10
$client_cert_pfx_password = "Passw0rd"
11
12
# Get the user's personal certificate store
0 commit comments