Windows Active Powershell Code