-
Free. Collection of very useful Cmdlets to send email, create ZIP files, manage network settings and more. Come with an AD provider that lets you navigate your AD like a drive. Download: http://www.codeplex.com/PowerShellCX/Release/ProjectReleases.aspx?ReleaseId=2688
-
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
virtuallynothere
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
-
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
virtuallynothere
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
-
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
-
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...
-
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
-
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...
-
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...
-
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...
-
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...