Question: 1 0 . On your Domain Controller, create a custom function called Get - UserInfo. This function will use the built - in Get -
On your Domain Controller, create a custom function called GetUserInfo. This function will use the builtin GetADUser cmdlet.
Your custom function GetUserInfo should display ONLY the following properties in a tabular format, for all the domain users: Points
A Name of the user in Column
B User ID SamAccountName property of the user in Column
C Their OU location in the domain DistinguishedName property in Column
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
