We are trying to use the latest version of the KBE Manipulator with Powershell. 
Is there a way in which it is possible to inject modules into the KBE?

For example, we are trying to use the ActiveDirectory module so that it is possible to create new users etc.

Furthermore is there any available documentation for using Powershell within the KBE?

0 Comments   [ - ] Hide Comments


Please log in to comment

Community Chosen Answer


Which module inject Active Directory?  KBEM uses ADSI drivers to access active directory, it is under kbe customizations menu.  I believe powershell in kbe is identical to windows, but not 100%

Answered 07/01/2015 by: cserrins
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity



You may need to run:

Import-Module Activedirectory

This will add the Active Directory Module to the Local machine to run those commands to get it on that machine at the beginning of your PowerShell Script as it is a new machine. 

The other option is to run it as a remote session on another machine by using:

Enter-PSSession -ComputerName (Domain Controller) or other system with the Active Directory PowerShell module loaded on it:

Hope that helps,


Answered 07/08/2015 by: ronfalkoff
Third Degree Blue Belt

Please log in to comment
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja