Errr....

That should read "with the 1.3 Quest snapin"

Kurt

On Mon, Nov 30, 2009 at 12:38, Kurt Buff <[email protected]> wrote:
> Nope. Didn't work, or else I'm doing it wrong.
>
> No big deal, really on this one. The bigger thing is that with the 1.3
> I can easily clear the manager attribute. That is good.
>
> Kurt
>
> On Mon, Nov 30, 2009 at 12:04, Joe Tinney <[email protected]> wrote:
>> This should just return the name of the manager of a user.
>>
>> Get-QADUser (Get-QADUser user).Manager | Select Name
>>
>> -----Original Message-----
>> From: Kurt Buff [mailto:[email protected]]
>> Sent: Monday, November 30, 2009 3:00 PM
>> To: NT System Admin Issues
>> Subject: Re: Powershell and enumerating/removing group membership
>>
>> On Mon, Nov 30, 2009 at 10:33, Steven Peck <[email protected]> wrote:
>>
>> <snip>
>>
>>> However, a little 'select' work will clear that up.
>>> get-qadmemberof sepeck | select Name
>>
>> This works well. Thanks for that.
>>
>>>
>>> Get-QADMemberOf sepeck | Get-QADGroup | select Name, managedby
>>>
>>> Now that will get you the fqdn of managed by field which is annoying.
>>> I have a script somewhere that filters it better but have a meeting to
>>> go to.  So maybe that will get you started on data collection part and
>>> will look for the script after the meeting gets out.
>>
>> Sorry, I was not clear - this gets the manager of the group, and what
>> I want is the manager of the employee. I've found an incantation that
>> returns the DN of the manager:
>>
>>     'get-qadobject -displayname "kbuff" | select manager'
>>
>> so I should be able to work out how to slice that up and return just
>> the name, or to clear the field, I think. I may come back for some
>> advice on that.
>>
>>> Automatically doing something in exchange 2003 is not something I have
>>> done a lot of.  Just wmi stuff for data gathering.
>>
>> This is probably not about Exchange stuff, but I mentioned it just in case.
>>
>> Kurt
>>
>> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
>> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>>
>>
>> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
>> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
>

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to