From 45ecf4ca47389450d05bffb133fc9f4053488a57 Mon Sep 17 00:00:00 2001 From: poslop Date: Thu, 13 Feb 2025 12:07:35 -0600 Subject: [PATCH] testing new script --- scripts/DeleteOldProfilesManual.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/DeleteOldProfilesManual.ps1 b/scripts/DeleteOldProfilesManual.ps1 index 5305067..d77bc10 100644 --- a/scripts/DeleteOldProfilesManual.ps1 +++ b/scripts/DeleteOldProfilesManual.ps1 @@ -62,7 +62,7 @@ ForEach ($computer in $ComputerName) If($InactiveDays -ne [uint32]::MaxValue -And $profileUnusedDays -le $InactiveDays){ - Write-Host "Skipping ""$account"" as it is recently used." -ForegroundColor Blue + Write-Host "`nSkipping ""$account"" as it is recently used." -ForegroundColor Blue Write-Host "Account SID: $sid" Write-Host "Special system service user: $special" Write-Host "Profile Path: $profilePath" @@ -75,7 +75,7 @@ ForEach ($computer in $ComputerName) $profilesFound ++ If ($profilesFound -gt 1) {Write-Host "`n"} - Write-Host "Start deleting profile ""$account"" on computer ""$computer"" ..." -ForegroundColor Red + Write-Host "`nStart deleting profile ""$account"" on computer ""$computer"" ..." -ForegroundColor Red Write-Host "Account SID: $sid" Write-Host "Special system service user: $special" Write-Host "Profile Path: $profilePath"