public Exchange() { this.ps = new Powershell(); }
public AD(Powershell ps) { this.ps = ps; // import AD Module this.ps.Execute("Import-Module ActiveDirectory"); }
public void Connect() { this.ps = new Powershell(); }