From cf8a656c7cd9ba0da58b2d1db3c8c10aac232b57 Mon Sep 17 00:00:00 2001 From: poslop Date: Thu, 13 Feb 2025 12:17:40 -0600 Subject: [PATCH] Comments and rearrange --- scripts/DeleteOldProfiles.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/DeleteOldProfiles.ps1 b/scripts/DeleteOldProfiles.ps1 index 32d519d..2d0e247 100644 --- a/scripts/DeleteOldProfiles.ps1 +++ b/scripts/DeleteOldProfiles.ps1 @@ -49,7 +49,10 @@ ForEach ($computer in $ComputerName) } # Continue if excluded - If($isExcluded) {Write-Host "Profile $accountName was excluded!" continue} + If($isExcluded) { + Write-Host "Profile $accountName was excluded!" + continue + } #Calculation of the login date