hi!
I'm experimenting with PowerShell scripts.
I'm wondering why the following does not reveal the password (the session is configured with credential-type "default" and variables set directly in this session):
In the database setting the option to *not* reveal the passwords is not set.
the script is called as follows:
any suggestions?
KR
Guenther
Hi,
Have you enabled the Advanced Setting Allow password in variable?
David Hervieux
hi David,
i found "Allow password in variable" on the "Security" page of the session "ad01.example.com".
Enabling this option results in an error that the password variable ($remotePass) is empty ...
KR
Guenther
It's in the Advanced section of the selected session (host) and not in the Advanced section of the script.
David Hervieux
hi David,
the option "Allow password in variable" is on the "Security" page/section of the host.
My Problem was that the password was not set on that session .. thus the error reported that the variable was empty was correct.
Sorry for bothering you.
KR
Guenther