Bearbeiten

Freigeben über


Restore-UevBackup

Applies backed up settings from another computer to this computer.

Syntax

Restore-UevBackup
       [-ComputerName] <String>
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]

Description

The Restore-UevBackup cmdlet allows all of the backed up settings from another computer to apply to this computer. This cmdlet sets a restore flag for each user application that has a profile of Backup. The next time that such an application runs, the backed up settings apply to the application.

Examples

Example 1: Restore backed up settings from another computer

PS C:\>Restore-UevBackup -ComputerName "PattiFullerDevice03@Contoso.Com"

This command restores all backup packages from another computer. The command sets a restore flag for all applications associated with the Backup profile on this computer.

Parameters

-ComputerName

Specifies the fully qualified name of the computer from which to restore packages.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-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

-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