Browse Forum Posts by Tags

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

    Hi Sorry for the confusion. My question is: I need help writing a script that uses the Quest cmdlets that find all accounts with the ad attribute of "AccountExpires" and it reads the specific date/time set on the account, if the date/time matches "now" when the script is running,...
    Posted to PowerShell for Active Directory (Forum) by JakeS on 12-17-2012
    Filed under: Active Directory, AD, ad account expiration, AD Disable Update Description, Get-QADUser, IncludeAllProperties, Get-QADObject, foreach, AD Auditing using PowerShell, Active Directory Management
  • 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
  • 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
  • Powershell 3 on Windows 7: New ADDS cmdlets not available

    Hello, I have installed the MSU file KB2506143 on my Windows 7 x86 client to get Posh v3. $PSVersionTable.PSVersion says I'm running Posh v3. I am interested in the new ADDS cmdlets around replication, e. g. Get-ADReplicationAttributeMetadata. So I run "import-module ActiveDirectory" but...
    Posted to PowerShell for Active Directory (Forum) by SilentNight on 11-26-2012
    Filed under: Active Directory, AD
  • 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
  • Adding active directory users to groups based on OU

    I am looking for a powershell script that will allow me to add active directory users to groups based on the OU they are in. Here is what I have. "Get-ADUser -filter * -searchbase ""OU=MyTeachers,OU=Schools,DC=yourdoman,DC=org""| % {Add-ADGroupMember -Identity The issue I am...
    Posted to PowerShell for Active Directory (Forum) by melp1966 on 10-08-2012
    Filed under: Active Directory, AD, User membership
  • 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
  • Finding the owner of the directory on the file server

    Hello, We have a new big project coming up of migration of file server. I am assigned a task of creating a list of the owner's of the directory on the share. I have written a very basic script for the same, it is as given below $Path = Read-Host "Enter the Path" $ACL = Get-ChildItem $Path...
    Posted to PowerShell for Active Directory (Forum) by newopweruser007 on 07-30-2012
    Filed under: Active Directory, AD
  • 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
  • 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
Page 1 of 5 (44 items) 1 2 3 4 5 Next >
Copyright 2012 PowerShell.com. All rights reserved.