password field
I use alot scripts in atera, and have done the following script to retreive the LAPS password.
$username = "{[nomeutente]}"
$password = "{[password]}"
$hostname = $env:COMPUTERNAME
$cred = New-Object System.Management.Automation.PSCredential($username, (ConvertTo-SecureString $password -AsPlainText -Force))
$admPwd = Get-ADComputer -Filter {Name -eq $hostname} -Properties ms-Mcs-AdmPwd -Credential $cred | Select-Object -ExpandProperty ms-Mcs-AdmPwd
Write-Output "Admin Password: $admPwd"
It would be usefull that when i have to write the password in the variable request {[variablename]} using it's placeholder it shows asterisks while i write it and not showing it in plain text. Maybe you could create a specific placeholder for password fields like {*[passwordvariable_field]*}