Web Automation

Ask your Windows PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
John.McCallister
Posts: 26
Joined: Fri Apr 22, 2016 6:59 am

Re: Web Automation

Post by John.McCallister » Wed Feb 15, 2017 9:15 am

So..

Basically I built a new array... Seems to be getting me on the right track.

$NewArray = $RawInputs -split ' '

User avatar
jvierra
Posts: 12155
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Web Automation

Post by jvierra » Wed Feb 15, 2017 11:40 am

$newarray - split "`n"

Remember that I don't have your results so all I can do is guess.

User avatar
John.McCallister
Posts: 26
Joined: Fri Apr 22, 2016 6:59 am

Re: Web Automation

Post by John.McCallister » Wed Feb 15, 2017 12:44 pm

Understood... I ended up doing something similar.

Then wrote a function to search that resulting array for my variables.

So now all I have to do is Get-PostData -postDataSearch 'self.domainId'

Locked