Test-Path returns differetn results in 64Bit and 32Bit powershell
Posted
by
StarSpace
on Server Fault
See other posts from Server Fault
or by StarSpace
Published on 2012-05-31T09:55:40Z
Indexed on
2012/05/31
10:43 UTC
Read the original article
Hit count: 192
powershell
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
Any Idea?
© Server Fault or respective owner