From the course: PowerShell for SQL Server Administration
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Exporting CSV files - PowerShell Tutorial
From the course: PowerShell for SQL Server Administration
Exporting CSV files
- [Instructor] Now let's look at exporting data from PowerShell, or using PowerShell to a CSV file. Often times when you're exporting data and working with data in PowerShell, you're going to need to be able to hand that off to something else. A lot of times when you need to hand that data off, you're going to need to hand it off via a CSV file. So that's a comma-separated value file. So when you do that, you can actually do that, hand it off fairly easily in PowerShell 'cause you can export that data fairly easily to CSV in PowerShell and create that CSV file. So whatever data you need, you can do whatever you have to do to manipulate or massage that data in PowerShell. And when you're done with it, you can then export that data down to a CSV to hand off to whatever that third party function or third party application is. So a lot of the times when I'm doing this, I'll have to hand off data to be imported into some other system. Maybe I'll need to create a CSV file that needs to be…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
Loops in PowerShell6m 21s
-
Storing servers for PowerShell3m 53s
-
Concepts of threading6m 10s
-
PowerShell threading commandlets2m 37s
-
Authentication and threading3m 24s
-
Piping between objects3m 17s
-
Exporting CSV files2m 56s
-
Importing CSV files2m 27s
-
Exporting XML data2m 50s
-
Importing XML data2m 26s
-
-
-