Skip to content

Instantly share code, notes, and snippets.

@hotgazpacho
Created April 26, 2013 13:36
Show Gist options
  • Save hotgazpacho/5467420 to your computer and use it in GitHub Desktop.
Save hotgazpacho/5467420 to your computer and use it in GitHub Desktop.
WTF, PowerShell?
C:\Users\will> Get-PoshCode 2493
Set-DownloadFlag : Cannot process argument transformation on parameter 'Zone'. Cannot convert the
"<System.Security.Policy.Zone version="1">
<Zone>Internet</Zone>
</System.Security.Policy.Zone>
" value of type "System.Security.Policy.Zone" to type "System.Security.SecurityZone".
At C:\Users\will\Documents\WindowsPowerShell\Modules\PoshCode\PoshCode.psm1:311 char:66
+ Get-WebFile "$($url)?dl=$id" | ConvertTo-Module | Set-DownloadFla ...
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Set-DownloadFlag], ParameterBindingArgumentTransformationException
+ FullyQualifiedErrorId : ParameterArgumentTransformationError,Set-DownloadFlag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment