-
Notifications
You must be signed in to change notification settings - Fork 102
Get D365InstalledHotfix
Get installed hotfix (DEPRECATED)
Get-D365InstalledHotfix [[-BinDir] <String>] [[-PackageDirectory] <String>] [[-Model] <String>]
[[-Name] <String>] [[-KB] <String>] [<CommonParameters>]
Get all relevant details for installed hotfixes on environments that are not on a "One Version" version. This cmdlet is deprecated since 2021-10-05 and will be removed by 2022-04-05.
Get-D365InstalledHotfix
This will display all installed hotfixes found on this machine
Get-D365InstalledHotfix -Model "*retail*"
This will display all installed hotfixes found for all models that matches the search for "retail" found on this machine
Get-D365InstalledHotfix -Model "*retail*" -KB "*43*"
This will display all installed hotfixes found for all models that matches the search for "retail" and only with KB's that matches the search for "43" found on this machine
The path to the bin directory for the environment
Default path is the same as the AOS Service PackagesLocalDirectory\bin
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: "$Script:BinDir\bin"
Accept pipeline input: False
Accept wildcard characters: False
Path to the PackagesLocalDirectory
Default path is the same as the AOS Service PackagesLocalDirectory
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: $Script:PackageDirectory
Accept pipeline input: False
Accept wildcard characters: False
Name of the model that you want to work against
Accepts wildcards for searching. E.g. -Model "Retail"
Default value is "*" which will search for all models
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: *
Accept pipeline input: False
Accept wildcard characters: False
Name of the hotfix that you are looking for
Accepts wildcards for searching. E.g. -Name "7045*"
Default value is "*" which will search for all hotfixes
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: *
Accept pipeline input: False
Accept wildcard characters: False
KB number of the hotfix that you are looking for
Accepts wildcards for searching. E.g. -KB "4045*"
Default value is "*" which will search for all KB's
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: *
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, Servicing, Model, Models, KB, Patch, Patching, PackagesLocalDirectory
Author: Mötz Jensen (@Splaxi)
This cmdlet is inspired by the work of "Ievgen Miroshnikov" (twitter: @IevgenMir)
All credits goes to him for showing how to extract these information
His blog can be found here: https://ievgensaxblog.wordpress.com
The specific blog post that we based this cmdlet on can be found here: https://ievgensaxblog.wordpress.com/2017/11/17/d365foe-get-list-of-installed-metadata-hotfixes-using-metadata-api/
- Install as a non-Administrator
- Install as a Administrator
- Import d365fo.tools module
- List available commands from d365fo.tools module
- Get help content for a command
- Start, Stop and List services
- Import users into the D365FO environment
- Import external users into the D365FO environment
- Enable users in the D365FO environment
- Update users in the D365FO environment
- Provision D365FO environment to new Azure AD tenant
- Import a bacpac file into a Tier1 environment
- List modules / models
- Compile module
- Install AzCopy
- Install SqlPackage
- Install Nuget
- Speed up LCS download via AzCopy
- Download latest bacpac from LCS via AzCopy
- Register NuGet source
- Configure Azure Logic App
- Fix AzureStorageConfig
- Run a runnable class
- Update users in environment
- Work with Azure Storage Account
- Work with packages, resource label files, language and lables
- Working with the different D365 services