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
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Domain
Specifies a URL for the domain to migrate.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Force
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 |
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: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |