The PowerShell profile can be used to customise your PowerShell environment to how you like it. I use my profile to add aliases to common commands and modules I use.
The profile in PowerShell can have four different settings: AllUsersAllHosts AllUsersCurrentHost CurrentUserAllHosts CurrentUserCurrentHost
To view your profiles, you can use the $PROFILE variable and the relevant NoteProperty:
You can just use the $PROFILE variable to see the current profile in use in the current host
Here’s the code that will create the output in the image above: