Hi,

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?

Thanks,
Phil 
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

1
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%

-Corey
Answered 07/01/2015 by: cserrins
Red Belt

Please log in to comment

Answers

0

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,

Ron

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

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share