< Back

Get-ODWebContent

Sat Jan 18, 2020 6:04 pm

NAME Get-ODWebContent



SYNOPSIS





SYNTAX

Get-ODWebContent [-AccessToken] <String> [[-ResourceId] <String>] [[-rURI] <String>] [[-Method] <String>] [[-Body]

<String>] [-BinaryMode] [<CommonParameters>]





DESCRIPTION

Internal function to interact with the OneDrive API





PARAMETERS

-AccessToken <String>

A valid access token for bearer authorization.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ResourceId <String>

Mandatory for OneDrive 4 Business access. Is the ressource URI: "https://<tenant>-my.sharepoint.com/".

Example: "https://sepagogmbh-my.sharepoint.com/"



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-rURI <String>

Relative path to the API.



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Method <String>

Webrequest method like PUT, GET, ...



Required? false

Position? 4

Default value GET

Accept pipeline input? false

Accept wildcard characters? false



-Body <String>

Payload of a webrequest.



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-BinaryMode [<SwitchParameter>]

Do not convert response to JSON.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





Author: Marcel Meurer, marcel.meurer@sepago.de, Twitter: MarcelMeurer





RELATED LINKS