AX2012 Data Upgrade Packate failed at Step 3 - The term 'new' is not recognized as the name of a cmdlet

Tariq Rahim 16 Reputation points
2022-09-18T11:45:48.02+00:00

PS C:\Temp\AX2012DataUpgrade> .\AXUpdateInstaller.exe generate -runbookid="MajorVersionDataUpgrade-runbook" -topologyfile="DefaultTopologyData.xml" -servicemodelfile="DefaultServiceModelData.x
ml" -runbookfile="MajorVersionDataUpgrade-runbook.xml"

> .\AXUpdateInstaller.exe import -runbookfile="MajorVersionDataUpgrade-runbook.xml"
> .\AXUpdateInstaller.exe execute -runbookid="MajorVersionDataUpgrade-runbook"

The runbook with ID MajorVersionDataUpgrade-runbook already exist, the import will overwrite the existing runbook.
Do you want to proceed with import? (Y/N)
yStart executing runbook : MajorVersionDataUpgrade-runbook
Executing step: 1
Stop script for service model: AOSService on machine: localhost
Stop AOS service and Batch service
[11:39:41] Stopping AOS...
Running as admin
[11:39:41] Stopping IIS AOS web site.
[11:39:44] Stopping and disabling the batch service.
[11:39:44]
[11:39:44] AOS stop script completed with exit code: 0.

The step completed
Executing step: 2
BackupConfig script for service model: AOSService on machine: localhost
backup config for AOS service
backup AOS config data at C:\AOSService\webroot

The step completed
Executing step: 3
GlobalUpdate script for service model: AOSService on machine: localhost
perform data upgrade, sync AX database and deploy SSRS report
The term 'new' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
The step failed
PS C:\Temp\AX2012DataUpgrade>

Microsoft 365 and Office | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Rabea A. Khalil 0 Reputation points
    2023-03-13T13:17:50.5633333+00:00

    Any help here, facing the same issue


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.