Editar

Partilhar via


Reset-AppSharedPackageContainer

Destroys all the application data of the container.

Syntax

Reset-AppSharedPackageContainer
     [-Name] <String>
     [-Force]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]

Description

The cmdlet destroys all the application data of the container, including the virtual files and registry keys.

Examples

Example 1

Reset-AppSharedPackageContainer -Name ContosoTestContainer

This command clears all the application data of the shared package container ContosoTestContainer.

Parameters

-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

-Force

Skips asking for confirmation.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

The name of the container.

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet isn't run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String

Outputs

Object