Browse Forum Posts by Tags

Showing related tags and posts for the PowerShell for Active Directory forum. See all tags in the site
  • 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
  • Last Time Domain Admins Changed Password

    My manager just asked me for a report for all domain admins in a group called Domain Admins. The report should include when the last time all members of the group changed their password. I am new to Powershell and would appreciate a Powershell script. Thank You, LouGal
    Posted to PowerShell for Active Directory (Forum) by LouGal on 12-10-2012
    Filed under: powershell
  • 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 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
  • Get a list AD users that have logged onto a computer

    I am looking for a way to get a list of AD users that have logged onto a more or less public computer. I can get all the local users, but not AD\users. I have not found any references and have no idea how to go about this or where else to look. Any ideas? Thanks
    Posted to PowerShell for Active Directory (Forum) by msondergard on 11-16-2012
    Filed under: Active Directory, AD, powershell, AD Auditing using PowerShell
  • 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
  • Please help with Password Policy and Audit Policy

    Hallo PS, I found this script below which is show the current password policy, it work perfectly except the PasswordComplex, and can you guild me how to show "Store password using reversible encryption" ? and I need a script that show all the current Windows Audit Policy Start-Run: secpol.msc...
    Posted to PowerShell for Active Directory (Forum) by sjnbad on 05-31-2012
    Filed under: Active Directory, AD, password, powershell
  • Re: Run an LDAP call from powershell..?

    OK if I run the $root = $dom.GetDirectoryEntry(), part I get: distinguishedname: {Dc=,Dc=,Dc=} path: LDAP://... SO how to I populate : $root = New-Object System.DirectoryServices.DirectoryEntry( LDAP://dc=contoso,dc=com ), with the domain im In? This is where im getting hung up? THx.
    Posted to PowerShell for Active Directory (Forum) by jwhite on 05-08-2012
    Filed under: Active Directory, AD, powershell
  • Run an LDAP call from powershell..?

    If im in exchange shell, and i want to get a list of all the cas servers in the arrray I would tyep get-clientaccessarray | and grab the members of it. In turn I would get something like: server1.company.com,server2.company.com. So is there a way to get the list of all the server in the array by doing...
    Posted to PowerShell for Active Directory (Forum) by jwhite on 05-01-2012
    Filed under: Active Directory, AD, powershell, get-adcomputers, Get-ADComputer
  • Join domain Prompt for Credentials

    This is my very first script using Powershell so please excuse me. I'm sure there are cleaner ways to get this done. A little bit of background... This will run as a post-install after an image to join the user to our domain. After it successfully runs it will delete itself and then reboot. My problem...
    Posted to PowerShell for Active Directory (Forum) by dugullett on 04-30-2012
    Filed under: Active Directory, powershell, Add Computers, Windows 7, power shell, Add Domain Group to Local Group, User
Page 1 of 4 (38 items) 1 2 3 4 Next >
Copyright 2012 PowerShell.com. All rights reserved.