PowerShell Tutorials : Editing CSV files (Adding columns, editing data)

  Рет қаралды 21,259

JackedProgrammer

JackedProgrammer

Күн бұрын

Пікірлер: 32
@joshuafurgason1864
@joshuafurgason1864 Ай бұрын
This really helped me sort out a project I was struggling to finish. Thanks
@koolaidkitten
@koolaidkitten Жыл бұрын
Thanks so much. I was really stumped when trying to figure out how to change all the values in a column. Your example really helped me out.
@jackedprogrammer
@jackedprogrammer Жыл бұрын
No problem :) glad you enjoyed the video :) thank you for watching
@韓国J
@韓国J 2 жыл бұрын
Thank you. These tutorials are very useful. I am starting to dabble in PowerShell for my job and it's both tough and awesome. I'm still learning how to comb through AD to list certain security groups for specific computers or account expiration dates for a given set of users.
@jackedprogrammer
@jackedprogrammer 2 жыл бұрын
No problem :) glad you’re enjoying the videos :) and that’s awesome I’m sure you’ll be doing that no problem very soon
@Sleighbor
@Sleighbor 2 жыл бұрын
@jackedprogrammer - These PowerShell/CSV video tutorials are fantastic. Thanks for sharing.
@kennyawalker
@kennyawalker 3 жыл бұрын
Hi Just getting deeper into powershell and your videos are great. I receive csv files all the time and I need to strip out numbers before a comma and also swap a month JUN/MAY to MAY/JUN doing this with notepads ++ at the moment but dedius.. cheers
@jackedprogrammer
@jackedprogrammer 2 жыл бұрын
Thank you for the support, glad you're enjoying the videos! :)
@shhhhhhhhhhhhhhhshhhh
@shhhhhhhhhhhhhhhshhhh 2 жыл бұрын
You sir just got yourself another sub. Excellent walk throughs.
@guangtingzoeli8330
@guangtingzoeli8330 2 жыл бұрын
why we need input file and output file? So that means if I just add extra information to the excel and save as csv file, run the new command again, it doesn't work?
@jeffsims5683
@jeffsims5683 7 ай бұрын
Do you have an example of creating a script to take the table output of an existing command and create the objects so that they are formatted into a CSV? For example alot of powershell commands print to screen the output but I would like to develop the understanding and skill to create my own script to format that data to CSV....So that I can also eventually take that CSV and save it as an xlsx file.
@jeffsims5683
@jeffsims5683 7 ай бұрын
Found a solution - Use the Select-Object -Property command to get data from previous command outputs to then be able to Pipe those as object properties and values into a CSV file.
@alpaslanakdag614
@alpaslanakdag614 2 жыл бұрын
Thanks a lot for this tutorial but could you explain how can we remove a member in array?
@AlwaniAkber
@AlwaniAkber 3 жыл бұрын
I have multiple order files but it does not generate a header, I need to export the order form and then convert into the CSV and then use It with my application to process (need to run the loop and all excel files convert from the folder and imported into another folder, where a parse happened and then the new header is being built, which video to see?
@jackedprogrammer
@jackedprogrammer 3 жыл бұрын
Hi Akber, if I understand correctly your looking to learn how to add headers to a csv file in powershell to csv files that have no headers to begin with? If so I have a solution for you if not can you clarify a bit more.
@radhesingh8083
@radhesingh8083 3 жыл бұрын
Hi your video is helpful for sure. But it adds column at the end. Is there a way to add column at the start ?
@jackedprogrammer
@jackedprogrammer 3 жыл бұрын
there is im pretty sure when you go to export you could just pipe it first to a select-object and put the columns in the order you`d want in the export, sorry for the late reply
@TheTemporaryTraveller1
@TheTemporaryTraveller1 2 жыл бұрын
hey thanks for this. im having some problems where i have a coloumn header in SQL Server called [Currency Code] and all i need to show inside that is "£" but when the sql script converts to csv the "£" shows as an "?" instead. also how can i just remove the coloumn header from my sql output?
@jackedprogrammer
@jackedprogrammer 2 жыл бұрын
Hey, if you're doing the export using powershell make sure to use the -encoding parameter and I usually set it to default I find that has the best results for me with special characters, I hope that helps :)
@nwing1999
@nwing1999 2 жыл бұрын
Hi i was having issues extracting a compare-object output to a csv file as in I got my difference but I want only specific column to fill up a existing csv file with headers any suggestion?? Thankyou in advance
@jackedprogrammer
@jackedprogrammer 2 жыл бұрын
Hi Benjamin, I just want to ask a few questions just to make sure I understand exactly, you're doing a compare object on 2 data sets and you are export the results of that compare object and you'd like im guessing the sideindicator to go into a specific column of a existing CSV file?
@nwing1999
@nwing1999 2 жыл бұрын
@@jackedprogrammer Thanks for responding but I figured out that part I just want to know how to not let the existing columns be overwritten by the export CSV like in the sense Fname Lname Uname and Password the compare-object fills in the needed columns but overwrites Uname and password Could you suggest how I can keep these columns?
@MKcLTM
@MKcLTM Жыл бұрын
Im newbie but i would go with $names |select first,last,@{n="FullName";e={$_.first + " " + $_.last}}
@PerfectRotMG
@PerfectRotMG 2 жыл бұрын
This is what I needed, many thanks
@jackedprogrammer
@jackedprogrammer 2 жыл бұрын
No problem, glad you're enjoying the videos :)
@TheEmperorXavier
@TheEmperorXavier Жыл бұрын
Hey man love your videos thus far. I just humbly ask that you upload your videos in 1080p 60fps. It’s kind of hard to see the words and it is PowerShell, which is text.
@PrashantKumar-sh2yl
@PrashantKumar-sh2yl 2 жыл бұрын
COULD ANYONE TELL ME HOW TO CHANGE OR UPDATE THE EXISTING DATA OF CSV FILE WITH THE HELP OF POWERSHELL..
@alladiakshay1557
@alladiakshay1557 2 жыл бұрын
I am enjoying the videos 😁. Plz compare two Excel files
@haczynn9043
@haczynn9043 3 жыл бұрын
Hi am from tiktok good vids, am a helpdesk guy and I have to use PowerShell to rename stuff in office365, maybe you will do video about migrate users from Windows server to azure? About move exchange I saw a lot videos but there is a still a hole in videos about move fully to cloud
@steevenbazin3937
@steevenbazin3937 2 жыл бұрын
Hi, nice video ! Thanks a lot :)
@jackedprogrammer
@jackedprogrammer 2 жыл бұрын
No problem, glad you enjoyed the video :)
@leeblack2103
@leeblack2103 Жыл бұрын
Thank you!!!!!
PowerShell Tutorials : Making a GUI Part 1 - Introduction & Hello World
21:26
PowerShell Tutorials : Data Tables
13:43
JackedProgrammer
Рет қаралды 9 М.
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН
Хаги Ваги говорит разными голосами
0:22
Фани Хани
Рет қаралды 2,2 МЛН
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН
PowerShell Tutorials : Working with JSON
20:09
JackedProgrammer
Рет қаралды 7 М.
PowerShell ForEach and CSV File Tutorial
15:01
Jeff Brown Tech
Рет қаралды 959
ImportExcel PowerShell + Excel = Better Together! with Doug Finke
1:25:47
Research Triangle PowerShell Users Group
Рет қаралды 14 М.
PowerShell Tutorials : Reading PDF files
11:51
JackedProgrammer
Рет қаралды 13 М.
PowerShell Intermediate Tutorial 5 : CSV Files [Intermediate]
13:35
JackedProgrammer
Рет қаралды 9 М.
PowerShell Fundamentals Exploring the Group-Object cmdlet
26:40
Chasse TAC
Рет қаралды 1,2 М.
PowerShell 7 Tutorials for Intermediates #7 : Working with JSON
17:34
JackedProgrammer
Рет қаралды 3,1 М.
PowerShell Unplugged with Jeffrey Snover (The Blueprint Files) | BRK260
1:02:07