How can I get these data using Powershell?
enter image description here
All I can find from internet are scripts that goes to the Registry Editor which just displays the basic information.
For example:
$windowsPenSettings = Get-ItemProperty -Path “HKCU:SOFTWAREMicrosoftWindows NTCurrentVersionWindowsPen”
and the output will be:
PenArbitrationType PSPath PSParentPath
3 Microsoft.PowerShell.CoreRegistry::HKEY_CURRENT_USERSOFTWAREMicrosoftWindows NTCurrentVersionWindowsPen Microsoft.PowerS...
It’s not the actual setting like the one in the image
Adrian Garcia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.