Can we please have a device inventory report that reports on the Windows 11 readiness state of machines.
Agreed, this would be wonderful!
WE use our RMM for this. I assume this could be added into Immy too, but we just have a schedule that runs the HWReadinessScript provided by MS and populate a custom field in the RMM.
The script can be found here: HWReadinessScript.
we added some bits to the end that set the custom field and boom. here is the code for setting the custom field in Ninja:
process {
$Result = Get-HardwareReadiness | Select-Object -Unique | ConvertFrom-Json
if ($CustomField -and -not [string]::IsNullOrEmpty($CustomField) -and -not [string]::IsNullOrWhiteSpace($CustomField)) {
Switch ($Result.returnCode) {
0 { Ninja-Property-Set -Name $CustomField -Value "Capable" }
1 { Ninja-Property-Set -Name $CustomField -Value "Not Capable" }
-1 { Ninja-Property-Set -Name $CustomField -Value "Undetermined" }
-2 { Ninja-Property-Set -Name $CustomField -Value "Failed To Run" }
default { Ninja-Property-Set -Name $CustomField -Value "Unknown" }
}
}
# Print Return Result
Write-Host "Result: $($Result.returnResult)"
exit $Result.returnCode
}
end {
}
There is a task you can run in Audit mode. Compliant means it’s 11 ready, fail means it is not. Then, you can see them on the dashboard. I added this a couple weeks back, turns out MS had a powershell script for this that I didn’t know existed!