Skip to content

Instantly share code, notes, and snippets.

@bjarkirafn
Last active September 29, 2020 16:12
Show Gist options
  • Save bjarkirafn/0ed607cd50d41d9d43ebedeed100cecc to your computer and use it in GitHub Desktop.
Save bjarkirafn/0ed607cd50d41d9d43ebedeed100cecc to your computer and use it in GitHub Desktop.
ImageBase64
$base64 = [convert]::ToBase64String((Get-Content D:\Images\image1.jpg -Encoding byte))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment