tpmtool
重要
部分資訊可能與發行前產品相關,在產品正式發行時可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
語法
tpmtool /parameter [<arguments>]
參數
參數 | 描述 |
---|---|
getdeviceinformation | 顯示 TPM 的基本資訊。 如需資訊旗標值的詳細資訊,請參閱 Win32_Tpm::IsReadyInformation 方法參數文章。 |
gatherlogs [output directory path] | 收集 TPM 記錄,並將其放在指定的目錄中。 如果該目錄不存在,則會建立它。 根據預設,記錄檔會放在目前目錄中。 產生的可能檔案如下:
|
drivertracing [start | stop] |
啟動或停止收集 TPM 驅動程式追蹤。 會建立追蹤記錄 TPMTRACE.etl 並放置在目前目錄中。 |
/? | 在命令提示字元顯示說明。 |
範例
若要顯示 TPM 的基本資訊,請輸入:
tpmtool getdeviceinformation
若要收集 TPM 記錄,並將其放在目前目錄中,請輸入:
tpmtool gatherlogs
若要收集 TPM 記錄,並將其放在 C:\Users\Public
中,請輸入:
tpmtool gatherlogs C:\Users\Public
若要收集 TPM 驅動程式追蹤,請輸入:
tpmtool drivertracing start
# Run scenario
tpmtool drivertracing stop