你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Set-AipServiceMigrationUrl
Sets a migration URL for Azure Information Protection.
Syntax
Set-AipServiceMigrationUrl
-Domain <String>
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Set-AipServiceMigrationUrl cmdlet sets a migration URL for Azure Information Protection.
You must use PowerShell to set the migration URL; you cannot do this action by using a management portal.
Setting a migration URL for newly protected content can help you to migrate from Azure Information Protection to a supported on-premises server. Do not use this cmdlet in isolation but in conjunction with the instructions from Decommissioning and deactivating protection for Azure Information Protection.
Examples
Example 1: Set a migration URL
PS C:\>Set-AipServiceMigrationUrl -Domain "aadrm.online.contoso.com"
This command sets a migration URL for Azure Information Protection.
Parameters
Prompts you for confirmation before running the cmdlet.
| Type: | SwitchParameter |
| Aliases: | cf |
| Position: | Named |
| Default value: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Specifies a URL for the domain to migrate.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Indicates that the cmdlet sets the value of the migration URL even if there is an existing migration URL.
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
| Type: | SwitchParameter |
| Aliases: | wi |
| Position: | Named |
| Default value: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |