I am working on a Powershell script, it is a simple foreach loop through objects, and the output should be like:
this is coming from a Invoke-SQLQuery into Multiple column row Array
ForEach ($DB in $DBList)
the output is correct:
so when i run it on PowerShell ISE and add in to use that path, the path for some reason adds spaces in between the path:
Z:\Server1\Data base_001\backup _001.full
exactly like above happens… not sure why, is this something that happens all the time with powershell?