Binary Code in a Variable This topic contains 2 replies, has 2 voices, and was last updated by Greg 3 months, 3 weeks ago. Author Posts June 25, 2017 at 12:38 am #73615 GregParticipant Is it possible to load a variable array with binary code? In particular, I want to load profile photos into an array and assign them as needed. Thanks for any guidance. June 25, 2017 at 4:11 am #73618 Curtis SmithParticipant Do you mean something like $Pictures = [System.IO.File]::ReadAllBytes("C:\Users\user1\Pictures\picture1.jpg"), [System.IO.File]::ReadAllBytes("C:\Users\user2\Pictures\picture2.jpg"), [System.IO.File]::ReadAllBytes("C:\Users\user3\Pictures\picture3.jpg") June 30, 2017 at 1:52 am #73967 GregParticipant @Curtis, that is exactly what I needed. Thank you! Author Posts You must be logged in to reply to this topic.