![]() PS C:\Windows\system32> Import-csv "C:\Users\REDACTED\Desktop\mybigfatcsv. If you want to check that your CSV works in a cmdlet you can then pipe this to a foreach-object then to write-host to output the values. you're declaring a variable so you'll need to use the column name in your CSV as I have ipaddr, hostname, vendor afterwards If you simple run import-csv "\mybigfatcsv.csv, you'll see it'll spits out an array: PS C:\Windows\system32> Import-csv "C:\REDACTED\mybigfatcsv.csv" Especially if a lone network engineer just wants to bulk import some things, you've done the hard data entry work regarding your CSV, you've created each column name, something simple like ipaddr, hostname, vendor and then underneath that you've done the tedious data entry etc. Import-CSV will actually already to the hard work for you, you don't need to do anything fancy. ![]() What I've realised is that all the examples I've seen so far regarding this are trying over engineer the solution with hands tied behind their backs. exe software that I can use to test authentication against an LDAP or RADIUS server Currently I use realVNC to test Radius authentication, but it has no option for LDAP. To be clear I'm in no means a powershell enthusiast so the below could be the completly wrong answer but it worked for me. ![]() ![]() As this post comes up a lot when I search about this topic, I'm going to post here what I've found and what I realized. I have been trying to perform bulk imports of Radius clients to NPS with the above and many other code samples to not avail.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |