Skip to content

Instantly share code, notes, and snippets.

View riyasdeen's full-sized avatar

Riyas Deen riyasdeen

  • Department of Transport, Victoria
  • Melbourne, Australia
View GitHub Profile
<#
.SYNOPSIS
Adds a Base64 encoded string to CSV file
.DESCRIPTION
Looks for URL/URI/PATH column in CSV file.
Encodes the image in URI to Base64 string.
Creates a new column 'Encoded' with Base64 string
Column values can be http/https url or path to local file