Yuav Pib Powershell Li Cas

Cov txheej txheem:

Yuav Pib Powershell Li Cas
Yuav Pib Powershell Li Cas

Video: Yuav Pib Powershell Li Cas

Video: Yuav Pib Powershell Li Cas
Video: Yuav pib ua lag luam Online li cas...?#LeeAcademy 2024, Kaum ib hlis
Anonim

Windows Powershell (yav dhau los Monad) yog Windows Server cov cuab yeej tswj hwm tso tawm los ntawm Microsoft. Powershell cov ntawv sau tuaj yeem raug tsim los siv tej kab ntawv nyeem uas sau nyob rau hauv lub plhaub. Txhawm rau pib Powershell, saib cov lus qhia.

Yuav pib Powershell li cas
Yuav pib Powershell li cas

Cov Lus Qhia

Kauj ruam 1

Qhib lub ntsiab Powershell lub nplooj ntawv. Cov ntawv txuas rau nplooj ntawv yog https://www.microsoft.com/ windowsserver2003 / thev naus laus zis / tswj hwm / powershell / default.mspx. Nws muaj cov lus qhia ua ntej thiab kev txuas rau Powershell cov peev txheej tseem ceeb.

Kauj ruam 2

Rub tawm Powershell los ntawm https://www.microsoft.com/downloads/ details.aspx? FamilyId = 2B0BBFCD-0797-4083-A817-5E6A054A85C9 thiab tom qab ntawd nruab rau nws.

Kauj ruam 3

Rub tawm Powershell cov ntaub ntawv pov thawj, uas suav nrog kev qhia ntxiv: Tsab Ntawv Tracing, Pib Cov Lus Qhia, thiab Powershell Cov Lus Qhia Kev Siv Tus Neeg Siv. Koj tuaj yeem rub tawm pob ntawv cov ntawv pov thawj ntawm https://www.microsoft.com/downloads/ details.aspx? FamilyId = B4720B00-9A66-430FBD56-EC48BFCA154F.

Kauj ruam 4

Nrog Powershell tau nruab thiab cov ntaub ntawv pov thawj rub tawm, pib tso lub plhaub cov lus txib, uas yog siv los ua Powershell cov lus txib thiab cov ntawv sau. Nyem sab laug nas khawm ntawm "Pib" zaub mov-> "Txhua Qhov Kev Pab Cuam" thiab xaiv cov khoom hu ua Windows Powershell.

Kauj ruam 5

Yog tias koj tsis tau paub nrog Powershell cov lus txib tsis tau, qhov kev pab hais kom ua yuav pab koj:

PS C: / temp> tau-pab.

Kauj Ruam 6

Feem ntau ntawm cov lus txib muaj cov npe tshiab, tab sis cov npe ntawm qee qhov ntawm lawv yog cov paub rau koj: cd, ps, dir, luam, tua, hom, ren, mount, ncha.

Kauj Ruam 7

Powershell cov lus txib yog suav ua ke hu ua cmdlets. Lawv muab kev ua haujlwm ntawm txhua yam kev ua nrog lub kaw lus, los ntawm kev mus rau kev nkag mus rau cov peev txheej. Tag nrho cov lus txib yog tua los ntawm Powershell kab kab lossis hauv ib tsab ntawv. Txhawm rau pom cov npe ntawm tag nrho cov lus txib, nkag mus rau cov lus txib nram qab no:

PS C: / temp> tau-hais kom ua.

Kauj ruam 8

Qhov kawg uas kuv xav tham txog yog qhov kev txiav txim tsis siv. Feem ntau ntawm lawv muab lub peev xwm los qhia cov kev txwv uas txiav txim siab ua haujlwm ntawm cmdlets. Tej qhov parameter tsis tas ua ntej los ntawm kev tsoo. Txhawm rau saib cov kev ntsuas ntawm cov lus txib tshwj xeeb, koj yuav tsum nkag mus rau nws thiab tso tus cim "-?" Cim tom kawg. Xav txog qhov tau-psdrive: kom pom cov npe ntawm cov kev xaiv muaj rau ib qho kev hais kom ua, sau rau hauv qab no:

PS C: / temp> tau-psdrive -?.

Pom zoo: