< Back
Remove-PBIDataSet
Post
NAME Remove-PBIDataSet
SYNOPSIS
Delete a dataset from a workspace
SYNTAX
Remove-PBIDataSet [[-authToken] <String>] [-dataset] <Object> [[-groupId] <String>] [<CommonParameters>]
DESCRIPTION
Delete a dataset from a workspace
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
-dataset <Object>
A dataset object or id
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-groupId <String>
Id of the workspace
Required? false
Position? 3
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Remove-PBIDataSet -dataset "dataset id"
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-PBIDataset -name "DataSetName" | Remove-PBIDataSet
RELATED LINKS
SYNOPSIS
Delete a dataset from a workspace
SYNTAX
Remove-PBIDataSet [[-authToken] <String>] [-dataset] <Object> [[-groupId] <String>] [<CommonParameters>]
DESCRIPTION
Delete a dataset from a workspace
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
-dataset <Object>
A dataset object or id
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-groupId <String>
Id of the workspace
Required? false
Position? 3
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Remove-PBIDataSet -dataset "dataset id"
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-PBIDataset -name "DataSetName" | Remove-PBIDataSet
RELATED LINKS