Include Active Directory Module in exe file

Ask your 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.
This topic is 5 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
jramon.r@tv3.cat
Posts: 25
Last visit: Tue Jan 11, 2022 4:23 am

Include Active Directory Module in exe file

Post by jramon.r@tv3.cat »

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
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Include Active Directory Module in exe file

Post by jvierra »

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
This topic is 5 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked