I have a powershell script that has a bunch of powershell functions. I want to be able to selectivly call indiviual functions from my VB.net application without running the whole script.
My research into calling Powershell code from VB.net has shown me either to call in individual powershell COMMAND (say Get-User) or calling a complete powershell script itself (The whole .ps1 file)
Anyone know how to do this, or can point me to a good site (that has code examples?)
Thanks
Microsoft's new scripting shell formerly known as Monad or MSH. For examples you could visit here.