Check if an AD user has a roaming profile configured (PowerShell)
This script can query specified active directory users whether or not a roaming profile was configured.
Scenarios
IT admins may care about which users has a roaming profile was configured. This script can help IT admins check whether or not a roaming profile was configured.
Script
Step 1: Run the script in the Windows PowerShell Console, type the command: Import-Module <Script Path> at the prompt. For example, type Import-Module C:\Script\CheckIfProfileExists.psm1
This is shown in the following figure.
Step 2: Type the command Get-Help Get-OSCADUserRoamingProfile -Full to display the entire help file for this function, such as the syntax, parameters, or examples.