I think you are looking for a function instead of an alias:
> function DirWithAttrib([string]$attrib) {dir|WHERE {$_.Attributes -match $attrib}}
> function ddir() {DirWithAttrib Directory}
> ddir
(Returns just dirs)
> DirWithAttrib System
(Returns System entries)
I think (I could...
Good to see others using this.
This shell is something that once it clicks (I'd say a few hours of determined use), the implications for automating simple (or even not so simple) tasks are astounding.
I have used cygwin for a long time to get access to bash, since it was/is SOO much better...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.