Quantcast
Channel: PowerShell General
Viewing all articles
Browse latest Browse all 10624

Simple Convert Powershell 3.0 statement to Powershell 2.0

$
0
0

Hello All!

Yesterday Don gave me this statment:

dir *.atf -recurse

and it worked well on PS 3.0. Now when I try on PS 2.0 it does not work.

So I have tried this:

get-childItem C:\path -include *.atf -recurse

and it works great with PW2.0 but not in PW3.0. Is there any way to be compatible for both versions?

Thanks!


Viewing all articles
Browse latest Browse all 10624

Trending Articles