remove ambiguous unicode character from powershell script
This commit is contained in:
1 parent
0da4a2c08a
commit
b18bc2be03
1 file changed
+1
-1
@@ -72,7 +72,7 @@ foreach ($gpoGuid in $gpoLinks.Keys) {
|
|||||||
$gpo = Get-GPO -Guid $gpoGuid -ErrorAction Stop
|
$gpo = Get-GPO -Guid $gpoGuid -ErrorAction Stop
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
Write-Warning "Unable to retrieve GPO $gpoGuid – skipping."
|
Write-Warning "Unable to retrieve GPO $gpoGuid - skipping."
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
Write-Host "GPO: $($gpo.DisplayName)"
|
Write-Host "GPO: $($gpo.DisplayName)"
|
||||||
|
|||||||
Reference in new issue
Block a user