Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions azure_jumpstart_arcbox/artifacts/ArcServersLogonScript.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,33 @@ $Shortcut.TargetPath = $LogsPath
$shortcut.WindowStyle = 3
$shortcut.Save()

# Create desktop shortcut for Power BI Dashboard (ITPro flavor only)
if ($Env:flavor -eq "ITPro") {

# Create Power Bi Report and Directory
if (-not (Test-Path $ArcBoxPBIDir)) {
New-Item -Path $ArcBoxPBIDir -ItemType Directory -Force
Write-Host "Created directory for Power BI Dashboard at $ArcBoxPBIDir"
} else {
Write-Host "Power BI Dashboard directory already exists at $ArcBoxPBIDir"
}

#Download Power BI dashboard from drops
Invoke-WebRequest ("https://github.com/Azure/arc_jumpstart_drops/raw/refs/heads/main/ui_dashboard_workbook/arc_pbi_dashboard/arc_insights_dashboard_jumpstart.pbit") -OutFile $ArcBoxPBIDir\ArcBoxDashboard.pbit

#Create shortcute for Power BI Dashboard
$PBIDashboardPath = "$ArcBoxPBIDir\ArcBoxDashboard.pbit"
if (Test-Path $PBIDashboardPath) {
$PBIShortcut = $WshShell.CreateShortcut("$Env:USERPROFILE\Desktop\ArcBox Power BI Dashboard.lnk")
$PBIShortcut.TargetPath = $PBIDashboardPath
$PBIShortcut.WindowStyle = 1
$PBIShortcut.Save()
Write-Host "Created desktop shortcut for Power BI Dashboard"
} else {
Write-Host "Power BI Dashboard file not found at $PBIDashboardPath"
}
}

# Configure Windows Terminal as the default terminal application
$registryPath = 'HKCU:\Console\%%Startup'

Expand Down
7 changes: 7 additions & 0 deletions azure_jumpstart_arcbox/artifacts/dsc/itpro.dsc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,11 @@ properties:
IPAddress: '10.10.1.1/24'
AddressFamily: IPv4
KeepExistingAddress: false
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: powerbi
directives:
description: Install Microsoft PowerBI
settings:
id: Microsoft.PowerBI
source: winget
configurationVersion: 0.2.0