PowerShell 5 yog dab tsi?
PowerShell 5 yog dab tsi?

Video: PowerShell 5 yog dab tsi?

Video: PowerShell 5 yog dab tsi?
Video: PowerShell! Moving Files and Directories 2024, Kaum ib hlis
Anonim

PowerShell thiab Windows versions ^

PowerShell Version Hnub tso tawm Default Qhov rai Versions
PowerShell 3.0 Cuaj hlis 2012 Qhov rai 8 Qhov rai Server 2012
PowerShell 4.0 Lub Kaum Hli 2013 Qhov rai 8.1 Qhov rai Server 2012 R2
PowerShell 5 .0 Lub Ob Hlis 2016 Qhov rai 10
PowerShell 5 .1 Lub Ib Hlis 2017 Qhov rai 10 Xyoo Hloov Tshiab Qhov rai Server 2016

Tom qab ntawd, ib tug kuj yuav nug, kuv yuav siv PowerShell version twg?

99.99% ntawm lub sijhawm, koj yuav tsum yuav khiav qhov tseeb version . Txog hnub no, qhov ntawd version yog 4. Yog tias koj tab tom khiav Windows 8.1/Server 2012 R2, PowerShell 4 yog ntsia los ntawm lub neej ntawd. Yog tias koj tab tom khiav Windows 7 / Server 2008 (lossis R2), koj ua tau (thiab yuav tsum ) upgrade rau version 4.

Ib tug kuj yuav nug, yog PowerShell tuag? Cov lus teb luv luv yog, tsis yog nws tsis yog tuag , tab sis tsis muaj kev npaj los qhia txog kev ua haujlwm tshiab. Qhov rai PowerShell tseem txhawb nqa lub Windows OS lub neej voj voog. Yog koj tab tom txhim kho PowerShell : Koj yuav tsum pib tsim nrog PowerShell Core, yog tias koj tsis tsim cov haujlwm ua haujlwm, Snap-Ins thiab WMIv1.

Ib tug kuj yuav nug, puas yog PowerShell 5 rov qab tau tshaj?

Qhov rai PowerShell 5.0 yog rov qab - sib haum . Cmdlets, cov chaw muab kev pabcuam, modules, snap-ins, scripts, functions, thiab profiles uas tau tsim rau Windows PowerShell 4.0, Windows PowerShell 3.0, thiab Windows PowerShell 2.0 feem ntau ua haujlwm hauv Windows PowerShell 5.0 tsis muaj kev hloov pauv.

PowerShell ntsia qhov twg?

Powershell .exe nyob hauv subfolder ntawm C:WindowsSystem32-feem ntau C:WindowsSystem32WindowsPowerShellv1. 0.

Pom zoo: