sync with minster586
This commit is contained in:
@@ -8,6 +8,15 @@ param(
|
||||
[string]$OutputFile
|
||||
)
|
||||
|
||||
# Note about host: If this script is run under Windows PowerShell (5.1) some advanced detection
|
||||
# (CPU intrinsics via System.Runtime.Intrinsics) will be unavailable. If you want a single
|
||||
# copy-paste one-liner that automatically runs the script under pwsh (PowerShell 7+) use the
|
||||
# following pattern (recommended when piping from the web):
|
||||
#
|
||||
# iwr -UseBasicParsing "https://git.smartcraft.me/Smartcraft-Media-Tech/System-Info/raw/branch/master/System%20Info%20%28ps1%29/Get-SystemSecurityAndHardwareInfo.ps1" | & pwsh -Command -
|
||||
#
|
||||
# This will fetch the script and execute it under pwsh so instruction-set detection works.
|
||||
|
||||
function Get-TPMStatus {
|
||||
# Try CIM first (Windows 10/11)
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user