I would like to invoke Clearprojexp.exe as runas different user.
I was trying to use as follows in my powershell prompt
runas /noprofile /user:Domain\UserName Clearprojexp -credential (Powershellfile.ps1 -get "E:\EncryptedPwd.txt")
But it asks to enter password manually. As powershell has provision to store Password as encrypted string in file, is there any way i can pass the encrypted password from the file?
My intention is to just run a script to open Clearcase project explorer as runas different user.
There is a /Savecred option but i am not sure whether it would store the password in secure form.