Hi everyone,
Not sure of this is the easist way. But id like to get a list of all the Servers in AD into a table in SQL Server. I can get the list of servers from AD in powershell. But i cant find a way to take data from powershell and put it directly into SQL. Lots of articles and blogs on importing CSV data or a txt file. but none that i can find on using the pipeline.
Any ideas on how to do it? Or if there's a better way to do it!
Thanks