Search found 22 matches

by bgleason
Wed Oct 22, 2014 7:05 pm
Forum: PowerShell Studio
Topic: Get-ChildItem not working
Replies: 1
Views: 935

Re: Get-ChildItem not working

This appears to work.. $ProfilePath = $env:USERPROFILE $FilesToHash = Get-ChildItem -Path "$ProfilePath" -Recurse | where { ! $_.PSIsContainer -and $_.Name -ilike "*.pst" } ForEach ($FileToHash in $FilesToHash) { script:logme "$($FileToHash.FullName)" } script:logme "$($FilesToHash.Count)"
by bgleason
Wed Oct 22, 2014 6:34 pm
Forum: PowerShell Studio
Topic: Get-ChildItem not working
Replies: 1
Views: 935

Get-ChildItem not working

I am running Powershell Studio 2014 (x64) 4.1.72, I am creating a form in Windows Form v2 32bit mode STA on and it is not respecting/observing the get-childitem request... It is almost like it goes right over get-childitem without erroring or processing it. If I switch to v4 32bit or 64bit, it proce...