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>
The change made in 9d9ebc504b breaks ImagePush operations for Instant Clone pools. See the API documentation for reference.
The schema for `DesktopPushImageSpec` is as follows:
* DesktopPushImageSpec
* Settings
* StartTime
Signed-off-by: Matt Frey <mfrey@vmware.com>
Addressing Issue 496 to resolve the unintentional false condition when `-Value` is set to `$false` on `Set-HVGlobalSettings
Signed-off-by: Matt Frey <mfrey@vmware.com>
As part of the VMware open source program, we have to update this repository with the correct license and copyright information.
We add the BSD-2 Clause License for this repository.
We mark all source code provided by VMware with the Copyright notice under BSD-2 Clause license.
* Update repository license to BSD 2-Clause License
* Update Copyright
When days are in mixed or lower case, the schedule summary page shows
the correct day, but editing the schedule shows a blank and scheduled
executions do not happen. API reference shows it in all caps which does work as expected.
Attempted to use .ToUpper() on line 319 but it resulted in an error
Changing validation to require it in all caps
If the module is not loaded, and autoloading does not occur before the `Get-HVModuleVersion` call, the result might be an empty string. This gives a chance to force loading the module and error if it is not available.