I have a Powershell script in the form of a function with the following line in it
$ClientInstaller = "$($Path)\update.exe
I understand this should be going to the executable location and creating a path variable for $clientinstaller.
What I need help with is understanding what "$($Path) is actually doing? My assumption is telling PowerShell to scan the drive for Update.exe and use that location as the Path for the variable but I am not sure.
Can someone help me understand what that section of the script is actually doing?