Fix sidItem

This commit is contained in:
poslop
2026-01-15 15:35:36 -06:00
parent 48090ea75c
commit 42c7892125

View File

@@ -40,7 +40,7 @@ foreach ($HKLMPrinterPaths in $HKLMPrinterPaths) {
foreach ($sidItem in $sids) {
$sid = $sidItem.PSChildName
$profilePath = (Get-ItemProperty -Path $sid.PSPath -Name ProfileImagePath).ProfileImagePath
$profilePath = (Get-ItemProperty -Path $sidItem.PSPath -Name ProfileImagePath).ProfileImagePath
foreach ($HKUsersPrinterPath in $HKUsersPrinterPaths) {
try {