I am looking to get only the printer names under HKEY_USERS\SID\Software\Microsoft\Windows NT\CurrentVersion\Devices. Just the name. This is what I get so far:
get-childitem "HKEY_USERS\S-1-5-21-53361137-2144680551-1845911597-29023\Software\Microsoft\Windows NT\CurrentVersion\Devices" -Recurse | select name
But I am no getting any results.