From c5255af73219d8de8b7ba372f8dbcac1d402e928 Mon Sep 17 00:00:00 2001 From: CattieCat Date: Tue, 26 Oct 2021 21:17:30 +0000 Subject: [PATCH 1/2] Add -Type to Get-PowerBIWorkspace --- .../Get-PowerBIWorkspace.md | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/powerbi-ps/MicrosoftPowerBIMgmt.Workspaces/Get-PowerBIWorkspace.md b/powerbi-ps/MicrosoftPowerBIMgmt.Workspaces/Get-PowerBIWorkspace.md index cdc6cb8..3ec7f0d 100644 --- a/powerbi-ps/MicrosoftPowerBIMgmt.Workspaces/Get-PowerBIWorkspace.md +++ b/powerbi-ps/MicrosoftPowerBIMgmt.Workspaces/Get-PowerBIWorkspace.md @@ -14,24 +14,24 @@ Returns a list of Power BI workspaces. ### List (Default) ``` -Get-PowerBIWorkspace [-Scope ] [-Filter ] [-User ] [-Deleted] [-Orphaned] +Get-PowerBIWorkspace [-Scope ] [-Filter ] [-User ] [-Deleted] [-Orphaned] [-Type ] [-First ] [-Skip ] [-Include ] [] ``` ### Id ``` -Get-PowerBIWorkspace -Id [-Scope ] [-Include ] [] +Get-PowerBIWorkspace -Id [-Scope ] [-Type ] [-Include ] [] ``` ### Name ``` -Get-PowerBIWorkspace -Name [-Scope ] [-Include ] +Get-PowerBIWorkspace -Name [-Scope ] [-Type ] [-Include ] [] ``` ### All ``` -Get-PowerBIWorkspace [-Scope ] [-Filter ] [-User ] [-Deleted] [-Orphaned] +Get-PowerBIWorkspace [-Scope ] [-Filter ] [-User ] [-Deleted] [-Orphaned] [-Type ] [-Include ] [-All] [] ``` @@ -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. From 1a70cd56775656edaf8672a9b33bbc26324a0028 Mon Sep 17 00:00:00 2001 From: CattieCat Date: Tue, 26 Oct 2021 21:27:04 +0000 Subject: [PATCH 2/2] Fix outdated "Preview" for Restore-PowerBIWorkspace --- .../MicrosoftPowerBIMgmt.Workspaces/Restore-PowerBIWorkspace.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerbi-ps/MicrosoftPowerBIMgmt.Workspaces/Restore-PowerBIWorkspace.md b/powerbi-ps/MicrosoftPowerBIMgmt.Workspaces/Restore-PowerBIWorkspace.md index c780e79..867a18e 100644 --- a/powerbi-ps/MicrosoftPowerBIMgmt.Workspaces/Restore-PowerBIWorkspace.md +++ b/powerbi-ps/MicrosoftPowerBIMgmt.Workspaces/Restore-PowerBIWorkspace.md @@ -26,7 +26,7 @@ Restore-PowerBIWorkspace [-Scope ] [-RestoredName ] -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.