Edit

Share via


Set-AppvClientMode

Sets the mode in which the client runs.

Syntax

Normal

Set-AppvClientMode
    [-Normal]
    [<CommonParameters>]

Uninstall

Set-AppvClientMode
    [-Uninstall]
    [<CommonParameters>]

Description

The Set-AppvClientMode cmdlet sets the mode in which the client runs. By default, the cmdlet is set to Normal and the Microsoft Application Virtualization (App-V) Client runs normally. If the Uninstall parameter is specified, the App-V Client prevents all client activity from happening which includes adding and publishing packages and creating virtual environments.

Parameters

-Normal

Indicates that the App-V Client functions normally. This means all adding and publishing of App-V packages and creating of Virtual environments function normally.

Parameter properties

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

Parameter sets

Normal
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Uninstall

Indicates that this cmdlet prevents the App-V Client from adding and publishing packages or creating any virtual environments. This is set to enable an uninstall of the App-V Client to correctly occur.

Parameter properties

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

Parameter sets

Uninstall
Position:Named
Mandatory:True
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.