From fedd8898d7ea171874029c415e834548d527d5e6 Mon Sep 17 00:00:00 2001 From: Marco Wende Date: Wed, 17 Jun 2026 07:17:35 +0200 Subject: [PATCH] new --- .DS_Store | Bin 0 -> 6148 bytes ...e-App-Assignment-Application-v5_2_0_MW.ps1 | 4019 +++++++++++++++++ RustDesk/Detect-RustDesk.ps1 | 33 + RustDesk/Install-RustDesk.ps1 | 160 + RustDesk/Uninstall-RustDesk.ps1 | 58 + 5 files changed, 4270 insertions(+) create mode 100644 .DS_Store create mode 100644 Intune/Intune-App-Assignment-Application-v5_2_0_MW.ps1 create mode 100644 RustDesk/Detect-RustDesk.ps1 create mode 100644 RustDesk/Install-RustDesk.ps1 create mode 100644 RustDesk/Uninstall-RustDesk.ps1 diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..dd36122047e22dd4810bebaf8cb8f5d99feea126 GIT binary patch literal 6148 zcmeHK%}&BV5Z(oZHpGO3CdShyUP+|JgcvUs@!-`OJ)l8q2{e{n0<9bfNgqHjzKK^~ zz&G$cd;@2HFd+Wih?<#X_M4rZ+3kL9b~}U+T1x_lkP;!p0+pDtq4`AQxYPy77*8IM zsyR4m`=epskA%MvjgH^QfP8m(a!fdhNdoQc`+M^HQ8gle z>}F|mJa%@g)iQIc)k&E_r{a{^US(%8v90y3?fsMHP1NJ!PE$$Yt5dRSa0>Te%x%CD-61)R*PoI6}k + + + + + Intune Zuweisungs-Report - $dateForFile + + + +
+
+

Intune App-Zuweisungs-Report

+
HanseMerkur | Automatisierte App-Zuweisung
+
+ +
+
+ Datum & Uhrzeit + $timestamp +
+
+ Ausgefuhrt von + $executedBy +
+
+ Ziel-Typ + $targetType +
+
+ Anzahl Ziele + $($Targets.Count) +
+
+ +
+
+
$totalOps
+
Gesamt
+
+
+
$SuccessCount
+
Erfolgreich
+
+
+
$SkippedCount
+
Ubersprungen
+
+
+
$ErrorCount
+
Fehler
+
+
+ +
+
Zugewiesene $targetType
+
+"@ + + foreach ($target in $Targets) { + $html += " $($target.DisplayName)`n" + } + + $html += @" +
+
+ +
+
+ Available-Zuweisungen + $($availableApps.Count) Apps +
+"@ + + if ($availableApps.Count -gt 0) { + $html += @" + + + + + + + + +"@ + foreach ($app in $availableApps) { + $html += " `n" + } + $html += "
App-NameZiel-Gruppe
$($app.AppName)$($app.GroupName)
`n" + } else { + $html += "
Keine Available-Zuweisungen
`n" + } + + $html += @" +
+ +
+
+ Required-Zuweisungen + $($requiredApps.Count) Apps +
+"@ + + if ($requiredApps.Count -gt 0) { + $html += @" + + + + + + + + +"@ + foreach ($app in $requiredApps) { + $html += " `n" + } + $html += "
App-NameZiel-Gruppe
$($app.AppName)$($app.GroupName)
`n" + } else { + $html += "
Keine Required-Zuweisungen
`n" + } + + $html += @" +
+ + +
+ + +"@ + + # Report auf Desktop speichern + $desktopPath = [Environment]::GetFolderPath("Desktop") + $reportPath = Join-Path $desktopPath "Intune-Zuweisungs-Report_$dateForFile.html" + + $html | Out-File -FilePath $reportPath -Encoding UTF8 + + return $reportPath +} + +$xaml = @" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +