Bite my bytes

What I learn by day I blog at night - A blog from Microsoft Consultant working from Ljubljana, Slovenia

  Home :: Contact :: Syndication  
  999 Posts :: 7691 Comments :: 235 Trackbacks


Most popular posts
in last 360 days


My Projects



Copyright © by David Vidmar
Contact me!
LinkedIn Profile

The other day I was talking with a friend, how PowerShell is not all that great and how it is administrators tool, but not so much developer tool. Wheter we were right or wrong is not that important, but it's a fact that it's god damn hard to get started with PowerShell or find a suitable problem for which PowerShell is the right tool to solve.

We'll, today I found one and solved it in 60 seconds (with Google's help, of course).

(Get-ChildItem 'X:\My Music\Za spečt' -Filter *.p2p -Recurse).Count

This baby counts the number of p2p files in certain folder and subfolders. Sweet!

Lowdown: I sync freshest part of my music collection between home, work and portable computers using excellent FolderShare and this let's me know how far behind certain machine is.

Posted on Friday, November 03, 2006 11:25 PM | Filed under: System Developement |


# re: I finally found a use for PowerShell! 11/6/2006 12:25 PM A friend
:) Dobra

Comments have been closed on this topic.