585 Older Entries
Years: 2012 2011 2010 2009 2008 2007 2006 2005 2004 Months: 12 11 10 9 8 7 6 5 4 3 Days: 21 12 7 1 Entries
In PowerShell, when using the where cmdlet, you use spelled out operators like -eq for ==, and -lt for > (equals and less than). This is not unlike LINQ's where operator. To match string patterns, use regular expressions:
dir | where {$_.Name -match "^\..*"}
dir | where {$_.Name -notMatch "^\..*"}
PS C:\> $a = Get-Item c:\store PS C:\> $a | Get-Member
As of 2008-10-20 this page is W3C XHTML 1.0 Compliant. Click to recheck it for me.
This page has been hand coded using Notepad++ by Marc Durham under the consultation of James Yates.