View
228
Download
0
Category
Preview:
Citation preview
7/29/2019 Windows Server 2008 - Part 4 - Windows PowerShell - Smith.N Studio
1/6
Chuyn trang dnh cho k thut vin tin hcCHIA S - KINH NGHIM - HC TP - TH THUT
Windows Server 2008 - Part 4 - Windows PowerShell
Trong Windows Server 2008Microsoft tch hp thm mt cng c mi l Winows PowerShell y l mtcng c i sau ca DOS Command. Nh vy vi PowerShell ta hon ton c th s dng cc cu lnh trong
DOS Command tuy nhin PowerShell cn c tnh gi nh lnh khi bn nhn phm Tab v nhiu cu lnh hnDOS Command.
Windows PowerShell h tr cc phin bn Windows XP, Windows Server 2003 v Windows Vista.
Trong Windows Server 2008 ci t Windows PowerShell bn bt Server Manager ln chn Featues ->Add Features
Trong Select Feature bn chn Windows PowerShell (WPS) v tin hnh ci t WPS ln my
1 of
Smith Nguyen Studio.
http://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio7/29/2019 Windows Server 2008 - Part 4 - Windows PowerShell - Smith.N Studio
2/6
Sau khi ci t hon tt bn vo Start -> Programs -> Windows PowerShell chy PWS
xem tt c cc lnh c trong PWS bn nhp lnh:
Help
PWS tha k tt c cc lnh ca DOS Command nn trong PWS ta c th s dng mi lnh trong DOSCommand
2 of
Smith Nguyen Studio.
http://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio7/29/2019 Windows Server 2008 - Part 4 - Windows PowerShell - Smith.N Studio
3/6
bit c c php ca mt lnh bn nhp lnh:
Get-Help [Tn lnh]
to mt th mc mi bn s dng lnh:
New-Item [Tn th mc] - ItemType Directory
3 of
Smith Nguyen Studio.
http://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio7/29/2019 Windows Server 2008 - Part 4 - Windows PowerShell - Smith.N Studio
4/6
to mt tp tin mi bn nhp lnh:
Set-Content -path "[ng dn tp tin]" -value "[Ni dung tp tin]"
xem ni dung mt tp tin no bn nhp lnh:
Get-Content "[ng dn tp tin]"
xa mt tp tin hoc th mc no bn nhp lnh:
Remove-Item "[ng dn tp tin hoc ng dn th mc]"
xut kt qu ca mt ni dung no ra cc tp tin khc ta s dng lnh:
[Cu lnh] > [Tp tin xut ra/ng dn tp tin xut ra]
m mt tp tin no vi Notepad bn nhp lnh:
Notepad [Tn tp tin/ng dn tp tin]
4 of
Smith Nguyen Studio.
http://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio7/29/2019 Windows Server 2008 - Part 4 - Windows PowerShell - Smith.N Studio
5/6
xem thng tin h thng bn nhp lnh:
Get-Process
ng mt chng trnh no ca h thng bn nhp cu lnh:
Kill [ID ca chng trnh]
5 of
Smith Nguyen Studio.
http://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio7/29/2019 Windows Server 2008 - Part 4 - Windows PowerShell - Smith.N Studio
6/6
xem thng tin v CPU bn nhp lnh:
Get-Wmiobject -Class win32_processor
OK mnh va trnh by xong phn Windows Power Shell trong 70-640, 70-643 ca MCSA.
Cng ty TNHH u t pht trin tin hc GC ComChuyn trang k thut my vi tnh cho k thut vin tin hc
in thoi: (073) - 3.511.373 - 6.274.294
Website: http://www.gccom.net
Smith Nguyen Studio.
http://www facebook com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudioRecommended