Set-LabInstallationCredential

SYNOPSIS

Set the installation credential

SYNTAX

All (Default)

Set-LabInstallationCredential -Username <String> -Password <String> [<CommonParameters>]

Prompt

Set-LabInstallationCredential [-Username <String>] [-Password <String>] [-Prompt] [<CommonParameters>]

DESCRIPTION

Sets the installation credential for all lab machines

EXAMPLES

Example 1

PS C:\> Set-LabInstallationCredential -Username Install -Password 'Somepass1!'

Sets the default installation credential

PARAMETERS

-Password

The installation user's password

Type: String
Parameter Sets: All
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: String
Parameter Sets: Prompt
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Prompt

Indicates that a prompt should be displayed for the username and password

Type: SwitchParameter
Parameter Sets: Prompt
Aliases:

Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Username

The installation user name

Type: String
Parameter Sets: All
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: String
Parameter Sets: Prompt
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES