Repair-NAVApp
Repair-NAVApp
Repairs a Microsoft Dynamics NAV extension by recompiling it against the current base application.
Syntax
Parameter Set: Default
Repair-NAVApp [-ServerInstance] <String> [-Name] <String> [[-Publisher] <String> ] [[-Version] <Version> ] [ <CommonParameters>]
Detailed Description
Use the Repair-NAVApp cmdlet to recompile an extension that has been published in the app catalog of the specified Microsoft Dynamics NAV Server instance. Use this cmdlet if the base application has changed since the extension was published. We recommend that you restart the Microsoft Dynamics NAV Server instance after running the repair.
Parameters
-Name<String>
Specifies the name of the extension that you want to repair. The search must return only a single extension; otherwise the reparation fails.
Aliases |
none |
Required? |
true |
Position? |
21 |
Default Value |
none |
Accept Pipeline Input? |
true (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Publisher<String>
Specifies the publisher of the extension that you want to repair. The results must return only a single extension; otherwise the reparation fails.
Aliases |
none |
Required? |
false |
Position? |
22 |
Default Value |
none |
Accept Pipeline Input? |
true (ByPropertyName) |
Accept Wildcard Characters? |
false |
-ServerInstance<String>
Specifies the Microsoft Dynamics NAV Server instance where the extension is published that you want to repair, such as DynamicsNAV90.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue, ByPropertyName) |
Accept Wildcard Characters? |
false |
-Version<Version>
Specifies the version of the extension that you want to repair. The search must return only a single extension; otherwise the reparation fails.
Aliases |
none |
Required? |
false |
Position? |
23 |
Default Value |
none |
Accept Pipeline Input? |
true (ByPropertyName) |
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.
Examples
-------------------------- EXAMPLE 1 --------------------------
Description
-----------
This example repairs version 2.3.4.500 of the Proseware SmartStuff extension.
PS C:\> Repair-NAVApp -ServerInstance DynamicsNAV90 -Name 'Proseware SmartStuff' -Version 2.3.4.500
-------------------------- EXAMPLE 2 --------------------------
Description
-----------
This example repairs all Microsoft Dynamics NAV extensions in the app catalog of the DynamicsNAV90 server instance.
PS C:\> Get-NAVAppInfo -ServerInstance DynamicsNAV90 | Repair-NAVApp