Windows PowerShell command on Get-command Set-AppPackageDefaultVolume
MyWebUniversity

Windows PowerShell command on Get-command Set-AppPackageDefaultVolume

NAME

Set-AppxDefaultVolume

SYNOPSIS

Specifies a default appx volume.

SYNTAX

Set-AppxDefaultVolume [-Volume] [-Confirm] [-WhatIf] []

DESCRIPTION

The Set-AppxDefaultVolume cmdlet specifies a default AppxVolume . The default AppxVolume is the default target for

all deployment operations on the computer. Deployment operations can specify a different non-default target volume.

PARAMETERS

-Volume

Specifies the path a volume. This cmdlet sets the volume that this parameter specifies to be the default deployment target for the computer. Required? true Position? 1 Default value None

Accept pipeline input? True (ByPropertyName, ByValue)

Accept wildcard characters? false

-Confirm []

Prompts you for confirmation before running the cmdlet. Required? false Position? named Default value False Accept pipeline input? False Accept wildcard characters? false

-WhatIf []

Shows what would happen if the cmdlet runs. The cmdlet is not run. Required? false Position? named Default value False Accept pipeline input? False Accept wildcard characters? false This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES

Example 1: Set a default volume by using a path

PS C:\> Set-AppxDefaultVolume -Volume F:\

This command sets the default volume to be the volume F:\.

Example 2: Set a default volume by using an ID

PS C:\> Set-AppxDefaultVolume -Volume {ef23c8d6-b13c-4c4c-ae3b-7d5a162de9b9}

This command sets the default volume to be the one that has the specified media ID.

RELATED LINKS

Get-AppxDefaultVolume



Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 OurUNIX.com ™