Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 947 Bytes

File metadata and controls

37 lines (21 loc) · 947 Bytes

RDS User Profile Disks (UPDs) report including account information from Active Directory

The report contains the following attributes:

FullName - full path to UPD file.

LastWriteTime - time when UPD was last modified.

Size - file size in MB.

SID - Active Directory account security identifier.

AD_Account_Name - Active Directory account name.

AD_Account_UPN - Active Directory account user principal name.

AD_User_Enabled - information if account is enabled or disabled.

AD_User_LastLogon - Active Directory account last logon time.

Examples

Gets report where UPD files location is “\Share\UPDs\”.

.\Get-UPDReport.ps1 -UPDPath "\\Share\UPDs\"

The same as above but an output will be saved in Report.csv file.

.\Get-UPDReport.ps1 -UPDPath "\\Share\UPDs\" | Export-Csv Report.csv

Requirements

Access to UPD path and Active Directory PowerShell module.