< Back

Set-PBIGroup

Sat Jan 18, 2020 8:43 pm

NAME Set-PBIGroup



SYNOPSIS

Set's the scope to the group specified, after execution all the following PowerBIPS cmdlets will execute over the

defined group.





SYNTAX

Set-PBIGroup [[-authToken] <String>] [[-id] <String>] [[-name] <String>] [-clear] [<CommonParameters>]





DESCRIPTION

Set's the scope to the group specified, after execution all the following PowerBIPS cmdlets will execute over the

defined group.





PARAMETERS

-authToken <String>

The authorization token required to communicate with the PowerBI APIs

Use 'Get-PBIAuthToken' to get the authorization token string



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-id <String>

The id of the group



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-name <String>

The name of the group



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-clear [<SwitchParameter>]

If $true then will clear the group and all the requests will be made to the default user workspace



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



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Set-PBIGroup -id "GUID"













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Set-PBIGroup -name "Group Name"















RELATED LINKS