Trying to get TPM presence

I’m trying to write a script to be deployed to a bunch of computers that will check for TPM presece / readiness.

I’m trying this:

$TPMPresent = (get-tpm | select tpmready) 

But it is returning the following into $TPMPresent, I want just the value, not the label.

TpmReady -------- True 

Many thanks in advance.

submitted by /u/smb3something
[link] [comments]

Leave a Reply