![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #2 (permalink) | ||||||||||||
| Guest | Re: get-qaduser to find disabled user Two options: 1. $user = Get-QADUser -Disabled -SizeLimit 0 | where {$_.name -eq "user100"} if($user) { ... } 2. if ((Get-QADUser -Name "user100").userAccountControl -band 2) {"disabled"} ----- Shay Levi $cript Fanatic http://scriptolog.blogspot.com Hebrew weblog: http://blogs.microsoft.co.il/blogs/scriptfanatic
| ||||||||||||
| | #3 (permalink) | ||||||||||||||||||||||||||||||||||||||||||||||||
| Guest | Re: get-qaduser to find disabled user On Dec 30, 5:50 pm, Shay Levi <n...@xxxxxx> wrote:
Thank you ! (Toda!!) I'll try it and let u know. Didi | ||||||||||||||||||||||||||||||||||||||||||||||||
| | #4 (permalink) | ||||||||||||||||||||||||||||||||||||
| Guest | Re: get-qaduser to find disabled user Cheers! ;-) ----- Shay Levi $cript Fanatic http://scriptolog.blogspot.com Hebrew weblog: http://blogs.microsoft.co.il/blogs/scriptfanatic
| ||||||||||||||||||||||||||||||||||||
| | #5 (permalink) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Guest | Re: get-qaduser to find disabled user On Dec 30, 9:58 pm, Shay Levi <n...@xxxxxx> wrote:
It's work ! toda !! Didi | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| get-qaduser | Swamy Channaveera | PowerShell | 8 | 03-19-2008 03:53 PM |
| Limited properties with user objects using Get-QADUser | Kari | PowerShell | 14 | 07-17-2007 04:40 AM |
| Laptop Built-in Microphone Disabled by accident -- Cant find it!!! | Jack Davis | Vista hardware & devices | 3 | 07-07-2007 05:38 PM |
| Run as Administrator under a Standard User with UAC disabled. | ericfournier4@gmail.com | Vista General | 5 | 05-15-2007 02:08 PM |
| Disabled User Account Control and disabled Administrator account. | Craig L Davies | Vista account administration | 2 | 03-11-2007 02:38 PM |