Question: Powershell Command Find the error (s) echo off cls systeminfo | find /i System Type | find /i X86-based PC if %errorlevel% == 0 set
Powershell Command
Find the error (s)
echo off cls systeminfo | find /i "System Type" | find /i "X86-based PC" if %errorlevel% == 0 set spth="C:\Program Files\Shoreline Communications\ShoreWare Client\Shoretel.exe" Echo Checking System Type (x86 vs x64) systeminfo | find /i "System Type" | find /i "X64-based PC" if %errorlevel% == 0 set spth="C:\Program Files (x86)\Shoreline Communications\ShoreWare Client\Shoretel.exe"
Echo Checking if Communicator is already installed..... if exist %spth% goto end1 if NOT exist %spth% goto install
:install echo Installing Shoretel Communicator \\cupe-fs-1\apps\ShortelConnect\install-win\GPO\setup.exe /S /v"/qn REBOOT=reallysuppress" echo Installation Finished exit
:end1 echo Shoretel Communicator is already installed. ping 127.0.0.1 -n 5 > nul exit

The ter ShoreTel ie not recognized as the nae of a cidlet. function, ecript file, or operable prograin. Check the spelling of the nathe, or if a path was included, verify that the path is At line 1 char: 11 +ShoreTel
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
