Edu-IT Posted July 31, 2015 Posted July 31, 2015 I've got a Powershell script where it looks to import a CSV of Students and store it as $Students. How do I view a list of 'students' actually in $Students within Powershell? Just to make sure it's importing them all correctly. This could be explained better I'm sure but I'm not a coder by far!
pcstru Posted July 31, 2015 Posted July 31, 2015 Basically $Students | format-table will output the csv to the console.
Geoff Posted July 31, 2015 Posted July 31, 2015 I find Out-GridView more useful if you want to interact with the data.
halbaradkenafin Posted July 31, 2015 Posted July 31, 2015 Ise will also let you run the script and then interact with any variables used in it.
howartp Posted August 1, 2015 Posted August 1, 2015 Basically $Students | format-table will output the csv to the console. I use format-table also, but with -autosize on the end. $Students | format-table -autosize
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now