Mauthenga ambiri pa tsamba ili akusonyeza kuti imakhala ndi PowerShell, nthawi zambiri ngati woyang'anira, ngati imodzi mwa masitepe oyambirira. Nthawi zina mu ndemanga zikuwonekera kuchokera kwa ogwiritsa ntchito ntchito zachinsinsi funso la momwe angachitire.
Tsamba ili likufotokoza momwe mungatsegule PowerShell, kuphatikizapo kuchokera ku administrator, mu Windows 10, 8 ndi Windows 7, komanso mavidiyo, pomwe njira zonsezi zikuwonetsedwa. Zingakhalenso zothandiza: Njira zowatsegulira lamulo monga woyang'anira.
Yambitsani Windows PowerShell ndi Fufuzani
Ndondomeko yanga yoyamba pogwiritsa ntchito mawindo onse a Windows omwe simukudziwa kuyendetsa ndikugwiritsa ntchito kufufuza, nthawi zonse zimathandiza.
Bokosi lofufuzira lili pa baruti a Windows 10, mu Windows 8 ndi 8.1, mukhoza kutsegula bokosi lofufuzira ndi makiyi a Win + S, ndipo mu Windows 7 mukhoza kulipeza muyambidwe. Masitepe (mwachitsanzo 10) adzakhala motere.
- Mufufuzi, yambani kuyika PowerShell mpaka zotsatira zowoneka zikuwonekera.
- Ngati mukufuna kuthamanga monga wotsogolera, dinani pomwepa pa Windows PowerShell ndipo sankhani choyenera cha menyu.
Monga mukuonera, ndi losavuta komanso loyenera kwa mawindo atsopano a Windows.
Momwe mungatsegule PowerShell kudzera mndandanda wa masewero a Start Start mu Windows 10
Ngati muli ndi Windows 10 yomwe imayikidwa pa kompyuta yanu, mwinamwake njira yowonjezera kutsegula PowerShell ndi kulumikiza molondola pa batani "Yambani" ndikusankha chinthu chofunidwa pamasom'pamaso (pali zinthu ziwiri panthawi imodzi - pofuna kuwunikira mosavuta ndi m'malo mwa wotsogolera). Menyu yomweyi ingapezedwe mwa kukanikiza makiyi a Win + X pa makiyi.
Zindikirani: ngati muwona mzere wa lamulo mmalo mwa Windows PowerShell mu menyuyi, ndiye mutha kuwatsitsimutsa ndi PowerShell mu Zosankha - Kukhazikitsa - Taskbar, kuphatikizapo "Bwerezerani mzere wa lamulo ndi Windows Powershell". chisankho chiripo mwachinsinsi).
Kuthamanga PowerShell pogwiritsa ntchito kukambirana kukambirana
Njira yowonjezera yowonjezera PowerShell ndiyo kugwiritsa ntchito mawindo othamanga:
- Dinani makiyi a Win + R pa kibokosilo.
- Lowani powerhell ndipo pezani Enter kapena OK.
Panthawi imodzimodziyo, mu Windows 7, mukhoza kukhazikitsa kukhazikitsidwa monga woyang'anira, ndipo muwatsopano wa Windows 10, ngati mutsegula Ctrl + Shift pamene mukukanikiza kulowa kapena Ok, ndiye kuti ntchitoyo imayambanso monga woyang'anira.
Malangizo a Video
Njira zina zowatsegula PowerShell
Pamwamba si njira zonse zowatsegula Windows PowerShell, koma ndikudziwa kuti zidzakhala zokwanira. Ngati ayi, ndiye:
- Mukhoza kupeza PowerShell kumayambiriro. Kuti muthe monga woyang'anira, gwiritsani ntchito menyu yoyenera.
- Mutha kuyendetsa fayilo ya exe mu foda C: Windows System32 WindowsPowerShell. Kwa ufulu wotsogolera, mofananamo, gwiritsani ntchito menyu pamanja yolondola.
- Ngati mutalowa powerhell mu lamulo la mzere, chida chofunikira chidzayambidwenso (koma mu lamulo lolowera mzere). Ngati nthawi yomweyo lamulo loyendetsa ntchito likuyendetsedwa ngati woyang'anira, PowerShell adzagwira ntchito monga woyang'anira.
Komanso, zimachitika kuti anthu amafunsa PowerShell ISE ndi PowerShell x86, zomwe ziri, mwachitsanzo, pogwiritsa ntchito njira yoyamba. Yankho ndi: PowerShell ISE - PowerShell Integrated Scripting Environment. Ndipotu, ikhoza kugwiritsidwa ntchito kupanga malamulo omwewo, koma, kuphatikizapo, ili ndi zida zina zomwe zimathandiza kugwira ntchito ndi PowerShell zolemba (chithandizo, zida zowonongeka, zolemba, zolemba zowonjezera, etc.). Komanso, maofesi a x86 amafunika ngati mutagwira ntchito ndi zinthu 32-bit kapena ndi system ya kutalika ya x86.