Skip to content

Instantly share code, notes, and snippets.

@janegilring
Created February 29, 2020 14:23
Show Gist options
  • Save janegilring/a96a577d1ebc8602044e060f7b8f548d to your computer and use it in GitHub Desktop.
Save janegilring/a96a577d1ebc8602044e060f7b8f548d to your computer and use it in GitHub Desktop.
Example on getting started with the Power BI PowerShell module
Install-Module -Name MicrosoftPowerBIMgmt -Scope CurrentUser
$Credential = Get-Credential
Connect-PowerBIServiceAccount -Credential $Credential
$Workspace = Get-PowerBIWorkspace -Name 'HR Data'
Get-PowerBIDataset -Workspace $Workspace | ft name,ConfiguredBy,IsRefreshable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment