Edit

Share via


Restore-UevBackup

Applies backed up settings from another computer to this computer.

Syntax

Default (Default)

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.