Verbose switch clutter...


since installing powershellget , azure powershell v1.0.1 verbose output more verbose.  i keep seeing many more modules loading when never saw them loading before when running script in -verbose mode, console output littered things don't want see.

verbose: loading module path 'c:\program files (x86)\windowspowershell\modules\packagemanagement\1.0.0.1\microsoft.powershell.packagemanagement.dll'.
verbose: loading module path 'c:\program files (x86)\windowspowershell\modules\packagemanagement\1.0.0.0\microsoft.powershell.packagemanagement.dll'.
verbose: loading module path 'c:\program files (x86)\windowspowershell\modules\pester\3.3.5\pester.psm1'.
verbose: loading module path 'c:\program files (x86)\windowspowershell\modules\powershellget\1.0.0.1\psmodule.psm1'.
verbose: loading module path 'c:\windows\system32\windowspowershell\v1.0\modules\microsoft.powershell.utility\microsoft.powershell.utility.psm1'.
verbose: loading module path 'c:\windows\system32\windowspowershell\v1.0\modules\microsoft.powershell.odatautils\microsoft.powershell.odatautils.psm1'.
verbose: loading module path 'c:\windows\system32\windowspowershell\v1.0\modules\microsoft.powershell.archive\microsoft.powershell.archive.psm1'.
verbose: loading module path 'c:\windows\system32\windowspowershell\v1.0\modules\appx\appx.psm1'.
verbose: loading module path 'c:\windows\system32\windowspowershell\v1.0\modules\branchcache\branchcacheclientsettingdata.cdxml'.
verbose: loading module path 'c:\windows\system32\windowspowershell\v1.0\modules\branchcache\branchcachecontentserversettingdata.cdxml'.
verbose: loading module path 'c:\windows\system32\windowspowershell\v1.0\modules\branchcache\branchcachehostedcacheserversettingdata.cdxml'.
verbose: loading module path 'c:\windows\system32\windowspowershell\v1.0\modules\branchcache\branchcachenetworksettingdata.cdxml'.
verbose: loading module path 'c:\windows\system32\windowspowershell\v1.0\modules\branchcache\branchcacheorchestrator.cdxml'.
verbose: loading module path 'c:\windows\system32\windowspowershell\v1.0\modules\branchcache\branchcacheprimarypublicationcachefile.cdxml'.
verbose: loading module path 'c:\windows\system32\windowspowershell\v1.0\modules\branchcache\branchcacheprimaryrepublicationcachefile.cdxml'.
verbose: loading module path 'c:\windows\system32\windowspowershell\v1.0\modules\branchcache\branchcachesecondaryrepublicationcachefile.cdxml'.
verbose: loading module path 'c:\windows\system32\windowspowershell\v1.0\modules\branchcache\branchcachestatus.cdxml'.
verbose: loading module path 'c:\windows\system32\windowspowershell\v1.0\modules\directaccessclientcomponents\msft_dasitetableentry.cdxml'.
verbose: loading module path 'c:\windows\system32\windowspowershell\v1.0\modules\directaccessclientcomponents\msft_daclientexperienceconfiguration.cdxml'
.
verbose: loading module path 'c:\windows\system32\windowspowershell\v1.0\modules\dism\microsoft.dism.powershell.dll'.

.

....and on , on goes.

anyone else see , know how rid of it...its making things harder debug/troubleshoot stuff flying across screen.



$verboseperference='silentlycontinue'

\_(ツ)_/



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Can no longer user MS Update - Files required to use Microsoft Update are no longer registered

How do a find data in one file, search for it in another file and if not found, write a custom message to another file