Posted by TK on 3/17/2010 8:33 PM | Comments (1)
Here is the code snippet that would invoke SharePoint 2010 Powershell cmdlets from VS 2010 1: private void invokeSPCmdlet() 2: { 3: // create runspace configuration 4: RunspaceConfiguration config = RunspaceConfiguration.Create(); 5:&... [More]