-
-
Notifications
You must be signed in to change notification settings - Fork 13
Set UdeEnvironmentInSession
Sets the UDE environment in the current PowerShell session.
Set-UdeEnvironmentInSession [-EnvironmentId] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
This function sets the specified UDE environment in the current PowerShell session by updating the default parameter values for relevant cmdlets.
Set-UdeEnvironmentInSession -EnvironmentId "env-123"
This will set the specified environment ID in the current PowerShell session.
Get-UnifiedEnvironment -EnvironmentId "env-123" | Set-UdeEnvironmentInSession
This will set the environment ID from the piped UDE environment object in the current PowerShell session.
The ID of the environment that you want to work against.
Supports wildcard patterns.
Can be either the environment name or the environment GUID.
Type: String
Parameter Sets: (All)
Aliases: PpacEnvId
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Mötz Jensen (@Splaxi)