Suppressing verbose output for Import-PSSession cmdlet This topic contains 3 replies, has 2 voices, and was last updated by Noam lesnik 1 year, 8 months ago. Author Posts November 19, 2015 at 3:52 am #32114 Bojan ZivkovicParticipant I wrote a function which creates AD users and their mailboxes in bulk by using input .csv file. In order to run Enable-Mailbox cmdlet I put these lines in BEGIN script block: $exchsession = New-PSSession -ConfigurationName microsoft.exchange ` -ConnectionUri http://exch.test.com/powershell Import-PSSession $exchsession -DisableNameChecking | Out-Null I have many Write-Verbose cmdlets in my function but having called function with -Verbose parameter there are VERBOSE: Importing function '.....' for each imported function. How to suppress these VERBOSE lines only for Import-PSSession cmdlet? November 19, 2015 at 4:11 am #32116 Noam lesnikParticipant Hi, I had this issue too, you can run it with -verbose:$false, so the entire command is: Import-PSSession $exchsession -DisableNameChecking -verbose:$false | Out-Null November 19, 2015 at 6:19 am #32122 Bojan ZivkovicParticipant I tried this but to no avail. November 19, 2015 at 7:12 am #32138 Noam lesnikParticipant There are a few more suggestions at http://stackoverflow.com/questions/11159984/suppress-output-from-import-pssession Author Posts You must be logged in to reply to this topic.