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.
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")
@Curtis, that is exactly what I needed. Thank you!