Include Active Directory Module in exe file

Ask your Windows PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
User avatar
jramon.r@tv3.cat
Posts: 19
Joined: Mon Jan 19, 2015 2:32 am

Include Active Directory Module in exe file

Post by jramon.r@tv3.cat » Thu Jan 31, 2019 2:24 am

We want to build an exe and we need that it includes the Active module for Powershell. Because we can execute this exe in a Machine, Windows 7, where it's not installed this feature. Is it possible?
Thanks

User avatar
jvierra
Posts: 13289
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Include Active Directory Module in exe file

Post by jvierra » Thu Jan 31, 2019 9:08 am

The Active Directory module cannot be copied. It must be installed. You could deliver the RSAT package with you app an also install that. It is only a 264Mb msu file.

Download Remote Server Administration Tools for Windows 7

Locked