I had follow suggested command from others post to run the .cmd file as below:
Execute-Process -Path “C:\Windows\System32\cmd.exe” -Parameters “$dirfiles\Install.cmd” seems not working.
This is whats inside the .cmd file.
Setup.exe /s /v"ADDLOCAL=ALL CWBINSTALLTYPE=Complete CWBPRIMARYLANG=MRI2924 REBOOT=ReallSuppress /qn"
Del “C:\Users\Public\Desktop\IBM i Access for Windows.lnk”
Del “C:\Users\Public\Desktop\System i Navigator.lnk”
Anyone could give me suggestion is very much appreciated.