-
Hi all, i have a new question :) i wish to return all the groups in a domain that have disabled members. I've looked at doing this via Get-Qadgroup | Get-Qadgroupmember but i couldn't get it to work. So i ended up doing it this way instead: get-qaduser this sort of works in that I get a list...
-
Hi Folks: I am trying to find a way to query AD for user accounts that are set to expire, but that's the easy part. I need to run a scheduled task that ties into a Quest system we use that does a whole "disabling" process on user accounts. The task will be this script I'm trying to...
Posted to
PowerShell for Active Directory
(Forum)
by
virtuallynothere
on
12-07-2012
Filed under: AD, Quest, powershell, ad account expiration, AD Disable Update Description, Get-QADUser, IncludeAllProperties, foreach, AD Auditing using PowerShell, power shell, User, Active Directory Management
-
Hi, I'm trying to make a PowerShell script that counts the number of users in a specific OU in our Domain. This OU has 104 child OU's and 1.600 users. The script is supposed to count the users and then export the results to an excel file. My problem is the number of users I think. Because when...
-
Need Help i have an account creation script and i am auditing/validating the account creation at the end. The script creates multip users i have the following so far. foreach ($user in $Users) { Get-QADUser -Identity $user.saMaccountname -IncludeAllProperties | Select displayname,samaccountname,employeeid...
-
Hello, I am trying to find a way to modify this script so that it will accept a list of usernames and then delete the home folders for the users. The home folders exist on numerous file servers and I can put the user names in a text or csv file. Can anyone help me out and thanks in advance! $psSession...
-
I am trying to find a way to delete home folders for a list of users that I can put into a csv file or text file. I found a script that deletes the home folders for a single user, but how can I get this to do this for users specified in a file, and can I add something to have the script delete the user...
-
Hi All, we have a script that should create a number of Universal Security Groups given a CSV file as input. We have 2 issues! First one, this part of the script gives me an error: ---------------------------------------- $domainName = ([System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain...
-
Hello All, Hello All, I am looking for extra parameters, that can list all distribution groups and their email address ... along with their respective members and their individual primary email address. The script below, only lists Group Name / Member / Member Email. What I need is GroupName | GroupName...
-
Good Afternoon, I'm tried looking around the web for this issue, but have not been able to find a definite solution. QUICK OVERVIEW: My company had to change email servers. In the process we migrated just under 4,000 users to the new email system. As a transition phase during the migration a contact...
Posted to
PowerShell for Active Directory
(Forum)
by
Sam
on
04-04-2013
Filed under: Active Directory, Quest, powershell, pipe, Get-QADUser, IncludeAllProperties, Get-QADObject, power shell, Active Directory Management
-
I'm quessing I do a search for Quest Active Directory Module? Cheers