Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Have to find and remove unapproved verbs?

Posted on 2016-09-13
4
Medium Priority
?
47 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 85

Accepted Solution

by:
oBdA earned 2000 total points (awarded by participants)
ID: 41796184
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
ID: 41816888
What does script module refer to?
0
 
LVL 85

Assisted Solution

by:oBdA
oBdA earned 2000 total points (awarded by participants)
ID: 41837845
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 85

Expert Comment

by:oBdA
ID: 41868045
Question answered
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

704 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