Search found 14822 matches

by jvierra
Thu Jun 10, 2021 11:20 pm
Forum: PowerShell GUIs
Topic: textbox appendtext
Replies: 3
Views: 209

Re: textbox appendtext

This is how to dereference an object:
  1. $results.Lines += 'First Name is ' + $FirstName.Text
  2. $results.Lines += 'Last Name is ' + $LastName.Text
This automatically adds a linebreak.
by jvierra
Tue Jun 08, 2021 2:42 pm
Forum: PowerShell
Topic: Import iPhone Photos
Replies: 1
Views: 504

Re: Import iPhone Photos

You have to post this question in an Apple iPhone forum or iPhone developer forum. Apple has an API and a driver that mounts an iPhone storeagte as a drive. What you are seeing is the file specs. YOu have to enumerate the objects and read them in as streams which is an advanced programming method. D...
by jvierra
Mon Jun 07, 2021 11:06 pm
Forum: PowerShell
Topic: Import csv users and run powershell script
Replies: 6
Views: 1895

Re: Import csv users and run powershell script

You have to slow down and do it in small steps. YOu are just shotgunning everything and no one can keep uup with anything you are doing. It would also be useful if you formatted your code correctly. Never use Get-Content with a CSV, Be sure you have a realy CSV. MOst people have no idea what a CSV i...
by jvierra
Sun Jun 06, 2021 11:13 pm
Forum: PowerShell GUIs
Topic: Urgent!! How to make picture available when running exe on different PCs
Replies: 2
Views: 1211

Re: Urgent!! How to make picture available when running exe on different PCs

Images are embedded. Just specify the image and PowerShell Studio will encode and embed it, theat is, don't load it manually just add it to the object using the objects image property.
by jvierra
Sun Jun 06, 2021 12:04 am
Forum: PowerShell GUIs
Topic: Load data after SelectedIndexChange
Replies: 2
Views: 1409

Re: Load data after SelectedIndexChange

What have you tried? You have given no information that can help guess at any possible answer. When loading a Combobox with objects load the whole object then when an even occurs you will know the exact object and all properties. No idea what you mean by "query" a CSV. A CSV is a tectfile. Loaded as...
by jvierra
Fri Jun 04, 2021 4:38 pm
Forum: PowerShell
Topic: Import csv users and run powershell script
Replies: 6
Views: 1895

Re: Import csv users and run powershell script

One quick look. You seem to be saying that you are trying to disable and move some users. WHy "sleep"? YOu can get, disable, move anyty user in one command. No need for sleep or multiple statements. Use the pipeline. You are also tryinf to do one user and at the same time remove all users. Tou remov...
by jvierra
Fri Jun 04, 2021 4:31 pm
Forum: PowerShell
Topic: Import csv users and run powershell script
Replies: 6
Views: 1895

Re: Import csv users and run powershell script

Sorry but we ahve ni idea what you mean by :offboarding and onbloardin". YOu havce ti as a specific question about coding or about some error. We cannot know what you are thinking or what your design strategy is,
by jvierra
Mon May 31, 2021 10:47 am
Forum: PowerShell GUIs
Topic: Need Return variable text from Main form to Child form
Replies: 1
Views: 605

Re: Need Return variable text from Main form to Child form

Just add a Param statement to the child form.
by jvierra
Sun May 30, 2021 2:06 pm
Forum: PowerShell
Topic: XML parsing changing values from CheckedListbox
Replies: 3
Views: 980

Re: XML parsing changing values from CheckedListbox

As I posted, you have to use an expath query to extract the exact item you want to update.
by jvierra
Sun May 30, 2021 11:16 am
Forum: PowerShell
Topic: XML parsing changing values from CheckedListbox
Replies: 3
Views: 980

Re: XML parsing changing values from CheckedListbox

WHat is it that you are having an issue with? To alter an XML item just assign its #text property.

To find a specific item in an XML file use an XPath expression.