I'm trying to import our machines from Fog into our new AD using this script I found on the interwebs:
It's reading the CSV but combining both the %a and %b columns into the /Device: field, giving an error that the input for /ID: is incorrect...Code:for /f "tokens=1,2 delims= " %a in (fogreport.csv) do wdsutil /Set-Device /Device:%a /ID:%b
Any ideas what I'm doing wrong? I'm using a CSV on Windows 7
Thanks in advance,
Ben


LinkBack URL
About LinkBacks






