testing new script
This commit is contained in:
1 parent
20f22ba7f3
commit
45ecf4ca47
1 file changed
+2
-2
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user