8,330 questions
Try this:
(Get-AppXPackage quickassist).Version
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
When I run the command [Get-AppXPackage quickassist], it shows the result below. Which parameter should I use so that it only shows the "Version" line?
Name : Microsoft.Windows.NarratorQuickStart
Publisher : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture : Neutral
ResourceId : neutral
Version : 10.0.19041.1023
PackageFullName : Microsoft.Windows.NarratorQuickStart_10.0.19041.1023_neutral_neutral_8wekyb3d8bbwe
InstallLocation : C:\Windows\SystemApps\microsoft.windows.narratorquickstart_8wekyb3d8bbwe
IsFramework : False
PackageFamilyName : Microsoft.Windows.NarratorQuickStart_8wekyb3d8bbwe
PublisherId : 8wekyb3d8bbwe
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
NonRemovable : True
IsPartiallyStaged : False
SignatureKind : System
Status : Ok
Name : MicrosoftCorporationII.QuickAssist
Publisher : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture : X64
ResourceId :
Version : 2.0.15.0
PackageFullName : MicrosoftCorporationII.QuickAssist_2.0.15.0_x64__8wekyb3d8bbwe
InstallLocation : C:\Program Files\WindowsApps\MicrosoftCorporationII.QuickAssist_2.0.15.0_x64__8wekyb3d8bbwe
IsFramework : False
PackageFamilyName : MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe
PublisherId : 8wekyb3d8bbwe
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
NonRemovable : False
Dependencies : {Microsoft.VCLibs.140.00.UWPDesktop_14.0.30704.0_x64__8wekyb3d8bbwe,
MicrosoftCorporationII.QuickAssist_2.0.15.0_neutral_split.language-pt_8wekyb3d8bbwe,
MicrosoftCorporationII.QuickAssist_2.0.15.0_neutral_split.scale-100_8wekyb3d8bbwe}
IsPartiallyStaged : False
SignatureKind : Store
Status : Ok
Try this:
(Get-AppXPackage quickassist).Version
Hello Darien Chiba,
Besides extracting only version with (Get-AppXPackage quickassist]).version line, I can recommend using with a simple script in order to achieve other maintenance tasks such as removing a package if doesn't met a version:
[version]$version=(get-appxpackage -Name *Microsoft.WindowsCalculator* -Allusers).Version
If ($Version -eq [version]"11.2210.0.0")
{
"Minimum version met"
}
ElseIf ($Version -lt [version]"11.2210.0.0")
{
Remove-AppxPackage -Package $version -Allusers
}
--If the reply is helpful, please Upvote and Accept as answer--
Hello Darien Chiba,
Besides extracting only version with (Get-AppXPackage quickassist]).version line, I can recommend using with a simple script in order to achieve other maintenance tasks such as removing a package if doesn't met a version:
[version]$version=(get-appxpackage -Name *Microsoft.WindowsCalculator* -Allusers).Version
If ($Version -eq [version]"11.2210.0.0")
{
"Minimum version met"
}
ElseIf ($Version -lt [version]"11.2210.0.0")
{
Remove-AppxPackage -Package $version -Allusers
}
--If the reply is helpful, please Upvote and Accept as answer--