-
-
Notifications
You must be signed in to change notification settings - Fork 13
Set UdeConfig
Sets UDE configuration for a specific environment.
Set-UdeConfig [-EnvironmentUri] <String> [-PackagesVersion] <String> [-Path] <String>
[[-FallbackPath] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
This function allows you to set the UDE configuration used in Visual Studio for a specific environment.
Set-UdeConfig -EnvironmentUri "https://env-123.cloud.dynamics.com" -PackagesVersion "10.0.2177.188" -Path "C:\CustomSourceCode"
This will set the UDE configuration for the environment with the URI "https://env-123.cloud.dynamics.com". It will use the packages version "10.0.2177.188". It will include the custom source code from "C:\CustomSourceCode".
Get-UnifiedEnvironment -EnvironmentId "env-123" | Set-UdeConfig -Path "C:\CustomSourceCode"
This will set the UDE configuration for the environment with the ID "env-123". It will use the packages version from the environment details. It will include the custom source code from "C:\CustomSourceCode".
The URI of the environment to configure.
Type: String
Parameter Sets: (All)
Aliases: PpacEnvUri
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe version of the packages to use.
Type: String
Parameter Sets: (All)
Aliases: PpacProvApp
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe path to the custom source code to include in the UDE configuration.
Type: String
Parameter Sets: (All)
Aliases: SourceCode
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe fallback path to use if the needed packages or XRef DB files are not referenced in any other UDE configuration.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: C:\Temp\d365bap.tools\UdeDeveloperFiles
Accept pipeline input: False
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)