Create test.if.dir.exists.ps1

working with the web editor. It saves locally.