Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Blog posts August 2026

Converting CSV String Values to Boolean in PowerShell

While working with CSV file I had few column in the true and false boolean value. But when I was importing csv file in PowerShell it was treating them as a string value instead of boolean in the output. Here I will explore how to convert true and false values to boolean.

Powershell convert string to boolean System.convert to boolean method csv file parse boolean doller.png

Method 1

To safely…

Read more

1 blog post

Blog Search

Page Views

1 5 3 5 4 2 9 2

Archive

Follow me on Blogarama