Search found 133 matches

by Domtar
Fri Dec 01, 2023 8:52 am
Forum: Customer Service
Topic: activation issue
Replies: 1
Views: 1731

activation issue

hi support, I have a new windows 11 laptop so I'm transferring my applications to that new laptop. after having installed PowerShell Studio, I go to the welcome panel, enter my username / password / activation key, and I got the message: You have not been added as a user to this activation key... pl...
by Domtar
Thu May 18, 2023 11:26 am
Forum: PowerShell GUIs
Topic: Gui display unique names
Replies: 4
Views: 1956

Re: Gui display unique names

you can change the display like this (untested);

Format-List -Property Name, SAMAccountName, EmployeeID, Enabled, Description, Title, physicalDeliveryOfficeName, UserPrincipalName, ScriptPath, employeeNumber, @{ N = 'positionID'; E = { $_.extensionattribute1 } }, extensionAttribute2,manager, SID
by Domtar
Thu May 18, 2023 11:18 am
Forum: PowerShell GUIs
Topic: datagridwiew result
Replies: 5
Views: 959

Re: datagridwiew result

you do not have any datagrid in your code, try this

$DisplayGroups | out-gridview
by Domtar
Thu May 04, 2023 5:42 am
Forum: PowerShell
Topic: autologon registry keys in clear text
Replies: 0
Views: 16640

autologon registry keys in clear text

hi all, I'm asked to come up with a solution to replace the current registry keys for username / password to use on a computer that does an autologon on the network. Those keys are in clear text and, with reason, is bugging the security team. I'm looking for any alternate solution on how to change t...
by Domtar
Tue Mar 14, 2023 6:51 am
Forum: PowerShell GUIs
Topic: DataGridView & checkbox
Replies: 8
Views: 2679

Re: DataGridView & checkbox

can you please post an example?

looking at the definition PowerShell Studio shows me, I do not see anything wrong.
by Domtar
Tue Mar 14, 2023 5:56 am
Forum: PowerShell GUIs
Topic: DataGridView & checkbox
Replies: 8
Views: 2679

Re: DataGridView & checkbox

OK I was able to understand part of the issue. I load the DataGridView with $datagridADGroups.Rows.Add($false, $group.name, $group.info) looping thru it, all the values are $False and they do not chance to $True. as a test, i tried this $datagridADGroups.Rows.Add($true, $group.name, $group.info) now...
by Domtar
Tue Mar 14, 2023 5:42 am
Forum: PowerShell GUIs
Topic: DataGridView & checkbox
Replies: 8
Views: 2679

Re: DataGridView & checkbox

i have no idea why this won't work for me. my latest try, where nothing is displayed, even though I did check a cell for ($i = 0; $i -lt $datagridADGroups.Rows.Count; $i++) { if ($datagridADGroups.rows[$i].Cells[0].Value -eq $true) { log-toStatusBox -color Green -text "index = $i`n" -skipD...
by Domtar
Mon Mar 13, 2023 9:02 am
Forum: PowerShell GUIs
Topic: DataGridView & checkbox
Replies: 8
Views: 2679

Re: DataGridView & checkbox

so I set the values like you showed me (thanks for that by the way) but now when I test it, the code returns $False if I click the checkbox or not. I have no idea why it won't return $False or $True, only $False on both clicks. Like it is not seeing the checkbox is checked. log-toStatusBox -color Gr...
by Domtar
Fri Mar 10, 2023 1:33 pm
Forum: PowerShell GUIs
Topic: DataGridView & checkbox
Replies: 8
Views: 2679

DataGridView & checkbox

hi, I have a DataGridView that has 3 columns, first is a checkbox cell, other 2 are textbox cells. how can I load the info in it correctly so that the checkbox will not be checked, but will return unchecked if i look at the value? I do this but when I click on it the first time, it returns False for...
by Domtar
Mon Feb 13, 2023 5:10 am
Forum: PowerShell
Topic: ActiveDirectory module installation
Replies: 6
Views: 2820

Re: ActiveDirectory module installation

all i can find is how to manually install that module on a computer. which is not what we need. we have about 5000 computers where this needs to be installed.

any suggestion on how to install that module?

thanks!