Invoke D365SDPInstallUDE - d365collaborative/d365fo.tools GitHub Wiki
Install a Software Deployable Package (SDP) in a unified development environment
Invoke-D365SDPInstallUDE [-Path] <String> [-MetaDataDir] <String> [-LogPath <String>] [<CommonParameters>]
A cmdlet that wraps some of the cumbersome work into a streamlined process. It first checks if the package is a zip file and extracts it if necessary. Then it checks if the package contains the necessary files and modules. Finally, it extracts the module zip files into the metadata directory.
Invoke-D365SDPInstallUDE -Path "c:\temp\package.zip" -MetaDataDir "c:\MyRepository\Metadata"
This will install the modules contained in the c:\temp\package.zip file into the c:\MyRepository\Metadata directory.
Path to the package that you want to install into the environment
The cmdlet supports a path to a zip-file or directory with the unpacked contents.
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
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The path where the log file(s) will be saved
Type: String
Parameter Sets: (All)
Aliases: LogDir
Required: False
Position: Named
Default value: $(Join-Path -Path $Script:DefaultTempPath -ChildPath "Logs\SdpInstall")
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.
Author: Florian Hopfner (@FH-Inway)