Set-BluGenieScriptCredentials
Set Credentials at the command line
Set-BluGenieScriptCredentials [-SetUser] <String> [-SetPass] <String> [-Walkthrough] [<CommonParameters>]
Set Credentials without using Get-Credentials and being prompted for a password
Command: $Creds = Set-BluGenieScriptCredentials -UserName 'Guest' -Password 'Password!'
Description: Use this command to Set Credentials and save that information to a variable called $Creds
Notes:
Command: $Creds = Set-ScriptCredentials -UserName 'TestDomain\Guest' -Password 'Password!'
Description: Use this command to Set Domain Credentials and save that information to a variable called $Creds
Notes: This command uses the Alias command name
Command: $Creds = Set-ScriptCredentials -UserName 'TestDomain\Guest' -Password 'Password!'
$Creds.ShowPassword()Description: Use this command to show an already saved Cred Password
Notes: This is a known PowerShell method which will expose the current password. This is not a secure method for managing Passwords.
Command: Set-BluGenieScriptCredentials -Help
Description: Call Help Information
Notes: If Help / WalkThrough is setup as a parameter, this script will be called to setup the Dynamic Help Menu if not the normal Get-Help will be called with the -Full parameter
Command: Set-BluGenieScriptCredentials -WalkThrough
Description: Call Help Information [2]
Notes: If Help / WalkThrough is setup as a parameter, this script will be called to setup the Dynamic Help Menu if not the normal Get-Help will be called with the -Full parameter
-SetUser <String>
Description: User Name for the Current Credentials
Notes: You can set a domain by using "Domain_Name\UserName"
Alias: 'UserName','Usr'
ValidateSet:
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-SetPass <String>
Description: Password for the Current Credentials
Notes:
Alias: 'Password','Pw'
ValidateSet:
Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Walkthrough [<SwitchParameter>]
Description: Start the dynamic help menu system to help walk through the current command and all of the parameters
Notes:
Alias: Help
ValidateSet:
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Last modified 1yr ago