Improve Connect-SscServer to accept credentials instead of just plaintext username/password values.
We will make the PlainText parameter set items mandatory, so if you use this parameter set both values need to be provided.
However, if you don't specify any credentials at all as arguments, we will default to the optional Credential parameter set. When the credential parameter set is used but the credential value is null, we will prompt for credentials using Get-Credential.
Signed-off-by: Brian Wuchner <brian.wuchner@gmail.com>
Changing returned columns from Connect-SscServer to be more in line with other PowerCLI cmdlets.
Signed-off-by: Brian Wuchner <brian.wuchner@gmail.com>
Updated functions based on comments in PR502. Updated manifest to include Get-SscActivity (previously Get-SscCommand) and reference to new Format.ps1xml, which contains custom formatting for the Connect-SscServer output.
Signed-off-by: Brian Wuchner <brian.wuchner@gmail.com>
Many thanks to @kamennikolov for his time to review and provide such helpful comments! This commit address many of the comments from PR 502 in the module psm1 file. Also updated module manifest to rev version number, changed FunctionsToExport to address Get-SscMinion --> Get-SscMinionCache name change.
Signed-off-by: Brian Wuchner <brian.wuchner@gmail.com>
Initial commit of SaltStackConfig module, a series of wrapper functions for the vRealize Automation SaltStack Config API.
Signed-off-by: Brian Wuchner <brian.wuchner@gmail.com>