I am developing a script which should run under 64 and 32Bit Powershell. Unfortunately it seems that
Test-Path return different results in 64 and 32 Environment. Both sessions are running under same user, this user has full access on specific registry key.
64Bit Powershell >test-path HKLM:\SOFTWARE\Citrix\ProvisioningServices True 32Bit Powershell(x86) >test-path HKLM:\SOFTWARE\Citrix\ProvisioningServices False