< Back

Set-PowerBIDataset

Sat Jan 18, 2020 4:13 pm

NAME Set-PowerBIDataset



SYNOPSIS

Updates the properties for the specified Power BI dataset.





SYNTAX

Set-PowerBIDataset -Id <Guid> -TargetStorageMode {Abf | PremiumFiles} [-WorkspaceId <Guid>] [<CommonParameters>]



Set-PowerBIDataset -Id <Guid> -TargetStorageMode {Abf | PremiumFiles} [-Workspace <Workspace>] [<CommonParameters>]



Set-PowerBIDataset -Name <String> -TargetStorageMode {Abf | PremiumFiles} [-WorkspaceId <Guid>]

[<CommonParameters>]



Set-PowerBIDataset -Name <String> -TargetStorageMode {Abf | PremiumFiles} [-Workspace <Workspace>]

[<CommonParameters>]





DESCRIPTION

Updates the properties for the specified Power BI dataset. Before you run this command, make sure you log in using

Connect-PowerBIServiceAccount.





PARAMETERS

-Id <Guid>

ID of the dataset



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Name of the dataset



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-TargetStorageMode <DatasetStorageMode>

Target storage mode of the dataset



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Workspace <Workspace>

Workspace containing the dataset



Required? false

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-WorkspaceId <Guid>

ID of the workspace containing the dataset



Required? false

Position? named

Default value None

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

System.String

Microsoft.PowerBI.Common.Api.Workspaces.Workspace





OUTPUTS

Microsoft.PowerBI.Common.Api.Datasets.Dataset







NOTES









-------------------------- Example 1 --------------------------



PS C:\\> Set-PowerBIDataset -Id c47f6cff-70de-4837-a094-93a6f26e20bf -TargetStorageMode PremiumFiles



Updates the specified datset with target storage mode PremiumFiles.



RELATED LINKS