-
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...
-
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
-
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
-
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
-
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...
-
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...
-
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.
-
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...
-
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...