30 April, 2013

A positional parameter cannot be found that accepts argument SharePoint 2010

Problem Description:
Let me tell you that you will face this error while executing PowerShell commands. I have experienced the same while executing ‘add solution’ command.

Error Message:
A positional parameter cannot be found that accepts argument

You might laugh when I will tell you the resolutions in reference to the above as it’s so simple.

Resolution:
-Check the literal path that you have provided, most probably that’s the only reason when this command throws an exception.

Make sure that you providing the path in double quotation marks. That’s it.

Please amend the changes and you will successfully execute the command that you are working on.

In case of any queries/questions then please let me know, Thank you.

3 comments:

  1. Just desire to say your article is as surprising. The clarity to your put up is simply
    nice and i could assume you're knowledgeable in this subject.
    Well with your permission allow me to clutch your feed to keep up to date with drawing close post.
    Thank you one million and please keep up the enjoyable work.



    My page; Neighborhood Lloyd Harbor Licensed Commercial Locksmith,

    ReplyDelete
  2. Thanks.. it worked

    ReplyDelete

Your feedback is always appreciated. I will try to reply to your queries as soon as possible- Amol Ghuge

Note: Only a member of this blog may post a comment.