Search found 23 matches

by dlaurora
Thu May 09, 2019 5:15 am
Forum: PowerShell GUIs
Topic: $null result on responsive form
Replies: 10
Views: 657

Re: $null result on responsive form

Hello again, I have a new question regarding Arguments, i'm trying to pass credentials, in the main load form it asks for credentials and I save it into a variable, just a simple line $creds = get-credentials, then I try to add the same into the job passing through but during the process, it prompts...
by dlaurora
Thu May 09, 2019 4:56 am
Forum: PowerShell GUIs
Topic: Login Into Azure
Replies: 2
Views: 254

Re: Login Into Azure

Thanks, I'll investigate about Az Context, and see if can find a way to get this work.

Best regards.
by dlaurora
Wed May 08, 2019 12:30 pm
Forum: PowerShell GUIs
Topic: Login Into Azure
Replies: 2
Views: 254

Login Into Azure

Hello guys, I'm creating a simple Powershell gui with a responsive form to turn on/ff and reboot VMs in Azure. The only issue that I have is when I try to login into Azure, the prompt appears, ask for credentials and then for a second authentication (our company has Symantec Vip authenticator) it ju...
by dlaurora
Thu Apr 11, 2019 11:57 am
Forum: PowerShell GUIs
Topic: Navigate and get data from datagridview
Replies: 7
Views: 410

Re: Navigate and get data from datagridview

I've found a way to take the info but don0t know why it only works in PowerShell-ISE and not inside my form. $Ttable.Rows | ForEach-Object{ Write-Host ('{0}|{1}|{2}' -f ($_.Cells['Firstname'].Value),($_.Cells['Lastname'].Value), ($_.Cells['Phone Number'].Value)) } When running this inside my from, i...
by dlaurora
Thu Apr 11, 2019 10:01 am
Forum: PowerShell GUIs
Topic: Navigate and get data from datagridview
Replies: 7
Views: 410

Re: Navigate and get data from datagridview

sorry I can't open that file

Unable to load Demo-DGVExport3.psf (File Format: v3.1), because it was created with a different version of SAPIEN PowerShell Studio 2017.
by dlaurora
Thu Apr 11, 2019 8:28 am
Forum: PowerShell GUIs
Topic: Navigate and get data from datagridview
Replies: 7
Views: 410

Navigate and get data from datagridview

Hello guys, I have created a Data Grid view were users will put personal information on it. I'm trying to get that data and save it into a variable but I don't know how to navigate through it, could you please help me with this? The data grid view contains: Lastname | Name | Phone Number Contoso | J...
by dlaurora
Wed Apr 10, 2019 7:54 am
Forum: PowerShell GUIs
Topic: $null result on responsive form
Replies: 10
Views: 657

Re: $null result on responsive form

Never mind, I manage to solve it, I've saved the result of the combo box into a variable, and then add the same into the argument list.

Thanks for the assistance.
by dlaurora
Wed Apr 10, 2019 7:11 am
Forum: PowerShell GUIs
Topic: $null result on responsive form
Replies: 10
Views: 657

Re: $null result on responsive form

Still passing the argument that way the result is $null ERROR: Cannot validate argument on parameter 'Server'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again. ERROR: + CategoryInfo : InvalidData: (:) [Get-ADUser], ParameterBindingValidati...
by dlaurora
Wed Apr 10, 2019 6:07 am
Forum: PowerShell GUIs
Topic: $null result on responsive form
Replies: 10
Views: 657

Re: $null result on responsive form

Hello Again, I'm trying now to add another argument into the same search, but the same is always null when I call it inside the add-jobtracker I have a combobox ($dombox) that contains multiple domains names, need to select it when I try to search for specific users. The second variable, $usr, is pa...
by dlaurora
Sat Apr 06, 2019 6:52 pm
Forum: PowerShell GUIs
Topic: Update Variable after Form closing/opening
Replies: 4
Views: 352

Re: Update Variable after Form closing/opening

Thank you for you advise, i will try to following this steps from https://www.sapien.com/blog/2018/03/22/ ... nal-files/

perhaps I can save the data into a txt file, update it each time it close and the get the last result once I open again the form, thanks!