Browse Forum Posts by Tags

Showing related tags and posts for the Forums application. See all tags in the site
  • Re: Query OU for expired accounts within specified date/time - real time?

    Hello, Thank you for the reply. I need to: 1. Get-Date - it can be the exact time 2. Query an OU & All Sub-OUs for accounts that have a date/time set in the attribute that is either "now - the time the script is running" and any date/time prior to the time the script is running. This would...
    Posted to PowerShell for Active Directory (Forum) by JakeS on 12-12-2012
    Filed under: Active Directory, AD, Quest, ad account expiration, AD Disable Update Description, Get-QADUser, IncludeAllProperties, foreach, power shell, User, Active Directory Management
  • using Quest CMDlets to return all groups that contain disabled users

    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...
    Posted to PowerShell for Active Directory (Forum) by Ands7 on 12-12-2012
    Filed under: Active Directory, Quest, powershell, User membership, Get-QADObject
  • Query OU for expired accounts within specified date/time - real time?

    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 JakeS 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
  • Too many users in the OU to count!

    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...
    Posted to PowerShell for Active Directory (Forum) by Mikael Johnsen on 08-02-2012
    Filed under: Active Directory, AD, AD size, Quest, powershell, Get-QADObject
  • For Each Loop Collection and CSV Export

    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...
    Posted to PowerShell for Active Directory (Forum) by gelmera on 07-23-2012
    Filed under: Active Directory, Quest, powershell, pipe, IncludeAllProperties
  • Function to ""translate" GUID (input parameter) to "readable" text

    What happens? The Script: $x = Read-Host "Please type First Name, Last Name, Display Name, saMAccountName, ..." Get-QADUser $x -IncludeAllProperties | fl DisplayName, SamAccountName,hsg*Template* gives me back: DisplayName : Thomas Koeppel SamAccountName : TKoeppel hsgIsTemplate : False hsgMemberOfTemplates...
    Posted to PowerShell for Active Directory (Forum) by powertom on 05-22-2012
    Filed under: Active Directory, AD, Quest, pipe
  • Delete home folders for user list?

    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...
    Posted to PowerShell for Active Directory (Forum) by JakeS on 04-18-2012
    Filed under: Active Directory, AD, homedirectory, Quest, powershell
  • Delete home folders - specify list of names instead of 1 user at a time?

    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...
    Posted to PowerShell for Active Directory (Forum) by JakeS on 04-17-2012
    Filed under: Active Directory, AD, homedirectory, Quest, powershell
  • Import Users in AD thru .csv into Child/Parent domain

    How can I import AD users into child or parent domain sitting from a Terminal Server. I'm able to use dsa.msc to connect to any domain I want to connect to add users to their respective Domains and OUs. A brief note on what needs to be done and a command would be appreciated. Thanks
    Posted to PowerShell for Active Directory (Forum) by VikashPatel on 11-03-2011
    Filed under: Active Directory, AD, Quest, Add Users, Terminal Server
  • Create Universal Security Group

    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...
    Posted to PowerShell for Active Directory (Forum) by tonuscdc on 06-28-2011
    Filed under: Active Directory, AD, Quest, powershell
Page 1 of 2 (18 items) 1 2 Next >
Copyright 2012 PowerShell.com. All rights reserved.