Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

PowerShell 3: Can't execute scripts from Windows Explorer context menu

$
0
0

After updating PowerShell to v3 on my Windows Server 2008 R2 machine I don't seem to be able to run PowerShell scripts from the "Run with PowerShell" context menu item of Windows Explorer for my .ps1 files.

Those scripts did execute perfectly well until now. They still do execute from within ISE and from within an opened PowerShell console window. But they don't execute from that Windows Explorer context menu item anymore.

Why?

This is the error message I'm getting (translated from German):

No parameter found matching name "Command".
   + CategoryInfo  : InvalidArgument (:) [Run.ps1], ParentContainerErrorRecordException
   + FullyQualifiedErrorId  : NamedParameterNotFound,Run.ps1

Microsoft Marketing should care for customer feedback on their consumer products, e.g.Windows& Office.


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>