Imiyalo eminingi kule sayithi iphakamisa ukusebenza kwe-PowerShell, ngokuvamile njengomqondisi, njengenye yezinyathelo zokuqala. Ngezinye izikhathi kulezi ziphakamiso zivela kubasebenzisi abasemuva umbuzo wokuthi ungayenza kanjani.
Le mhlahlandlela ichaza indlela yokuvula i-PowerShell, kufaka phakathi komlawuli, ku-Windows 10, 8 naku-Windows 7, kanye nokufundisa kwevidiyo, lapho zonke lezi zindlela ziboniswa khona. Kungase kube usizo: Izindlela zokuvula umyalo wokuba umlawuli.
Qala i-Windows PowerShell ne-Usesho
Isiphakamiso sami sokuqala ekusebenzeni noma yikuphi umbuso weWindows ongawazi ukugijima ukuwusebenzisa usesho, kuzosisiza njalo.
Inkinobho yokusesha isebha yomsebenzi we-Windows 10, ku-Windows 8 no-8.1, ungavula ibhokisi lokusesha ngezimpawu ze-Win + S, futhi ku-Windows 7 ungayithola kwimenyu yokuqala. Izinyathelo (isibonelo 10) ziyoba kanje.
- Kusesho, qalisa ukuthayipha i-PowerShell kuze kuvele umphumela oyifunayo.
- Uma ufuna ukugijima njengomqondisi, chofoza ngakwesokudla ku-Windows PowerShell bese ukhetha into efanele yemenyu yemongo.
Njengoba ubona, kulula futhi kufanelekile kunoma yiziphi izinguqulo zakamuva ze-Windows.
Indlela yokuvula i-PowerShell ngemenyu yokuqukethwe yenkinobho yokuqala ku-Windows 10
Uma une-Windows 10 efakwe kukhompyutha yakho, mhlawumbe indlela esheshayo yokuvula i-PowerShell ngokuchofoza ngakwesokudla inkinobho ethi "Qala" bese ukhetha into efunwayo yemenyu (kunezinto ezimbili ngesikhathi esisodwa - ukuqaliswa kalula futhi egameni lomlawuli). Imenyu efanayo ingafinyelelwa ngokucindezela izinkinobho ze-Win + X ekhibhodi.
Qaphela: uma ubona umugqa womyalo esikhundleni seWindows PowerShell kule menyu, khona-ke ungayifaka esikhundleni se-PowerShell kuzinketho - Ukuzenzela - I-Taskbar, kufaka phakathi "Faka esikhundleni selayini yomyalo nge-Windows Powershell" inketho (kuzinguqulo zamuva ze-Windows 10 inketho inikwe amandla ngokuzenzakalelayo)
Run PowerShell usebenzisa ingxoxo yokuqalisa
Enye indlela elula yokuqala i-PowerShell ukusebenzisa iWindows Run:
- Cindezela okhiye be-Win + R ekhibhodi.
- Ngena amandlahell bese ucindezela u-Enter noma u-OK.
Ngesikhathi esifanayo, ku-Windows 7, ungasetha uphawu lokuqalisa njengomqondisi, futhi kunguqulo yakamuva ye-Windows 10, uma ucindezela i-Ctrl + Shift ngenkathi ucindezela u-Enter noma u-Ok, khona-ke umbuso uqala njengomlawuli.
Imfundo yevidiyo
Ezinye izindlela zokuvula i-PowerShell
Ngezansi akuzona zonke izindlela zokuvula iWindows PowerShell, kodwa ngiyaqiniseka ukuthi bayoba ngokwanele. Uma kungenjalo, ke:
- Ungathola i-PowerShell kwimenyu yokuqala. Ukuze usebenze njengomlawuli, sebenzisa imenyu yokuqukethwe.
- Ungasebenzisa ifayela le-exe kufolda C: Windows System32 WindowsPowerShell. Ngamalungelo okuphatha, ngokufanayo, sebenzisa imenyu kokuchofoza kwesokudla kwegundane.
- Uma ufaka amandlahell emgqeni wokulayela, ithuluzi elidingekile lizoqaliswa (kodwa ku-interface yomyalo wokulawula). Uma ngesikhathi esisodwa umlayini wokulayishwa ugijimiswa njengomphathi, i-PowerShell izosebenza njengomphathi.
Futhi, kwenzeka ukuthi abantu babuze ukuthi yini i-PowerShell ISE ne-PowerShell x86, okuyiyo, isibonelo, uma usebenzisa indlela yokuqala. Impendulo yilezi: I-PowerShell ISE - PowerShell Integrated Scripting Environment. Eqinisweni, ingasetshenziselwa ukwenza yonke imiyalo efanayo, kodwa, ngaphezu kwalokho, inezici ezingeziwe ezenza ukuthi zisebenze ngamashikripthi we-PowerShell (usizo, amathuluzi okulungisa, ukufaka umbala, okhiye abashisayo, njll). Futhi, izinguqulo ze-x86 ziyadingeka uma usebenza ngezinto ezingu-32-bit noma nge-x86 system eyikude.