views:

379

answers:

2

Can I run PowerShell scripts in an Silverlight application?

+1  A: 

I don't think so... you would need the Process class, which is not available in Silverlight (for obvious security reasons...)

Thomas Levesque
+2  A: 

Silverlight is sandboxed, so even if you should manage to include PowerShell in your project, it would only run within your sandbox. However, you'll need the source to compile PowerShell to a Silverlight DLL

Cheers

Nik
niklassaers