Getting Entity Content

If an entity supports a media content element, you can use the get-content provider cmdlet to fetch the media content.

This example saves the StudioShell NuGet package as a zip file:

> $bytes = get-content nuget:/packages/studioshell
> [io.file]::writeAllBytes( '', $bytes )

Last edited Jan 27, 2012 at 10:06 PM by beefarino, version 1


No comments yet.