Skip to content

Commit

Permalink
Merge pull request #45 from MicrosoftDocs/vsts/Release-47
Browse files Browse the repository at this point in the history
VSTS release definition [powerbi-powershell] with name [Release-47] a…
  • Loading branch information
CodeCyclone authored Feb 4, 2020
2 parents a09f880 + 6a8f509 commit 37d1405
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
---
external help file: Microsoft.PowerBI.Commands.Profile.dll-Help.xml
Module Name: MicrosoftPowerBIMgmt.Profile
online version: https://docs.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.profile/connect-powerbiserviceaccount?view=powerbi-ps
Expand Down
32 changes: 28 additions & 4 deletions powerbi-ps/MicrosoftPowerBIMgmt.Workspaces/Get-PowerBIWorkspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,24 @@ Returns a list of Power BI workspaces.
### List (Default)
```
Get-PowerBIWorkspace [-Scope <PowerBIUserScope>] [-Filter <String>] [-User <String>] [-Deleted] [-Orphaned]
[-First <Int32>] [-Skip <Int32>] [<CommonParameters>]
[-First <Int32>] [-Skip <Int32>] [-Include <ArtifactType[]>] [<CommonParameters>]
```

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

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

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

## DESCRIPTION
Expand Down Expand Up @@ -62,6 +63,13 @@ PS C:\> Get-PowerBIWorkspace -Scope Organization -Filter "tolower(name) eq 'cont

Returns a workspace named 'Contoso Sales' (case insensitive with tolower) within the user's organization.

### Example 3
```powershell
PS C:\> Get-PowerBIWorkspace -Scope Organization -Include All
```

Returns all Power BI workspaces along with related reports, dashboards, datasets, dataflows and workbooks within the user's organization.

## PARAMETERS

### -All
Expand Down Expand Up @@ -139,6 +147,22 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -Include
Retrieves related artifacts associated with the Power BI workspace. Only available when -Scope is Organization.
```yaml
Type: ArtifactType[]
Parameter Sets: (All)
Aliases: Expand
Accepted values: Reports, Dashboards, Datasets, Dataflows, Workbooks, All

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -Name
Name of the workspace to return if one exists with that name. Case insensitive search.
Expand Down

0 comments on commit 37d1405

Please sign in to comment.