We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a0c20b commit c6ba389Copy full SHA for c6ba389
SetupWinRMAccessSelfSigned.ps1
@@ -2,6 +2,11 @@ $ErrorActionPreference = "Stop"
2
3
Import-Module BitsTransfer
4
5
+if($PSVersionTable.PSVersion.Major -lt 4) {
6
+ $scriptPath = split-path -parent $MyInvocation.MyCommand.Definition
7
+ . "$scriptPath\GetFileHash.ps1"
8
+}
9
+
10
$opensslPath = "$ENV:HOMEDRIVE\OpenSSL-Win32"
11
12
function VerifyHash($filename, $expectedHash) {
0 commit comments