The variable $uppercase_cert_thumbprint cannot be retrieved because it has not been set.

pull/4420/head
Matt Calhoun 2015-09-29 16:40:22 -04:00 committed by Matt Clay
parent a9d954b087
commit 52f9c3468c
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ $winrm_https_listener_parent_path = Get-ChildItem -Path WSMan:\localhost\Listene
$winrm_https_listener_path = $null
$https_listener = $null
$winrm_cert_thumbprint = $null
$uppercase_cert_thumbprint = $null
if ($winrm_https_listener_parent_path ) {
$winrm_https_listener_path = $winrm_https_listener_parent_path.PSParentPath.Substring($winrm_https_listener_parent_path.PSParentPath.LastIndexOf("\"))