(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform").BackupProductKeyDefaultGet-PnpDevice | where { $_.Status -eq "Unknown" } | % { pnputil /remove-device $_.InstanceId }(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform").BackupProductKeyDefaultGet-PnpDevice | where { $_.Status -eq "Unknown" } | % { pnputil /remove-device $_.InstanceId }