Split Array

Hi,

i want to split the above result into to parts an advise to two variables:

Sadly I have no idea how to do it.

PS C:\Users\admin\Desktop> $vApplictaionDetect

"C:\Program Files (x86)\InstallShield Installation Information\{99B87886-CD77-4466-8002-96FD09B9B3DE}\setup.exe" -runfromtemp -l0x0409  UNINSTALL -removeonly

The result should look like that:

$Variable1 = "C:\Program Files (x86)\InstallShield Installation Information\{99B87886-CD77-4466-8002-96FD09B9B3DE}\setup.exe"

$Variable2 = -runfromtemp -l0x0409  UNINSTALL -removeonly

Sad

 -runfromtemp -l0x0409  UNINSTALL -re

moveonly


  • Edited by Strahle_fz Wednesday, September 02, 2015 9:11 AM edit
September 2nd, 2015 9:07am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics