Yves Dolce

MCS Partner ISV

March, 2007

  • Yves Dolce

    My PowerShell profile

    • 0 Comments
    Thought I would just share this new version: Function prompt { $windowsIdentity = [System.Security.Principal.WindowsIdentity]::GetCurrent() $windowsPrincipal = new-object 'System.Security.Principal.WindowsPrincipal' $windowsIdentity $windowTitle...
  • Yves Dolce

    Find-Item that used to be DIR /S

    • 0 Comments
    Under CMD.EXE, I used DIR /S a lot. Under PowerShell, this would translate as gci -r –fi . So I added the following to my profile: Function Find-ItemWithFilter { param ([ string ] $filter = $ ( throw "You must specify a filter ( e.g. * .doc )")...
Page 1 of 1 (2 items)