public void TestAddParameters()
        {
            PowerShellWrapper newPowerShellWrapper = new PowerShellWrapper();

            newPowerShellWrapper.AddCommand("Get-Command");
            newPowerShellWrapper.AddParameter("Test", "Test");
        }
        public void TestDisposeMethod()
        {
            PowerShellWrapper newPowerShellWrapper = new PowerShellWrapper();

            newPowerShellWrapper.AddCommand("Get-Command");
            newPowerShellWrapper.AddParameter("Test", "Test");
            newPowerShellWrapper.Dispose();
        }
        public void TestInvokeMethod()
        {
            PowerShellWrapper newPowerShellWrapper = new PowerShellWrapper();

            newPowerShellWrapper.AddCommand("Get-Command");
            newPowerShellWrapper.AddParameter("Test", "Test");
            Collection <PSObject> returnedObjects = newPowerShellWrapper.Invoke();

            Assert.IsTrue(returnedObjects.Count > 0);
        }
        public void TestAddCommands()
        {
            PowerShellWrapper newPowerShellWrapper = new PowerShellWrapper();

            newPowerShellWrapper.AddCommand("Get-Command");
        }