So, I had an interesting situation where I needed to call one of my vPro PowerShell Module AMT Cmdlets...from a command line.
Lucky for me there is a powershell command and it lets me pass in a command! Perfect - almost.
I am loading the credential $amtcred from the AMT secure storage(see another blog of mine) as part of my powershell profile. I don't have to worry about typing in my credentials every time I start a shell.