none
TPM System Fundamentals Testing Prerequisites RRS feed

  • Question

  • Hi there,

    I want to run the TPM Supplemental test, so I read a little here and noticed the nice little script that makes it possible not to hit F12 every test:

    $Tpm = Get-WmiObject -class Win32_Tpm -namespace "root\CIMv2\Security\MicrosoftTpm"
    $ConfirmationStatus = $Tpm.GetPhysicalPresenceConfirmationStatus(22).ConfirmationStatus
    if($ConfirmationStatus -ne 4) {$Tpm.SetPhysicalPresenceRequest(18)}

    This doesn't seem to be a correct CMD script, not that I'm an expert. When I run it I get

    '$Tpm' is not recognized as an internal or external command, operable program or batch file.

    And the same for the second variable. Anyone has an idea of how I can fix this script?

    Many thanks,

    Yotam

    Thursday, March 20, 2014 8:08 AM

All replies