Showing posts with label other. Show all posts
Showing posts with label other. Show all posts

Thursday, April 17, 2014

Changing to a UNC path in the command line

Ok, so this one's a quickie. I was invoking some PowerShell from the command line (a batch file) that would iterate a Web Application, gather some info and generate a CSV report into a local folder.

Suddenly, there was a requirement to save these reports to a network shared location. The current solution had a variable for the location of the reports, but it wouldn't support a network path.
(...)