Windows - User Profile - Get Information
Summary
This script gathers information about user profiles. The data is stored in the custom table plugin_proval_userprofiles.
Note: This script is not supported on Windows Domain Controllers or deprecated versions of Windows. An error will be thrown if it is run against one.
File Hash
-
File Path:
C:/ProgramData/_Automation/script/Get-UserProfiles/Get-UserProfilesAI.ps1
File Hash (SHA256):50F950BF884F1AF49E474F0E3554072A755F60F02D368A4E1114210999BD829E
File Hash (MD5):3C0DAD59B8266E583523440471DDA778 -
File Path:
C:/ProgramData/_Automation/script/Get-UserProfiles/Get-UserProfiles.ps1
File Hash (SHA256):FDE0F31BB08DC85F8260D437284927F0D6907C88C04F8728ED9D67C125886663
File Hash (MD5):1DF4E90E6E42BA0540944AF8C85A181B
Sample Run
Dependencies
- Get-UserProfiles
- PowerShell v5
Global Variables
| Name | Value | Accepted Values | Description |
|---|---|---|---|
| Debug | False | False, True | When True, enables informational logging; when False (default), informational logs are suppressed to avoid adding entries to the h_scripts table. Set to True to assist with troubleshooting. |
| ScriptEngineEnableLogger | False | False, True | When True, enables final (success/failure) logging; when False (default), these logs are suppressed to avoid adding entries to the h_scripts table. Set to True to assist with troubleshooting. |
Output
- Script log
- Local file on computer
- Dataview