sync: auto-sync from HOWARD-HOME at 2026-07-17 14:14:41
Author: Howard Enos Machine: HOWARD-HOME Timestamp: 2026-07-17 14:14:41
This commit is contained in:
19
clients/cascades-tucson/scripts/verify-kiosk-2.ps1
Normal file
19
clients/cascades-tucson/scripts/verify-kiosk-2.ps1
Normal file
@@ -0,0 +1,19 @@
|
||||
Import-Module GroupPolicy
|
||||
Write-Output "=== Kiosk GPO permissions ==="
|
||||
Get-GPPermission -Name 'CSC - Nurse Station Kiosk' -All | ForEach-Object { Write-Output " $($_.Trustee.Name) ($($_.Trustee.SidType)): $($_.Permission) denied=$($_.Denied)" }
|
||||
Write-Output ""
|
||||
Write-Output "=== Kiosk GPO links ==="
|
||||
$gpo = Get-GPO -Name 'CSC - Nurse Station Kiosk'
|
||||
Write-Output " ID: $($gpo.Id) Status: $($gpo.GpoStatus)"
|
||||
# Check links via AD
|
||||
$links = Get-ADOrganizationalUnit -Filter * -Properties gpLink | Where-Object { $_.gpLink -match $gpo.Id }
|
||||
$links | ForEach-Object { Write-Output " Linked: $($_.DistinguishedName)" }
|
||||
Write-Output ""
|
||||
Write-Output "=== Caregiver Workstation GPO permissions ==="
|
||||
Get-GPPermission -Name 'CSC - Caregiver Workstation' -All | ForEach-Object { Write-Output " $($_.Trustee.Name) ($($_.Trustee.SidType)): $($_.Permission) denied=$($_.Denied)" }
|
||||
Write-Output ""
|
||||
Write-Output "=== Caregiver Workstation GPO links ==="
|
||||
$gpo2 = Get-GPO -Name 'CSC - Caregiver Workstation'
|
||||
Write-Output " ID: $($gpo2.Id) Status: $($gpo2.GpoStatus)"
|
||||
$links2 = Get-ADOrganizationalUnit -Filter * -Properties gpLink | Where-Object { $_.gpLink -match $gpo2.Id }
|
||||
$links2 | ForEach-Object { Write-Output " Linked: $($_.DistinguishedName)" }
|
||||
Reference in New Issue
Block a user