Yuav pib Windows PowerShell li cas

Pin
Send
Share
Send

Ntau ntawm cov lus qhia ntawm lub xaib no muaj ib qho ntawm thawj kauj ruam los tsim PowerShell, feem ntau yog ua thawj coj. Qee lub sij hawm hauv cov lus pom muaj cov lus nug los ntawm cov neeg siv novice txog kev ua qhov no.

Cov lus qhia no qhia meej txog yuav ua li cas qhib PowerShell, suav nrog tus thawj coj, hauv Windows 10, 8, thiab Windows 7, nrog rau cov lus qhia ua video uas txhua txoj kev qhia no qhia meej meej. Nws kuj tseem pab tau: Txoj hauv kev qhib kev hais kom ua tus tswj hwm.

Pib Windows PowerShell Nrog Kev Tshawb Nrhiav

Kuv qhov kev pom zoo ua ntej txog cov ncauj lus ntawm kev siv Windows Windows utility uas koj tsis paub yuav ua li cas khiav yog siv kev tshawb, nws yuav pab tau tas li.

Lub khawm nrhiav yog nyob rau ntawm Windows 10 taskbar, hauv Windows 8 thiab 8.1 koj tuaj yeem qhib daim teb tshawb nrhiav nrog Win + S cov yuam sij, thiab hauv Windows 7 nrhiav nws hauv Start menu. Cov kauj ruam (piv txwv li 10s) yuav yog cov hauv qab no.

  1. Hauv kev tshawb, pib ntaus PowerShell kom txog thaum pom qhov txiaj ntsig xav tau.
  2. Yog tias koj xav khiav ua cov thawj tswj hwm, tau nyem rau ntawm Windows PowerShell thiab xaiv cov khoom siv hauv cov ntawv ntsiab lus tsim nyog.

Raws li koj tuaj yeem pom, nws yooj yim heev thiab haum rau ib qho ntawm cov kho tshiab cov tshiab ntawm Windows.

Yuav ua li cas qhib PowerShell los ntawm cov ntawv qhia zaub mov ntawm Start khawm hauv Windows 10

Yog tias Windows 10 raug teeb tsa ntawm koj lub khoos phis tawm, tom qab ntawd tej zaum tseem yog txoj hauv kev yooj yim dua los qhib PowerShell yog txoj nyem rau "Pib" khawm thiab xaiv cov khoom lag luam uas xav tau (muaj ob yam hauv ib zaug - rau kev yooj yim thiab ua haujlwm ntawm tus thawj tswj hwm). Cov ntawv qhia zaub mov qub tuaj yeem hu los ntawm nias Win + X yuam sij ntawm cov keyboard.

Nco tseg: yog tias nyob hauv cov ntawv qhia no koj pom cov kab hais kom ua tsis yog Windows PowerShell, tom qab ntawd koj tuaj yeem hloov nws nrog PowerShell, yog tias koj xav tau, hauv Options - Personalization - Taskbar, suav nrog qhov kev xaiv "Hloov cov kab hais kom ua nrog Windows Powershell" (hauv cov kho tshiab tsis ntev los no ntawm Windows 10 kev xaiv siv lub sijhawm ua haujlwm).

Tua tawm PowerShell Siv Txoj Haujlwm Dialog

Lwm txoj hauv kev yooj yim los tsim PowerShell yog siv lub Qhov Cais Dhia:

  1. Nias Win + R yuam sij ntawm cov keyboard.
  2. Sau powershell thiab nias Enter lossis Ok.

Tib lub sijhawm, nyob rau hauv Windows 7, koj tuaj yeem tsim lub cim pib ua tus thawj coj, thiab hauv Windows 10 tshiab tshaj plaws, yog tias koj nias Ctrl lossis Shift thaum nias nkag lossis Ok, lub chaw tso hluav taws xob tseem yuav raug tsim ua thawj coj.

Kev qhia video

Lwm Txoj Kev Qhib PowerShell

Tsis yog txhua txoj hauv kev los qhib Windows PowerShell muaj npe saum toj no, tab sis kuv nco ntsoov tias lawv yuav muaj txaus. Yog tsis yog, ces:

  • Koj tuaj yeem pom PowerShell hauv lub tshuab raj pib. Txhawm rau khiav ua tus tswj hwm, siv cov ntawv qhia ua haujlwm.
  • Yuav khiav cov ntaub ntawv exe hauv ntawv tais ceev tseg C: Windows System32 WindowsPowerShellCov. Rau cov cai ntawm cov thawj coj, zoo ib yam, peb siv txoj cai ntawv qhia zaub mov.
  • Yog koj nkag mus powershell ntawm cov kab hais kom ua, qhov cuab yeej xav tau tseem yuav tsim tawm (tab sis nyob rau hauv kab hais kom ua interface). Yog tias nyob rau tib lub sijhawm cov kab lus txib tau khiav ua tus thawj coj, ces PowerShell tseem yuav ua tus thawj coj saib xyuas.

Tsis tas li, nws tshwm sim, lawv nug dab tsi PowerShell ISE thiab PowerShell x 86 yog, uas yog, piv txwv li, thaum siv thawj hom. Kuv cov lus teb yog: PowerShell ISE - "PowerShell Integrated Scripting Environment". Qhov tseeb, nws tuaj yeem siv rau kev coj ua txhua cov lus txib tib yam, tab sis, ntxiv rau, nws muaj cov haujlwm ntxiv uas ua rau kev ua haujlwm nrog PowerShell scripts yooj yim dua (kev pab, debugging cov cuab yeej, xim cim, ntxiv viav vias, thiab lwm yam). Nyeg, x 86 cov qauv yog xav tau yog tias koj ua haujlwm nrog 32-ntsis khoom lossis nrog lub xoom x 86 kom deb.

Pin
Send
Share
Send