Register-AzDataMigrationIntegrationRuntime
Registers Sql Migration Service on Integration Runtime
Syntax
Register-AzDataMigrationIntegrationRuntime
-AuthKey <String>
[-IntegrationRuntimePath <String>]
[-PassThru]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Registers Sql Migration Service on Integration Runtime
Examples
Example 1: Register Sql Migration Service on Self Hosted Integration Runtime
$authKeys = Get-AzDataMigrationSqlServiceAuthKey -ResourceGroupName "MyResourceGroup" -SqlMigrationServiceName "MySqlMigrationService"
Register-AzDataMigrationIntegrationRuntime -AuthKey $authKeys.AuthKey1
Start to register IR with key: IR*********************yz6=
Integration Runtime registration is successful!
This command registers Sql Migration Service on Self Hosted Integration Runtime.
Example 2: Install Integration Runtime and register a Sql Migration Service on it
$authKeys = Get-AzDataMigrationSqlServiceAuthKey -ResourceGroupName "MyResourceGroup" -SqlMigrationServiceName "MySqlMigrationService"
Register-AzDataMigrationIntegrationRuntime -AuthKey $authKeys.AuthKey1 -IntegrationRuntimePath "C:\Users\user\Downloads\IntegrationRuntime.msi"
Start Gateway installation
Succeed to install gateway
Start to register IR with key: IR*********************yz6=
Integration Runtime registration is successful!
This command installs Integration Runtime and registers a Sql Migration Service on it.
Parameters
-AuthKey
AuthKey of Sql Migration Service
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IntegrationRuntimePath
Path of SHIR msi
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PassThru
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell