PowerShell Previewን ያለ ጥያቄ ለመጫን፣ መልሶ ለማራገፍ እና ከማሰማሪያ መሣሪያዎች ለማወቅ የሚያገለግሉ ትዕዛዞች። ትዕዛዝ የሚታየው እርግጠኛ ሲሆን ብቻ ነው፦ ከማኒፌስቱ ወይም ከጫኚው ቴክኖሎጂ የተመዘገበ ነባሪ።
ተዛማጅ መመሪያ: የጸጥ ያለ ጭነት መቀየሪያዎች፦ MSI፣ NSIS፣ Inno Setup · ፕሮግራምን በመዝገብ (Registry) ወይም በPowerShell ማራገፍ
በwinget
PowerShell
winget install --id Microsoft.PowerShell.Preview -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.PowerShell.Preview -e --silentwinget uninstall --id Microsoft.PowerShell.Preview -e --silentበጫኚ
64-bit · MSIX
ጸጥ ያለ ጭነት
Add-AppxPackage -Path PowerShellPreview-7.7.0-preview.5.msixbundleማራገፍ
Get-AppxPackage -Name Microsoft.PowerShellPreview | Remove-AppxPackageARM64 · MSIX
ጸጥ ያለ ጭነት
Add-AppxPackage -Path PowerShellPreview-7.7.0-preview.5.msixbundleማራገፍ
Get-AppxPackage -Name Microsoft.PowerShellPreview | Remove-AppxPackage32-bit · MSIX
ጸጥ ያለ ጭነት
Add-AppxPackage -Path PowerShellPreview-7.7.0-preview.5.msixbundleማራገፍ
Get-AppxPackage -Name Microsoft.PowerShellPreview | Remove-AppxPackagePowerShell፦ አውርድ፣ አረጋግጥ፣ ጫን
ይፋዊውን ፋይል ያወርዳል፣ SHA256ን ያረጋግጣል እና በጸጥታ ይጭነዋል።
install-powershell-preview.ps1
$url = 'https://github.com/PowerShell/PowerShell/releases/download/v7.7.0-preview.5/PowerShellPreview-7.7.0-preview.5.msixbundle'
$sha256 = 'A7F88673E17F064F8E5A21B1A2A98DC142ACAAB20AFADD8212934BD4CB2DC0C3'
$file = Join-Path $env:TEMP 'PowerShellPreview-7.7.0-preview.5.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-powershell-preview.ps1
$url = 'https://github.com/PowerShell/PowerShell/releases/download/v7.7.0-preview.5/PowerShellPreview-7.7.0-preview.5.msixbundle'
$sha256 = 'A7F88673E17F064F8E5A21B1A2A98DC142ACAAB20AFADD8212934BD4CB2DC0C3'
$file = Join-Path $env:TEMP 'PowerShellPreview-7.7.0-preview.5.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-powershell-preview.ps1
$url = 'https://github.com/PowerShell/PowerShell/releases/download/v7.7.0-preview.5/PowerShellPreview-7.7.0-preview.5.msixbundle'
$sha256 = 'A7F88673E17F064F8E5A21B1A2A98DC142ACAAB20AFADD8212934BD4CB2DC0C3'
$file = Join-Path $env:TEMP 'PowerShellPreview-7.7.0-preview.5.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file