- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2015 03:23 PM
I am working on a Exchange integration using Orchestration. we have a custom powershell script
Output is showing as below
WARNING: The names of some imported commands from the module 'Exchange' include
unapproved verbs that might make them less discoverable. To find the commands
with unapproved verbs, run the Import-Module command again with the Verbose
parameter. For a list of approved verbs, type Get-Verb.
Deshpande, Amruta
1. - How do I get rid of the WARNING message
2. How do I parse only last line ignoring warning message
Thank you
Solved! Go to Solution.
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2015 11:12 AM
Hi Varsha,
If you are importing exchange module, then your synyax would be
import-module -moduleName - DisableNameChecking
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2015 01:41 PM
This worked Deepak , thanks a lot !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2015 10:07 AM
Since you're using exchange, are you setting up a pssession?
This link might be useful to you in where to set the flag:
powershell - Suppress output from Import-PSSession - Stack Overflow