Search found 271 matches
- Fri Jul 27, 2018 11:26 am
- Forum: PowerShell GUIs
- Topic: Active Directory and DataGridViews
- Replies: 11
- Views: 689
Re: Active Directory and DataGridViews
Should be lots of fun with all of these properties and figuring our how to use -eq instead of -match 'BadLogonCount', 'badPasswordTime', 'badPwdCount', 'CanonicalName', 'City', 'CN', 'createTimeStamp', 'Deleted', 'Department', 'directReports', 'EmailAddress', 'EmployeeNumber', 'employeeType', 'Given...
- Fri Jul 27, 2018 10:42 am
- Forum: PowerShell GUIs
- Topic: Active Directory and DataGridViews
- Replies: 11
- Views: 689
Re: Active Directory and DataGridViews
I did try to use your code, but just posting a line with no context of where it belongs doesn't help my learning. I have currently replaced my jobscript with Param ($user) #Pass any arguments using the ArgumentList parameter (get-aduser $user -properties Givenname, surname).PsObject | select -expand...
- Fri Jul 27, 2018 10:06 am
- Forum: PowerShell GUIs
- Topic: Active Directory and DataGridViews
- Replies: 11
- Views: 689
Re: Active Directory and DataGridViews
I'm missing something, the example you're giving me doesn't really line up with what I have Add-JobTracker -Name 'JobName' ` -JobScript { #-------------------------------------------------- #TODO: Set a script block #Important: Do not access form controls from this script block. Param ($user) #Pass ...
- Fri Jul 27, 2018 7:12 am
- Forum: PowerShell GUIs
- Topic: Active Directory and DataGridViews
- Replies: 11
- Views: 689
Re: Active Directory and DataGridViews
Is there not a way to make the DGV return results vertically?
- Fri Jul 27, 2018 7:03 am
- Forum: PowerShell GUIs
- Topic: Active Directory and DataGridViews
- Replies: 11
- Views: 689
Re: Active Directory and DataGridViews
That's so weird :/
It's actually going to be for several, I just shorted it up to make it easier on the eyes.
It's actually going to be for several, I just shorted it up to make it easier on the eyes.
- Fri Jul 27, 2018 6:47 am
- Forum: PowerShell GUIs
- Topic: Active Directory and DataGridViews
- Replies: 11
- Views: 689
Active Directory and DataGridViews
2 Issues right now, to run a simple command, it takes about 14 seconds to return to values. Is this normal?
The objects are returning in rows IE
FirstName LastName
How can I make it return
FirstName
LastName
The objects are returning in rows IE
FirstName LastName
How can I make it return
FirstName
LastName
- Fri Jul 20, 2018 10:34 am
- Forum: PowerShell GUIs
- Topic: Get-Aduser and DGV
- Replies: 9
- Views: 654
Re: Get-Aduser and DGV
Can we delete this thread so I can start a fresh one?
- Fri Jul 20, 2018 12:21 am
- Forum: PowerShell GUIs
- Topic: Get-Aduser and DGV
- Replies: 9
- Views: 654
Re: Get-Aduser and DGV
I’ll post my code tomorrow
- Fri Jul 20, 2018 12:10 am
- Forum: PowerShell GUIs
- Topic: Get-Aduser and DGV
- Replies: 9
- Views: 654
Re: Get-Aduser and DGV
So I want to return the group membership using ADSI into a DGV of the current logged on user. Again, ignore what I originally asked for, that was an error on my behalf.
As you can see it's returning much more than the groupname
This is what I'm getting and the code I'm using
As you can see it's returning much more than the groupname
This is what I'm getting and the code I'm using
- Thu Jul 19, 2018 11:46 pm
- Forum: PowerShell GUIs
- Topic: Get-Aduser and DGV
- Replies: 9
- Views: 654
Re: Get-Aduser and DGV
Yes sorry. Please excuse the first post. It's completely wrong
I want to return the groupmembership in a DGV. As you can see from my above post it's only returning the length of the object.
It returns just fine in the ISE
I want to return the groupmembership in a DGV. As you can see from my above post it's only returning the length of the object.
It returns just fine in the ISE