Question: 1 0 . On your Domain Controller, create a custom function called Get - UserInfo. This function will use the built - in Get -

10. On your Domain Controller, create a custom function called Get-UserInfo. This function will use the built-in Get-ADUser cmdlet.
Your custom function (Get-UserInfo) should display ONLY the following properties in a tabular format, for all the domain users: -[10 Points]
A. Name of the user in Column 1
B. User ID (SamAccountName property) of the user in Column 2
C. Their OU location in the domain (DistinguishedName property) in Column 3
D. Use appropriate error handling.
Show me the script that makes it so and its output here:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!