Summary: Use the Verbose switched parameter with the Import-Module cmdlet to trace module load activity.
How can you watch what loads when importing a Windows PowerShell module?
Use the Verbose switch when calling the Import-Module cmdlet:
Import-Module psdiagnostics -verbose
0 comments