PowerShell Preview மென்பொருளை எந்தக் கேள்வியும் கேட்காமல் நிறுவவும், மீண்டும் நீக்கவும், டெப்ளாய்மென்ட் கருவிகளில் கண்டறியவும் தேவையான கட்டளைகள். உறுதியாகத் தெரிந்த கட்டளை மட்டுமே காட்டப்படும்: மேனிஃபெஸ்டிலிருந்து அல்லது நிறுவித் தொழில்நுட்பத்தின் ஆவணப்படுத்தப்பட்ட இயல்புநிலையிலிருந்து.
தொடர்புடைய வழிகாட்டி: சைலண்ட் இன்ஸ்டால் சுவிட்சுகள்: MSI, NSIS, Inno Setup · ரெஜிஸ்ட்ரி அல்லது PowerShell மூலம் மென்பொருளை நீக்குதல்
winget மூலம்
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-பிட் · MSIX
Add-AppxPackage -Path PowerShellPreview-7.7.0-preview.5.msixbundleGet-AppxPackage -Name Microsoft.PowerShellPreview | Remove-AppxPackageARM64 · MSIX
Add-AppxPackage -Path PowerShellPreview-7.7.0-preview.5.msixbundleGet-AppxPackage -Name Microsoft.PowerShellPreview | Remove-AppxPackage32-பிட் · MSIX
Add-AppxPackage -Path PowerShellPreview-7.7.0-preview.5.msixbundleGet-AppxPackage -Name Microsoft.PowerShellPreview | Remove-AppxPackagePowerShell: பதிவிறக்கம், சரிபார்ப்பு, நிறுவல்
அதிகாரப்பூர்வ கோப்பைப் பதிவிறக்கி, அதன் SHA256-ஐச் சரிபார்த்து, சைலண்டாக நிறுவுகிறது.
$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 $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 $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