Skip to content

Invoke D365SCDPBundleInstall

Splaxi edited this page Dec 4, 2022 · 1 revision

external help file: d365fo.tools-help.xml Module Name: d365fo.tools online version: schema: 2.0.0

Invoke-D365SCDPBundleInstall

SYNOPSIS

Invoke the SCDPBundleInstall.exe file

SYNTAX

InstallOnly (Default)

Invoke-D365SCDPBundleInstall [-InstallOnly] [-Path] <String> [[-MetaDataDir] <String>] [-ShowModifiedFiles]
 [-ShowProgress] [<CommonParameters>]

Tfs

Invoke-D365SCDPBundleInstall [[-Command] <String>] [-Path] <String> [[-MetaDataDir] <String>]
 [[-TfsWorkspaceDir] <String>] [[-TfsUri] <String>] [-ShowModifiedFiles] [-ShowProgress] [<CommonParameters>]

DESCRIPTION

A cmdlet that wraps some of the cumbersome work of installing updates / hotfixes into a streamlined process

EXAMPLES

EXAMPLE 1

Invoke-D365SCDPBundleInstall -Path "c:\temp\HotfixPackageBundle.axscdppkg" -InstallOnly

This will install the "HotfixPackageBundle.axscdppkg" into the default PackagesLocalDirectory location on the machine.

PARAMETERS

-InstallOnly

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

-Command

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

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

-MetaDataDir

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

-TfsWorkspaceDir

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

-TfsUri

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

-ShowModifiedFiles

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

-ShowProgress

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

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

Tags: Hotfix, Hotfixes, Updates, Prepare, VSTS, axscdppkg

Author: Mötz Jensen (@splaxi)

Author: Tommy Skaue (@skaue)

RELATED LINKS

Clone this wiki locally