Hi,
I have the following line of code that is called from a batch file and scheduled to run at a certain time of the day.
Get-Content d:\servers.txt | .\Retreive-Network.ps1 | Out-DataTable
It does not run, as I get an error with the .\Retreive-Network.ps1 script (this runs fine on it's own)
Any ideas ?
Thanks