Solved

Have to find and remove unapproved verbs?

Posted on 2016-09-13
4
15 Views
Last Modified: 2016-11-01
I see numerous post on Internet about this error?  Some suggest you can suppress error, others say you should remove unapproved verbs?  I don't understand what module 'tmp_mplgxqob.2t1' refers to  (name may vary)?  Is that referring to the script base itself -- I don't have any custom modules.  Also, how does one find unapproved verbs?

Thanks
WARNING: Your connection has been redirected to the following URI:
"https://ps.outlook.com/PowerShell-LiveID?PSVersion=3.0 "
WARNING: The names of some imported commands from the module 'tmp_mplgxqob.2t1' 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.
0
Comment
Question by:apsutechteam
  • 3
4 Comments
 
LVL 82

Accepted Solution

by:
oBdA earned 500 total points (awarded by participants)
Comment Utility
Just ignore this; it's a warning, nothing more. In this case, you obviously won't be able to to change the unapproved verbs.
This rule is relevant if you develop your own modules, in which case you should indeed stick to the verbs you get from Get-Verb.
The rule only applies to mere mortals, Microsoft developers (as you may have noticed) don't seem to be bound by formalities like this. The Exchange management module gives the same warning. Or just have a look at one of the base PS tools: Sort-Object. "Sort" is not an approved verb ...
0
 

Author Comment

by:apsutechteam
Comment Utility
What does script module refer to?
0
 
LVL 82

Assisted Solution

by:oBdA
oBdA earned 500 total points (awarded by participants)
Comment Utility
It's a temporary module that gets created, for example, when using Import-Session.
If the warning is actually from Import-Session (no idea, since you didn't provide any context at all), you can add the --DisableNameChecking switch to suppress it.
0
 
LVL 82

Expert Comment

by:oBdA
Comment Utility
Question answered
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now