Passing a variable from Excel 2007 Custom Task Pane to Hosted PowerShell
- by Uros Calakovic
I am testing PowerShell hosting using C#. Here is a console application that works:
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
using Microsoft.Office.Interop.Excel;
namespace ConsoleApplication3
{
…