-
As I'm learning PS, one item I'd like more insight on is how to gather Active Directory authentication metrics. We have a multi-domain forest with global presence. Given a list of DCs, how can I get authentication metrics for a given time period of per second or minute. I presume this would involve...
-
Appreciate your help I am getting a different error: PS C:\Users\Administrator.TXDC01> Import-CSV c:\import_1.csv | Select * @{Name="SamAccountName";Expression={$_."SamAccountName"}}, @{Name="sn";Expression={$_."Last Name"}}, @{Name="GivenName";Expression...
-
Howdy, I am trying a new script that is hopefully easier than the last I tried. I have a server that performs actions to create, modify, and disable user accounts. I have a command that retrieves the list of users I need to report on and now I am not sure how to get to the next steps of creating this...
-
I am trying to find a way to modify the script below or if anyone has a script that will delete home folders for a list of users if the user names are specified in a text or csv file, can anyone help? I would like to delete the user accounts as well, but the home folders is fine for now. I want to do...
-
I am trying to set a virtual attribute that currently exists for all users in a specific OU. I can retrieve the attribute value and user name fine using the command below, but then I tried to set the value and that fails in the command below, and also in the script below. I'm trying to get help on...
-
We have a Group that is made up of managers (those with direct reports) and want to run a PS script routinely to add and remove members of the group. I would think emptying and repopulating the group members would be the most efficient, but also wanted to see the changes as a sanity check. Here is what...
-
Hi, I'm trying to write a script that will rename a distribution list where I specify the existing name and the new name, then the script changes the name in the right places in AD, then also change the email address to the new "display name", which is what the email address is now, and...
-
Hello, I am trying to write a script that queries specific groups, the scripts can be 1 per group or if the script could check multiple groups then that would be fine. I want to get a script that queries security groups such as Enterprise Admins for example, then provides a report of who is in the group...
-
Hello, I am trying to write a script that queries specific groups, the scripts can be 1 per group or if the script could check multiple groups then that would be fine. I want to get a script that queries security groups such as Enterprise Admins for example, then provides a report of who is in the group...
-
I have been writing a script to collect info from AD, namely groups and their members. The script works... ...but it gives me more info than I need. What I want to acheive is to exclude the Domain Users group from the collection. This is the script without my attempts to exclude the "Domain users"...