Skip to content

Instantly share code, notes, and snippets.

@altrive
Created March 15, 2014 16:20
Show Gist options
  • Save altrive/9569866 to your computer and use it in GitHub Desktop.
Save altrive/9569866 to your computer and use it in GitHub Desktop.
$stream = $null
try
{
$stream = [IO.File]::Open($packagePath, [IO.FileMode]::Create)
#$builder.Save($stream);
}
finally
{
if ($stream -ne $null)
{
$stream.Dispose()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment