Kaffeeundcode

Get DeviceDiagnosticsDownloadUrl

Skript Beschreibung

**Zusammenfassung**: Holt Download-URL für Diagnoseprotokolle.

Wenn 'Collect Diagnostics' fertig ist, kann hier die URL abgerufen werden.
Erfordert die Berechtigung 'DeviceManagementManagedDevices

Skript Infos

Autor Mattia Cirillo
Version 1.0
Sprache PowerShell
72_Get-DeviceDiagnosticsDownloadUrl.ps1
<#
.SYNOPSIS
    Holt Download-URL für Diagnoseprotokolle.
    
.DESCRIPTION
    Wenn 'Collect Diagnostics' fertig ist, kann hier die URL abgerufen werden.
    Erfordert die Berechtigung 'DeviceManagementManagedDevices.Read.All'.

.NOTES
    File Name: 72_Get-DeviceDiagnosticsDownloadUrl.ps1
    Author: Mattia Cirillo
    Version: 1.0
#>

param (
    [string]$DeviceName
)

# Implementation logic: check deviceLogCollectionRequests endpoint
Write-Host "Prüfung auf verfügbare Log-Downloads..."