Skip to content

Commit

Permalink
Merge pull request #64 from MicrosoftDocs/CattieCat/docUpdate1026
Browse files Browse the repository at this point in the history
Add -Type to Get-PowerBIWorkspace
  • Loading branch information
CattieCat authored Oct 28, 2021
2 parents c7099ab + 1a70cd5 commit 6572f7d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
24 changes: 20 additions & 4 deletions powerbi-ps/MicrosoftPowerBIMgmt.Workspaces/Get-PowerBIWorkspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@ Returns a list of Power BI workspaces.

### List (Default)
```
Get-PowerBIWorkspace [-Scope <PowerBIUserScope>] [-Filter <String>] [-User <String>] [-Deleted] [-Orphaned]
Get-PowerBIWorkspace [-Scope <PowerBIUserScope>] [-Filter <String>] [-User <String>] [-Deleted] [-Orphaned] [-Type <WorkspaceType>]
[-First <Int32>] [-Skip <Int32>] [-Include <ArtifactType[]>] [<CommonParameters>]
```

### Id
```
Get-PowerBIWorkspace -Id <Guid> [-Scope <PowerBIUserScope>] [-Include <ArtifactType[]>] [<CommonParameters>]
Get-PowerBIWorkspace -Id <Guid> [-Scope <PowerBIUserScope>] [-Type <WorkspaceType>] [-Include <ArtifactType[]>] [<CommonParameters>]
```

### Name
```
Get-PowerBIWorkspace -Name <String> [-Scope <PowerBIUserScope>] [-Include <ArtifactType[]>]
Get-PowerBIWorkspace -Name <String> [-Scope <PowerBIUserScope>] [-Type <WorkspaceType>] [-Include <ArtifactType[]>]
[<CommonParameters>]
```

### All
```
Get-PowerBIWorkspace [-Scope <PowerBIUserScope>] [-Filter <String>] [-User <String>] [-Deleted] [-Orphaned]
Get-PowerBIWorkspace [-Scope <PowerBIUserScope>] [-Filter <String>] [-User <String>] [-Deleted] [-Orphaned] [-Type <WorkspaceType>]
[-Include <ArtifactType[]>] [-All] [<CommonParameters>]
```

Expand Down Expand Up @@ -209,6 +209,22 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -Type
Type of the workspace to return. Case sensitive search.
```yaml
Type: WorkspaceType
Parameter Sets: List, Name, Id, All
Aliases:
Accepted values: Workspace, Group, PersonalGroup

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -Skip
Skips the first set of results.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Restore-PowerBIWorkspace [-Scope <PowerBIUserScope>] [-RestoredName <String>] -A

## DESCRIPTION
Restores a deleted Power BI workspace with the owner set to the user that matches the specified email address.
Only workspaces in the new workspace experiences preview are supported and only deleted workspaces that haven't reached the data retention policy to be completely removed.
Only workspaces in the new workspace experiences are supported and only deleted workspaces that haven't reached the data retention policy to be completely removed.
Only -Scope Organization is supported and you must have administrator rights (such as Office 365 Global Administrator or Power BI Service Administrator) to call this command.
You must have logged in previously before using Connect-PowerBIServiceAccount.

Expand Down

0 comments on commit 6572f7d

Please sign in to comment.