Forum Discussion
rodsan724
May 02, 2022Brass Contributor
How to pass PowerShell task argument to secure string param in PowerShell file
Is it possible to pass a parameter as a SecureString from a PowerShell task in Azure DevOps into params list in a PowerShell file called from pipeline?
AzureDevOps PowerShell Tasks Arguments
-windowstyle hidden -MyPass $(pass)
PowerShell file called by task in pipeline
param([SecureString] $MyPass)
Here's an illustration
No RepliesBe the first to reply