Comments and rearrange

This commit is contained in:
poslop committed 2025-02-13 12:27:00 -06:00
1 parent b98491ed30
commit 05f8c11367
1 file changed
+1 -1
+1 -1
View File
@@ -97,7 +97,7 @@ ForEach ($computer in $ComputerName)
}
Try {
$profile.Delete()
Remove-CimInstance $profile
Write-Host "Profile deleted successfully" -ForegroundColor Green
} Catch {
Write-Host "Error during delete the profile" -ForegroundColor Red