Mounting OData Feeds

These instructions assume you have already imported the OData module into your PowerShell session. If not, please refer to Importing the Module.

To browse and search an OData feed using the OData PowerShell provider, you need to mount a new OData drive in your session using the new-psdrive PowerShell cmdlet. For example:

PS> new-psdrive -psprovider OData -name netflix -root ""
psprovider MUST be the string 'OData'
name is the name of the new PowerShell drive to which the OData feed will be associated
root is the URI of an OData feed

Last edited Jan 27, 2012 at 6:50 PM by beefarino, version 1


No comments yet.