Get-AppxDefaultVolume

Get-AppxDefaultVolume

Gets the default appx volume.

Syntax

Get-AppxDefaultVolume [ <CommonParameters>]

Detaillierte Beschreibung

The Get-AppxDefaultVolume cmdlet gets the default AppxVolume. The default AppxVolume is the default target for all deployment operations on the computer. You cannot remove the default AppxVolume from the list of volumes.

Parameter

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer und -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die Sie per Piping an das Cmdlet übergeben können.

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

  • Microsoft.Appx.PackageManager.Commands.AppxVolume

Beispiele

Example 1: Get the default volume

This command gets the current default deployment target.

PS C:\> Get-AppxDefaultVolume

Verwandte Themen

Set-AppxDefaultVolume