UiPath - Powershell Replace Variables

Hello All,

I’m currently working on the below powershell however I want to assign a variable in UiPath to both “VARIABLE1” & “VARIABLE 2”.

Does anyone know the best method for this?

# Audio Phrase
$audiofile = Get-ChildItem "VARIABLE1"

# Read audio into byte array
$audioBytes = [System.IO.File]::ReadAllBytes($audiofile)

# API Key
$key1 = "VARIABLE 2"

Any help greatly appreciated.