Correct case of $PID special variable

This commit is contained in:
xtqqczze
2020-01-13 19:34:38 +00:00
parent b5326a8488
commit 225164037f
17 changed files with 52 additions and 52 deletions
@@ -16,7 +16,7 @@ Describe "Tests Debugger GetCallStack() on runspaces when attached to a WinRM ho
# Get WinRM host process id
[powershell] $ps = [powershell]::Create()
$ps.Runspace = $rs
$result = $ps.AddScript('$pid').Invoke()
$result = $ps.AddScript('$PID').Invoke()
It "Verifies the WinRM host process Id was found" {
$result | Should -Not -BeNullOrEmpty
($result.Count -eq 1) | Should -BeTrue