powershell-v2.01

c# Powershell. Configure runspace using RunspaceConfiguration.Create

Hi, I'm trying to find out how the RunspaceConfiguration.Create() method call is used. I want to set the c# hosting up, in a manner that will enable any conceivable powershell script from executing from c# by ensuring all Cmdlets, Providers etc, are available. Looking at the powershell samples, sample 5, it's got the following. Runspa...

Powershell, trying to output only the path and lastwritetime on directories

I am trying to write a script that will output any directory that has not changed in over 90 days. I want the script to ONLY show the entire path name and lastwritetime. The script that I wrote only shows the path name but not the lastwritetime. Below is the script. Get-ChildItem | Where {$_.mode -match "d"} | Get-Acl | Format-T...