Sida loo arko taariikhda amarka PowerShell ee Windows 10
Windows PowerShell waxay leedahay qaab- dhismeed Taariikhda(History) oo xasuusata dhammaan amarradii aad fulisay markii aad isticmaalaysay. In kasta oo ay tahay in la xasuusto Taariikhda(History) fadhiga firfircoon, waxaan arkaa in ay sii hayso wax ka badan intaas. Maqaalkan, waxaan ku tusi doonaa sida aad u arki karto taariikhda(History) amarka PowerShell oo aad u isticmaasho si caqli-gal ah.
Sida loo arko Taariikhda Command PowerShell(PowerShell Command History)
Faa'iidada ugu muhiimsan ee haysashada astaanta Taariikhdu waa inaadan mar kale qorin si aad u fuliso amar gaar ah oo aad mar hore fulisay. Si kastaba ha ahaatee, ku soo noqnoqda iyada oo loo marayo boqollaal amar maaha wax badan oo caawin ah. Ka warran ka dhex raadinta iyaga ama maamula amar gaar ah oo aad qayb ahaan xasuusato? Raac hababkan.
- Habka Kiiboodhka
- Ka raadi horay(Search Forward) ama gadaal u soco Taariikhda (PowerShell History)PowerShell(Backward)
- Daawo(View) dhamaan Taariikhda fadhigan
- Ka wac(Invoke) amar gaar ah oo ka yimid taliska PowerShell History
- Ka dhex raadi Taariikhda
Dhammaadkii, waxaanu sidoo kale sharaxnay sida aad u nadiifin karto, u dhoofin karto, oo aad u soo dejisan lahayd taariikhda (History)taliska PowerShell . Aad u anfacaya haddii aad u baahan tahay inaad fuliso amarro isku mid ah marar badan.
1] Habka Kiiboodhka
Waan hubaa inaad isticmaashay Command Prompt mar haddii aad muddo isticmaashay Windows . Haddii aad isticmaasho furayaasha fallaadha kor iyo hoos, waxaad dib ugu noqon kartaa amarada la fuliyay. Isla sidaas oo kale ayaa quseysa PowerShell sidoo kale. Laakiin halkan waa qalloocan. Haddii aad qayb ahaan amar xasuusato, halkan waa sida loo raadiyo.
- Ku qor(Type) qayb ka mid ah amarka aad xasuusato
- Riix F8(Press F8) , oo sii wad ilaa aad ka hesho.
- Erayga goobista waxa lagu iftiimin doonaa cagaar-folescent, oo ay ku xigto amarka intiisa kale.
Ciladda kaliya ayaa ah in ereyga raadinta uu noqdo bilowga amarka.
2] Horay(Search Forward) ama Dib u(Backward) raadi Taariikhda(History)
Haddii aad rabto in aad horay ama gadaal u raadiso Taariikhda(History) , markaas waxaad isticmaali kartaa Ctrl + R iyo Ctrl + S. Kan hore wuxuu kuu ogolaanayaa inaad dib u raadiso Taariikhda(History) halka ka dambe uu hore u socdo. Isla marka aad isticmaasho furaha gaaban ee kiiboodhka, waa in aad heshaa qayb ka mid ah xagga hoose (bck-i-search ama fwd-i-search). Ku qor waxaad rabto inaad raadiso, xitaa haddii qoraalku ka tirsan yahay meel u dhaxaysa amarka, wuu raadin doonaa. Aad ayey uga wanaagsan tahay marka loo eego habka F8 ee aan kor ku isticmaalnay.
3] Arag(View) dhammaan amarka PowerShell Taariikhda(History) casharkan
Ku qor Taariikhda(Type History) , oo taabo furaha Gelida(Enter) . Waa inaad awood u leedahay inaad aragto dhammaan amarrada aad fulisay fadhiga hadda. Markaad arki karto amarrada lagu fuliyay fadhigii hore adoo isticmaalaya furayaasha fallaadha, Taariikhdu(History) ma lahaan doonto. Haddii aad riixdo furaha "H"(key “H”) oo aad ku dhufo geli, waxay muujin doontaa taariikhda(History) amarrada. U tixgeli sida soo-gaabnida amarka Taariikhda(History) .
4] Ka wac(Invoke) amar gaar ah Taariikhda
Haddii aad dareento, sawirka sare wuxuu leeyahay aqoonsi ku xiga amar kasta. Haddii aad rabto inaad ka fuliso liiska hal amar oo gaar ah, waxaad u baahan tahay inaad isticmaasho Soo-qaadista-History.(Invoke-History.)
- Ogow aqoonsiga amarka aad rabto inaadfuliso
- Nooca Invoke-History <ID>. Ku beddel <ID> lambarka saxda ah
- Riix (Press)Furaha Gelida(Enter Key) , oo waxay fulin doontaa amarkaas taariikhda(History) .
5] Ka raadi taariikhda dhexdeeda
Habka ugu fudud ee lagu raadin karo gudaha Taariikhda(History) amarrada waa in la isticmaalo habka -String Select(Select-String) on History Output .
- Ku(Get) qor kuwan soo socda, oo ku beddel ereyga aad rabto inaad raadiso
- Hel-Taariikh | Xulo- Xadhig -Qaabka "Hel."
- Waxay daaha ka qaadi doontaa dhammaan amarrada ku habboon amarada raadinta.
Tan iyo markii aad heshay aqoonsiga, waxaad isticmaali kartaa amarka Taariikhda wac(Invoke History) si aad isla markaaba ufuliso.
Nadiifi, Dhoofinta(Export) , oo Soo rar Taariikhda PowerShell(Import PowerShell History)
Si aad u tirtirto dhammaan amarrada Taariikhda(History) , waxa kaliya ee aad u baahan tahay waa inaad fulisaa amarka " Clear-History ." Ogow xitaa ka dib markaad tan sameyso, waxaad wali gali kartaa amarka adigoo isticmaalaya furayaasha kor iyo hoosba.
Si aad u dhoofiso dhammaan amarrada(export all the commands) , waxaad isticmaali kartaa Dhoofinta-Clixml ama Dhoofinta-CSV( Export-Clixml or Export-CSV) . Waa kan amarka tusaalaha
Get-History | Export-Clixml -Path <Path>\PSHistorycommands.xml Get-History | Export-Csv -Path <Path>\PSHistorycommands.csv
Si aad amarradan ugu soo celiso fadhi kale ama cusub( import these commands back to another or new session) , isticmaal amarkan soo socda.
Add-History -InputObject (Import-Clixml -Path <Path>\PSHistorycommands.xml) Add-History -InputObject (Import-Csv -Path <Path>\PSHistorycommands.csv)
Waxaad furi kartaa faylkan CSV(CSV) ama XML wakhti kasta si aad u aragto amarka PowerShell Taariikhda(History) isla markaaba. Tani waxay si qurux badan u soo koobeysaa wax kasta oo ku xeeran Taariikhda Tariikhda Talada PowerShell(PowerShell Command History) , iyo sida aad dib ugu isticmaali karto adigoo isticmaalaya cumbers ama adoo baadhaya ama dib ugu soo celinaya maalinta xigta.
Related posts
Sida loo xannibo IP ama mareegaha iyadoo la adeegsanayo PowerShell gudaha Windows 10
Sida loo helo oo loo joojiyo kamaradaha Webka adoo isticmaalaya PowerShell gudaha Windows 10
Ku beddel Command Prompt PowerShell gudaha WinX Menu of Windows 10
Sida PowerShell loogu daro Menu Context gudaha Windows 10
Sida loo helo ciwaanka IP-ga dadweynaha adoo isticmaalaya PowerShell gudaha Windows 10
4 siyaabood oo lagu nadiifiyo taariikhda Clipboard gudaha Windows 10
PicsArt waxa ay ku siisaa stickers Custom & Tafatirka 3D gaar ah Windows 10
Sida dib loogu dajiyo abka Microsoft Store iyadoo la isticmaalayo PowerShell gudaha Windows 10
Sida Loo Raadraaco Taariikhda Rooterka & La Socodka Dhaqdhaqaaqa Internetka
Ka raadi Settings gudaha Windows 10 - Ogolaanshaha, Taariikhda, Raadinta Daaqadaha
Sida loo furo .aspx files on Windows 10 computer
Sida loo soo saaro Taariikhda WiFi ama Warbixinta WLAN gudaha Windows 10
Ashampoo WinOptimizer waa software bilaash ah si kor loogu qaado Windows 10
Sida loo nadiifiyo Taariikhda Ilaalinta Difaaca Windows gudaha Windows 10
Sida loo joojiyo WiFi adoo isticmaalaya CMD ama Powershell gudaha Windows 10
Sida loo uninstall PowerShell gudaha Windows 10
Dami, Daree, Nadiifi Taariikhda Ogeysiinta Tile-ka Tooska ah ee gudaha Windows 10
3 siyaabood oo loogu badalo cinwaanka IP-ga gudaha Windows 10
Sida loo abuuro liiska barnaamijyada lagu rakibay PowerShell on Windows 10
Sida loo jadwaleeyo qoraalka PowerShell ee Jadwalka Hawsha ee Windows 10