Comments
-
Just posting the PowerShell version here for reference in case anyone else needs it... $today = (Get-Date).ToString("yyyy-MM-dd") $filepath=\\san\stage\Boomi\HR\Boomi AtomSphere\Molecule - nodename\logs\$today.container.10_10_10_10.log And here is how to test to ensure the path/file exists as this took a little research…
-
Mike... you are DA MAN! Now, I just need to whip out my handy dandy perl > powershell decoder ring and I'm all set! My thanks to you and aLTeReGo!
-
Yep.. unfortunately, we have a rather ugly path name due to vendor controlled naming conventions. It looks something like the below: \\san\stage\Boomi\HR\Boomi AtomSphere\Molecule - Nodename\logs\2015_03_13.container.10_10_10_10.log When I used the quotes it still fails the log parser Test-Path logic. I get this error:…
-
Hey aLTeReGo, no I haven't tried that yet... I'll investigate that option asap. Thanks!
-
We are starting to look into this as well. One thing that would help us is if the file path can contain spaces, or some way around this limitation. Also +1 to Jfrazier's entire list.