Newbie
-
2012년 3월 19일 월요일 오전 6:49
Hello,
I an very new in scripting and trying to learn what ever I can using tech net and other books. While referring i got a command called
dir | sort-object -property length,name
i know what actually the above command does
My question is i want to know what more can be applied after dir | command
precisely i am looking for DIR | HELP
http://www.virmansec.com/blogs/skhairuddin
모든 응답
-
2012년 3월 19일 월요일 오전 7:04
It depends what you want to achive.
- you can select particular property (use Dir | GM command to get all property)
- You can Filter Dir/File
- You can loop through Dir/File
- And much more...
you can run get-help dir -full command to get more detail.
Hope this helps...!!!
Thanks & Regards
Bhavik Solanki
Please click “Mark as Answer” if this post answers your question and click "Vote as Helpful if this Post helps you. -
2012년 3월 19일 월요일 오전 7:29
Thanks for the reply I tried
get-help dir -full
but i cannot see these command within the help sort-object -property length,name
http://www.virmansec.com/blogs/skhairuddin
-
2012년 3월 19일 월요일 오전 7:38
Sort-Object is altogether different command:
Check this link to know more about Pipeline in powershell: http://www.computerperformance.co.uk/powershell/powershell_pipeline.htm
Thanks & Regards
Bhavik Solanki
Please click “Mark as Answer” if this post answers your question and click "Vote as Helpful if this Post helps you.- 편집됨 Bhavik Solanki 2012년 3월 19일 월요일 오전 7:39
- 답변으로 표시됨 Syed KhairuddinMVP 2012년 3월 19일 월요일 오전 8:05
-
2012년 3월 19일 월요일 오전 8:05
Oh I see that means I am attaching a dir command with another command .
THanks
http://www.virmansec.com/blogs/skhairuddin

