< Back

Invoke-PBIRequest

Sat Jan 18, 2020 8:42 pm

NAME Invoke-PBIRequest



SYNOPSIS

Invoke a raw PBI Post/Get





SYNTAX

Invoke-PBIRequest [[-authToken] <String>] [-resource] <String> [[-method] <String>] [[-body] <Object>] [[-scope]

<String>] [[-contentType] <String>] [[-timeoutSec] <Int32>] [[-outFile] <String>] [[-groupId] <String>]

[-ignoreGroup] [-admin] [[-odataParams] <String>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-authToken <String>



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-resource <String>



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-method <String>



Required? false

Position? 3

Default value Get

Accept pipeline input? false

Accept wildcard characters? false



-body <Object>



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-scope <String>



Required? false

Position? 5

Default value Individual

Accept pipeline input? false

Accept wildcard characters? false



-contentType <String>



Required? false

Position? 6

Default value application/json

Accept pipeline input? false

Accept wildcard characters? false



-timeoutSec <Int32>



Required? false

Position? 7

Default value 240

Accept pipeline input? false

Accept wildcard characters? false



-outFile <String>



Required? false

Position? 8

Default value

Accept pipeline input? false

Accept wildcard characters? false



-groupId <String>



Required? false

Position? 9

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ignoreGroup [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-admin [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-odataParams <String>



Required? false

Position? 10

Default value

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





RELATED LINKS