Correct case of $PSHOME special variable

This commit is contained in:
xtqqczze
2020-01-13 19:35:33 +00:00
parent 2782b73e37
commit e0d2e2aade
28 changed files with 58 additions and 58 deletions
@@ -330,7 +330,7 @@ function Test-CanWriteToPsHome
$script:CanWriteToPsHome = $true
try {
$testFileName = Join-Path $PSHome (New-Guid).Guid
$testFileName = Join-Path $PSHOME (New-Guid).Guid
$null = New-Item -ItemType File -Path $testFileName -ErrorAction Stop
}
catch [System.UnauthorizedAccessException] {