Jump to content

Recommended Posts

Posted

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!

Posted
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...