Skip to main content
3 votes
1 answer
93 views

I'm looking for some help with pulling certificate information from Active Directory. When I'm troubleshooting accounts, it can take a while to manually check each individual settings. One of the ...
Karmaxdw's user avatar
  • 195
-1 votes
1 answer
85 views

Please help me. How can I display a list of AD users in WinForm ComboBox in font color depending on the account status? For example: a disabled user is light gray, an unlimited password is blue. $...
takeshisan's user avatar
1 vote
1 answer
194 views

As domain admin get-aduser -Filter { GivenName -like 'us')} -searchbase "DC=dom,DC=com" -properties * | Select SamAccountName, SurName, GivenName, @{Label='CurrentDate';Expression={get-date} ...
Alex Lum's user avatar
  • 301
2 votes
1 answer
237 views

I am using the below code to try and pull out a list of last logon times for a group of users contained in a CSV file. I have a test domain at home and the script below works fine. However, when I ...
Andrew Dash's user avatar
1 vote
0 answers
869 views

I am writing a script to reset a ADusers password, through PowerShell Set-ADAccountPassword -Identity TestA -Reset -NewPassword (ConvertTo-SecureString -AsPlainText $password -Force) when I run the ...
Tester123's user avatar
1 vote
1 answer
200 views

I have security groups with users and computers. I want to list ONLY the users within the security groups. I am getting the list of users but also getting an error for each computer in the security ...
Nelson Figueroa's user avatar
1 vote
1 answer
346 views

I am a bit lost here and don't know what to search for to make some progress. So maybe someone can help me out. I am working in an already existing Active Directory, with already existing users, ...
cBoLsmUiEc's user avatar
0 votes
1 answer
2k views

The below powershell command works for most of the accounts. import-module activedirectory Get-ADUser <account> -Properties * For some accounts, I get following error Get-ADUser : Not a valid ...
user avatar
1 vote
2 answers
1k views

Trying to determine if AD accounts have been modified in the last 2 hours. If I manually do a Get-ADUser and then compare $ObjDelta = ((Get-Date) - ($i.Modified)) I can successfully check the "...
Matthew Watt's user avatar
0 votes
3 answers
348 views

I want to get email address of all the users that are indirectly in one OU, in that OU there are groups and the groups members are sometimes groups and sometimes users (I need all the users in all ...
atefeh kasiri's user avatar
1 vote
3 answers
16k views

I would like to query all AD users and get the following attributes from each user: SamAccountName, UserPrincipalName, LastLogonDate, Enabled, LockedOut, PasswordNeverExpires, CannotChangePassword, ...
Rambo2000's user avatar
1 vote
1 answer
405 views

The below script is considerably cut down in terms of the number of user properties being requested and there are approximately 50,000 users to iterate through. My previous approach was to first get a ...
Itchydon's user avatar
  • 2,612
0 votes
1 answer
2k views

I have a command that will display the AD group membership of a user: Get-ADPrincipalGroupMembership username | select name But I have to type each username for every user. I was wondering if someone ...
S.Mahmood's user avatar
  • 151
0 votes
1 answer
1k views

In my understanding I made a code that first lists computers with all their properties, then selects only the description property and after that it filters the computers whether they contain the ...
Stanisław Bateńczuk's user avatar
0 votes
1 answer
185 views

I'm outputting a list of members from an AD group to a csv file. Right now it's outputting with the header 'name'. I currently want to have the output without the header. This is my code: $groupNames =...
noobCoder's user avatar
  • 115

15 30 50 per page
1
2 3 4 5
7