Cov txheej txheem:

Dab tsi cmdlet siv hauv Windows PowerShell los pib qhov kev pabcuam?
Dab tsi cmdlet siv hauv Windows PowerShell los pib qhov kev pabcuam?

Video: Dab tsi cmdlet siv hauv Windows PowerShell los pib qhov kev pabcuam?

Video: Dab tsi cmdlet siv hauv Windows PowerShell los pib qhov kev pabcuam?
Video: PowerShell! Переименование файлов 2024, Kaum ib hlis
Anonim

Rau pib los yog nres a kev pabcuam dhau PowerShell , koj tuaj yeem siv lub Pib - Kev pabcuam los yog Nres Service cmdlet , ua raws li lub npe kev pabcuam uas koj xav tau pib los yog nres. Piv txwv li, koj tuaj yeem nkag mus rau Stop- Kev pabcuam DHCP lub Pib - Kev pabcuam DHCP.

Tsis tas li, kuv yuav sau cov kev pabcuam hauv PowerShell li cas?

Siv lub Get- Service PowerShell cmdlet, koj tuaj yeem tsim ib qho lis ntawm Windows Kev pabcuam khiav ntawm koj lub computer Windows 10/8/7. Qhib qhov siab PowerShell console, ntaus Get- Kev pabcuam thiab ntaus Enter. Koj yuav pom a lis ntawm tag nrho cov Kev pabcuam ntsia koj lub Windows system.

Ib sab saum toj, qhov kev pabcuam pib yog dab tsi? Kev piav qhia. Cov Pib - Kev pabcuam cmdlet xa ib pib lus rau Windows Kev pabcuam Controller rau txhua qhov teev tseg kev pabcuam . Koj tuaj yeem teev cov kev pabcuam ntawm lawv kev pabcuam cov npe lossis cov npe tso saib, lossis koj tuaj yeem siv InputObject parameter los muab a kev pabcuam khoom uas sawv cev rau kev pabcuam uas koj xav tau pib.

Kuj kom paub yog, PowerShell cmdlet yog dab tsi los rov pib qhov kev pabcuam?

Cov Rov pib dua - Service cmdlet xa cov lus nres thiab tom qab ntawd pib cov lus rau Windows Kev pabcuam Controller rau ib qho kev qhia kev pabcuam . Yog ib kev pabcuam twb nres lawm, nws yog pib yam tsis tau ceeb toom koj txog qhov yuam kev.

Kuv yuav yuam kom qhov kev pabcuam pib manually li cas?

Txheej txheem

  1. Nyem rau Start menu.
  2. Nyem Khiav los yog hauv qhov kev tshawb nrhiav bar hom kev pabcuam.
  3. Nias Enter.
  4. Nrhiav cov kev pabcuam thiab tshawb xyuas Cov Khoom Siv thiab txheeb xyuas nws lub npe pabcuam.
  5. Thaum pom, qhib qhov hais kom ua; ntaus sc queryex [servicename]
  6. Nias Enter.
  7. Txheeb xyuas PID.

Pom zoo: