Comments for One admin's notes https://www.kondaurov.me/ PowerShell, Office 365, Azure and automation Mon, 16 Oct 2023 15:39:44 +0000 hourly 1 https://wordpress.org/?v=6.6.2 Comment on Adding a new column of data to an existing CSV by PowerShell by Kosta Kondaurov https://www.kondaurov.me/2021/adding-a-new-column-of-data-to-an-existing-csv-by-powershell/#comment-584 Mon, 16 Oct 2023 15:39:44 +0000 https://www.kondaurov.me/?p=230#comment-584 In reply to Muhammad Awais Awais.

Hi Muhammad,
Thank you for the question.
No, there is no such function as Remove-Member. I think the best option would be to ger through all the records and write to a new file the required only.

]]>
Comment on Adding a new column of data to an existing CSV by PowerShell by Muhammad Awais Awais https://www.kondaurov.me/2021/adding-a-new-column-of-data-to-an-existing-csv-by-powershell/#comment-577 Tue, 03 Oct 2023 01:05:58 +0000 https://www.kondaurov.me/?p=230#comment-577 Hi
Is there something like Remove-Member option to remove a column or rename a column?

]]>
Comment on Adding a new column of data to an existing CSV by PowerShell by Koji Kabuto https://www.kondaurov.me/2021/adding-a-new-column-of-data-to-an-existing-csv-by-powershell/#comment-393 Mon, 08 May 2023 17:09:59 +0000 https://www.kondaurov.me/?p=230#comment-393 In reply to Anonymous.

It worked for me for a 50MB file with over 130,000 records. I guess it would limited by the amount of memory in your system to hold the input file in $CSVFile.

]]>
Comment on Adding a new column of data to an existing CSV by PowerShell by Kosta Kondaurov https://www.kondaurov.me/2021/adding-a-new-column-of-data-to-an-existing-csv-by-powershell/#comment-282 Wed, 08 Feb 2023 12:03:39 +0000 https://www.kondaurov.me/?p=230#comment-282 In reply to Jason.

You are welcome!

]]>
Comment on Adding a new column of data to an existing CSV by PowerShell by Kosta Kondaurov https://www.kondaurov.me/2021/adding-a-new-column-of-data-to-an-existing-csv-by-powershell/#comment-281 Wed, 08 Feb 2023 12:03:19 +0000 https://www.kondaurov.me/?p=230#comment-281 In reply to Anonymous.

Thanks for the feedback. Fixed now.

]]>
Comment on Adding a new column of data to an existing CSV by PowerShell by Kosta Kondaurov https://www.kondaurov.me/2021/adding-a-new-column-of-data-to-an-existing-csv-by-powershell/#comment-280 Wed, 08 Feb 2023 12:02:52 +0000 https://www.kondaurov.me/?p=230#comment-280 In reply to Anonymous.

Thanks for that. I don’t know how large should be the CSV file, worked well for me and for others.
Can you share more details about the issues and maybe share a better method with me?

]]>
Comment on Adding a new column of data to an existing CSV by PowerShell by Anonymous https://www.kondaurov.me/2021/adding-a-new-column-of-data-to-an-existing-csv-by-powershell/#comment-271 Tue, 07 Feb 2023 08:52:45 +0000 https://www.kondaurov.me/?p=230#comment-271 Coming to large data, this solution will not good

]]>
Comment on Adding a new column of data to an existing CSV by PowerShell by Anonymous https://www.kondaurov.me/2021/adding-a-new-column-of-data-to-an-existing-csv-by-powershell/#comment-36 Thu, 28 Jul 2022 06:05:16 +0000 https://www.kondaurov.me/?p=230#comment-36 Exactly what I needed thanks, but anyone using this just note there is a type in the first variable name, “CVSFile” should be “CSVFile”

]]>
Comment on Adding a new column of data to an existing CSV by PowerShell by Jason https://www.kondaurov.me/2021/adding-a-new-column-of-data-to-an-existing-csv-by-powershell/#comment-4 Fri, 19 Nov 2021 17:10:11 +0000 https://www.kondaurov.me/?p=230#comment-4 Perfect. Thanks

]]>