Powershell v3.0에서 Where-Object 사용시 편리해진 것


<Version2.0>
PS> Get-ChildItem $env:windir | Where-Object { $_.Length -gt 1MB }

<Version 3.0>
PS> Get-ChildItem $env:windir | Where-Object Length -gt 1MB

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s