'Looking for cmdlets that shows the location of the personal and system profile ps1 scripts

When I start PowerShell if this message:

Loading personal and system profiles took xxx ms

Where are the personal and system profile ps1 scripts?

Is there any command that shows which exact startup scripts are being loaded upon every start?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source