Invoke D365SCDPBundleInstall - FH-Inway/d365fo.tools GitHub Wiki
Invoke the SCDPBundleInstall.exe file
Invoke-D365SCDPBundleInstall [-InstallOnly] [-Path] <String> [[-MetaDataDir] <String>] [-ShowModifiedFiles]
[-ShowProgress] [<CommonParameters>]
Invoke-D365SCDPBundleInstall [[-Command] <String>] [-Path] <String> [[-MetaDataDir] <String>]
[[-TfsWorkspaceDir] <String>] [[-TfsUri] <String>] [-ShowModifiedFiles] [-ShowProgress] [<CommonParameters>]
A cmdlet that wraps some of the cumbersome work of installing updates / hotfixes into a streamlined process
Invoke-D365SCDPBundleInstall -Path "c:\temp\HotfixPackageBundle.axscdppkg" -InstallOnly
This will install the "HotfixPackageBundle.axscdppkg" into the default PackagesLocalDirectory location on the machine.
Instructs the cmdlet to only run the Install option and ignore any TFS / VSTS folders and source control in general
Use it when testing an update on a local development machine (VM) / onebox
Type: SwitchParameter
Parameter Sets: InstallOnly
Aliases:
Required: True
Position: 1
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
The command / job you want the cmdlet to execute
Valid options are: Prepare Install
Default value is "Prepare"
Type: String
Parameter Sets: Tfs
Aliases:
Required: False
Position: 1
Default value: Prepare
Accept pipeline input: False
Accept wildcard characters: False
Path to the update package that you want to install into the environment
The cmdlet only supports an already extracted ".axscdppkg" file
Type: String
Parameter Sets: (All)
Aliases: File, Hotfix
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The path to the meta data directory for the environment
Default path is the same as the aos service PackagesLocalDirectory
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: "$Script:MetaDataDir"
Accept pipeline input: False
Accept wildcard characters: False
The path to the TFS Workspace directory that you want to work against
Default path is the same as the aos service PackagesLocalDirectory
Type: String
Parameter Sets: Tfs
Aliases:
Required: False
Position: 4
Default value: "$Script:MetaDataDir"
Accept pipeline input: False
Accept wildcard characters: False
The URI for the TFS Team Site / VSTS Portal that you want to work against
Default URI is the one that is configured from inside Visual Studio
Type: String
Parameter Sets: Tfs
Aliases:
Required: False
Position: 5
Default value: "$Script:TfsUri"
Accept pipeline input: False
Accept wildcard characters: False
Switch to instruct the cmdlet to show all the modified files afterwards
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Switch to instruct the cmdlet to output progress details while servicing the installation
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
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.
Tags: Hotfix, Hotfixes, Updates, Prepare, VSTS, axscdppkg
Author: Mötz Jensen (@splaxi)
Author: Tommy Skaue (@skaue)