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
&gt;test-path HKLM:\SOFTWARE\Citrix\ProvisioningServices
True

32Bit Powershell(x86)
&gt;test-path HKLM:\SOFTWARE\Citrix\ProvisioningServices
False


Any Idea?


Question: Is it possible to compress and obfuscate Javascript code on a fly?
Answer: You can use minify, which is based on Yahoo's YUI-Compressor.


  It combines multiple CSS or Javascript
  files, removes unnecessary whitespace
  and comments, and serves them with
  gzip encoding and optimal client-side
  cache headers.


To get obfuscation, you can set nomunge =&gt; false