if you just need to install any software automatically using powershell you can just run the silent moder of the installer from powershell. The poweshell script to run exe or msi in silent mode is:
$command = “cmd.exe /c D:\MyInstaller.exe /s /v`”/qn”
$process = [WMICLASS]”\\PCName\ROOT\CIMV2:win32_process”
Remember your installer should have silent mode on in it.