แก้ไข

แชร์ผ่าน


Set-PowerBIDataset

Updates the properties for the specified Power BI dataset.

Syntax

Set-PowerBIDataset
   -Id <Guid>
   -TargetStorageMode <DatasetStorageMode>
   [-WorkspaceId <Guid>]
   [<CommonParameters>]
Set-PowerBIDataset
   -Id <Guid>
   -TargetStorageMode <DatasetStorageMode>
   [-Workspace <Workspace>]
   [<CommonParameters>]
Set-PowerBIDataset
   -Name <String>
   -TargetStorageMode <DatasetStorageMode>
   [-WorkspaceId <Guid>]
   [<CommonParameters>]
Set-PowerBIDataset
   -Name <String>
   -TargetStorageMode <DatasetStorageMode>
   [-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.

Examples

Example 1

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

Updates the specified datset with target storage mode PremiumFiles.

Parameters

-Id

ID of the dataset

Type:Guid
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

Name of the dataset

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-TargetStorageMode

Target storage mode of the dataset

Type:DatasetStorageMode
Accepted values:Abf, PremiumFiles
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Workspace

Workspace containing the dataset

Type:Workspace
Aliases:Group
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-WorkspaceId

ID of the workspace containing the dataset

Type:Guid
Aliases:GroupId
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

System.String

Microsoft.PowerBI.Common.Api.Workspaces.Workspace

Outputs

Microsoft.PowerBI.Common.Api.Datasets.Dataset