From bf723181876675a979467ea5e3889d36fc02c35a Mon Sep 17 00:00:00 2001 From: Johnny Date: Wed, 3 Dec 2025 12:52:46 +0000 Subject: [PATCH] Actualiser Compte_Office.ps1 --- Compte_Office.ps1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Compte_Office.ps1 b/Compte_Office.ps1 index 4b2647a..a555e27 100644 --- a/Compte_Office.ps1 +++ b/Compte_Office.ps1 @@ -1,3 +1,6 @@ +# Activation des logs +Start-Transcript -Path ".\logs\creation-$(Get-Date -Format 'yyyyMMdd-HHmmss').log" + # Prérequis : Install-Module Microsoft.Graph -Scope CurrentUser Connect-MgGraph -Scopes "User.ReadWrite.All", "Directory.ReadWrite.All" @@ -172,6 +175,11 @@ color: white; padding: 30px; text-align: center; } +.header img.logo { +max-width: 150px; +height: auto; +margin-bottom: 15px; +} .header h1 { margin: 0; font-size: 24px; @@ -265,6 +273,7 @@ color: #333;
+

🔐 $titre

@@ -564,3 +573,6 @@ Start-Sleep -Seconds 10 Write-Host "`n========================================" -ForegroundColor Green Write-Host "Traitement terminé pour tous les étudiants" -ForegroundColor Green Write-Host "========================================" -ForegroundColor Green + +# Arrêt du log +Stop-Transcript \ No newline at end of file