diff --git a/src/Migrate/custom/New-AzMigrateServerReplication.ps1 b/src/Migrate/custom/New-AzMigrateServerReplication.ps1 index 986bf214bf65..2ce556575c65 100644 --- a/src/Migrate/custom/New-AzMigrateServerReplication.ps1 +++ b/src/Migrate/custom/New-AzMigrateServerReplication.ps1 @@ -22,7 +22,7 @@ The New-AzMigrateServerReplication cmdlet starts the replication for a particula https://docs.microsoft.com/en-us/powershell/module/az.migrate/new-azmigrateserverreplication #> function New-AzMigrateServerReplication { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob])] [CmdletBinding(DefaultParameterSetName='ByIdDefaultUser', PositionalBinding=$false)] param( [Parameter(ParameterSetName='ByIdDefaultUser', Mandatory)] diff --git a/src/Migrate/custom/Remove-AzMigrateServerReplication.ps1 b/src/Migrate/custom/Remove-AzMigrateServerReplication.ps1 index 7a4c25e17932..52a460f2e4d7 100644 --- a/src/Migrate/custom/Remove-AzMigrateServerReplication.ps1 +++ b/src/Migrate/custom/Remove-AzMigrateServerReplication.ps1 @@ -22,7 +22,7 @@ The Remove-AzMigrateServerReplication cmdlet stops the replication for a migrate https://docs.microsoft.com/en-us/powershell/module/az.migrate/remove-azmigrateserverreplication #> function Remove-AzMigrateServerReplication { - [OutputType([System.Boolean])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob])] [CmdletBinding(DefaultParameterSetName='ByIDVMwareCbt', PositionalBinding=$false)] param( [Parameter(ParameterSetName='ByIDVMwareCbt', Mandatory)] @@ -83,12 +83,6 @@ function Remove-AzMigrateServerReplication { [System.Uri] # The URI for the proxy server to use ${Proxy}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Returns true when the command succeeds - ${PassThru}, [Parameter(DontShow)] [ValidateNotNull()] diff --git a/src/Migrate/custom/Restart-AzMigrateServerReplication.ps1 b/src/Migrate/custom/Restart-AzMigrateServerReplication.ps1 index 28b560177067..1b6442fdd057 100644 --- a/src/Migrate/custom/Restart-AzMigrateServerReplication.ps1 +++ b/src/Migrate/custom/Restart-AzMigrateServerReplication.ps1 @@ -22,7 +22,7 @@ The Restart-AzMigrateServerReplication cmdlet repairs the replication for the sp https://docs.microsoft.com/en-us/powershell/module/az.migrate/restart-azmigrateserverreplication #> function Restart-AzMigrateServerReplication{ - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob])] [CmdletBinding(DefaultParameterSetName='ByIDVMwareCbt', PositionalBinding=$false)] param( [Parameter(ParameterSetName='ByIDVMwareCbt', Mandatory)] diff --git a/src/Migrate/custom/Set-AzMigrateServerReplication.ps1 b/src/Migrate/custom/Set-AzMigrateServerReplication.ps1 index 53f4ee352f52..da64ec354f27 100644 --- a/src/Migrate/custom/Set-AzMigrateServerReplication.ps1 +++ b/src/Migrate/custom/Set-AzMigrateServerReplication.ps1 @@ -22,7 +22,7 @@ The Set-AzMigrateServerReplication cmdlet updates the target properties for the https://docs.microsoft.com/en-us/powershell/module/az.migrate/set-azmigrateserverreplication #> function Set-AzMigrateServerReplication { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob])] [CmdletBinding(DefaultParameterSetName='ByIDVMwareCbt', PositionalBinding=$false)] param( [Parameter(ParameterSetName='ByIDVMwareCbt', Mandatory)] diff --git a/src/Migrate/custom/Start-AzMigrateServerMigration.ps1 b/src/Migrate/custom/Start-AzMigrateServerMigration.ps1 index 4371ecf53063..d3e0ad9e3192 100644 --- a/src/Migrate/custom/Start-AzMigrateServerMigration.ps1 +++ b/src/Migrate/custom/Start-AzMigrateServerMigration.ps1 @@ -22,7 +22,7 @@ Starts the migration for the replicating server. https://docs.microsoft.com/en-us/powershell/module/az.migrate/start-azmigraterservermigration #> function Start-AzMigrateServerMigration { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob])] [CmdletBinding(DefaultParameterSetName='ByIDVMwareCbt', PositionalBinding=$false)] param( [Parameter(ParameterSetName='ByIDVMwareCbt', Mandatory)] diff --git a/src/Migrate/custom/Start-AzMigrateTestMigration.ps1 b/src/Migrate/custom/Start-AzMigrateTestMigration.ps1 index 3727c5fb281a..5069e0d47f3b 100644 --- a/src/Migrate/custom/Start-AzMigrateTestMigration.ps1 +++ b/src/Migrate/custom/Start-AzMigrateTestMigration.ps1 @@ -22,7 +22,7 @@ The Start-AzMigrateTestMigration cmdlet initiates the test migration for the rep https://docs.microsoft.com/en-us/powershell/module/az.migrate/start-azmigratetestmigration #> function Start-AzMigrateTestMigration { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob])] [CmdletBinding(DefaultParameterSetName='ByIDVMwareCbt', PositionalBinding=$false)] param( [Parameter(ParameterSetName='ByIDVMwareCbt', Mandatory)] diff --git a/src/Migrate/custom/Start-AzMigrateTestMigrationCleanup.ps1 b/src/Migrate/custom/Start-AzMigrateTestMigrationCleanup.ps1 index b5425a1c39e8..60b4b177c987 100644 --- a/src/Migrate/custom/Start-AzMigrateTestMigrationCleanup.ps1 +++ b/src/Migrate/custom/Start-AzMigrateTestMigrationCleanup.ps1 @@ -22,7 +22,7 @@ The Start-AzMigrateTestMigrationCleanup cmdlet initiates the clean up of the tes https://docs.microsoft.com/en-us/powershell/module/az.migrate/start-azmigratetestmigrationcleanup #> function Start-AzMigrateTestMigrationCleanup { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob])] [CmdletBinding(DefaultParameterSetName='ByIDVMwareCbt', PositionalBinding=$false)] param( [Parameter(ParameterSetName='ByIDVMwareCbt', Mandatory)] diff --git a/src/Migrate/docs/New-AzMigrateServerReplication.md b/src/Migrate/docs/New-AzMigrateServerReplication.md index 1763f464b160..9ca36a74dfbd 100644 --- a/src/Migrate/docs/New-AzMigrateServerReplication.md +++ b/src/Migrate/docs/New-AzMigrateServerReplication.md @@ -426,7 +426,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem +### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob ## NOTES diff --git a/src/Migrate/docs/Remove-AzMigrateServerReplication.md b/src/Migrate/docs/Remove-AzMigrateServerReplication.md index 63e9f92865d0..250d5c5a3d96 100644 --- a/src/Migrate/docs/Remove-AzMigrateServerReplication.md +++ b/src/Migrate/docs/Remove-AzMigrateServerReplication.md @@ -15,13 +15,13 @@ Stops replication for the migrated server. ### ByIDVMwareCbt (Default) ``` Remove-AzMigrateServerReplication -TargetObjectID [-SubscriptionId ] [-ForceRemove ] - [-DefaultProfile ] [-PassThru] [] + [-DefaultProfile ] [] ``` ### ByInputObjectVMwareCbt ``` Remove-AzMigrateServerReplication -InputObject [-SubscriptionId ] - [-ForceRemove ] [-DefaultProfile ] [-PassThru] [] + [-ForceRemove ] [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -166,21 +166,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -SubscriptionId Azure Subscription ID. @@ -219,7 +204,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### System.Boolean +### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob ## NOTES diff --git a/src/Migrate/docs/Restart-AzMigrateServerReplication.md b/src/Migrate/docs/Restart-AzMigrateServerReplication.md index 1b0a9701bb8c..ce7a5d81e4ed 100644 --- a/src/Migrate/docs/Restart-AzMigrateServerReplication.md +++ b/src/Migrate/docs/Restart-AzMigrateServerReplication.md @@ -184,7 +184,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem +### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob ## NOTES diff --git a/src/Migrate/docs/Set-AzMigrateServerReplication.md b/src/Migrate/docs/Set-AzMigrateServerReplication.md index e3452e2e0c60..e8e63e2fd1c0 100644 --- a/src/Migrate/docs/Set-AzMigrateServerReplication.md +++ b/src/Migrate/docs/Set-AzMigrateServerReplication.md @@ -314,7 +314,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem +### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob ## NOTES diff --git a/src/Migrate/docs/Start-AzMigrateServerMigration.md b/src/Migrate/docs/Start-AzMigrateServerMigration.md index 7f184d473bcc..643659d090c0 100644 --- a/src/Migrate/docs/Start-AzMigrateServerMigration.md +++ b/src/Migrate/docs/Start-AzMigrateServerMigration.md @@ -187,7 +187,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem +### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob ## NOTES diff --git a/src/Migrate/docs/Start-AzMigrateTestMigration.md b/src/Migrate/docs/Start-AzMigrateTestMigration.md index a27332557d59..659cc93571d4 100644 --- a/src/Migrate/docs/Start-AzMigrateTestMigration.md +++ b/src/Migrate/docs/Start-AzMigrateTestMigration.md @@ -237,7 +237,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem +### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob ## NOTES diff --git a/src/Migrate/docs/Start-AzMigrateTestMigrationCleanup.md b/src/Migrate/docs/Start-AzMigrateTestMigrationCleanup.md index deddf7c6efb7..e78a49740be9 100644 --- a/src/Migrate/docs/Start-AzMigrateTestMigrationCleanup.md +++ b/src/Migrate/docs/Start-AzMigrateTestMigrationCleanup.md @@ -195,7 +195,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem +### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob ## NOTES