BuildMaster Documentation

PowerShell - PSCredential

  • Last Modified: 2019-07-30

This is generated from the built-in components of BuildMaster 6.1.10, and may be different than what you have installed (especially if you have extensions); go to [User Icon] > Documentation within your BuildMaster instance to see exactly what operations are available.

$PSCredential

Returns a PSCredential object that can be passed to PowerShell scripts.

Script usage:

$PSCredential(UserName, Password)

Parameters:

Name Description
UserName The user name of the PSCredential object.
Password The password of the PSCredential object.

Example:

# convert user and password to a PSCredential object
PSCall MyPowerShellScript
(
    Credentials: $PSCredential(user, password)
);

Is this documentation incorrect or incomplete? Help us by contributing!

This documentation is licensed under CC-BY-SA-4.0 and stored in GitHub.

Generated from commit 7dbbedf1 on master