Hi I am Jiten, Here’s my question:
I want to run two commands back to back. Command2 uses object of Command1.
Command1: $ptt = Get-WmiObject -namespace “root/cimv2/security/microsofttpm” win32_tpm
I am trying to run these command through Python Subprocess module. But problem is that i can run only i command at a time. I tried using Export-Clixml but in that also i have to run Import command first.
Kindly help me on this . I will be really grateful.