The first step is to create or edit the PowerShell configuration “PowerShell.exe.config” file located in C:\Windows\System32\WindowsPowerShell\v1.0\, (figure 1). Security Explorer is a 32 bit application so on 64 bit machines the configuration should target the 32 bit PowerShell console.
Note: If the operating system is 64 bit, the path for creating the "PowerShell.exe.config" file is located in: C:\Windows\SysWOW64\WindowsPowerShell\v1.0
![[image]](https://support.quest.com/KBArticleImages/SL3943/ec3a566b.jpg)
Open or create the file in notepad and enter the following string:
<?xml version="1.0"?>
<configuration>
<startup
useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0.30319"/>
<supportedRuntime version="v2.0.50727"/>
</startup>
</configuration>
If the file already exists, then just update it by adding the missing elements and settings.
![[image]](https://support.quest.com/KBArticleImages/SL3943/00a7bb7b.jpg)
To install the commandlets from the “Start Menu” select: Start | All Programs | ScriptLogic Corporation | Security Explorer 8 | PowerShell | Run PowerShell.
![[image]](https://support.quest.com/KBArticleImages/SL3943/daed3930.jpg)
Click “OK” in the alert window.
![[image]](https://support.quest.com/KBArticleImages/SL3943/e25a4b71.jpg)
The PowerShell window will open and begin the installation. When the installation completes the welcome message will be shown along with some basic instructions.

You may also do a manual install from within the PowerShell Console. To do a manual install, select Start | All Programs | Accessories | Windows Power Shell (Windows Power Shell (x86) on 64 bit machines), to launch the Windows PowerShell Console (figure 6).
![[image]](https://support.quest.com/KBArticleImages/SL3943/4aa90786.jpg)
First it is necessary to set the Execution Policy to allow your account to execute PowerShell scripts. Run the following command: “Set-ExecutionPolicy Unrestricted” .

Change the path to “C:\Program Files (x86)\ScriptLogic Corporation\Security Explorer 8” by entering the command “Set-Location [Security Explorer Install path]”.

Now execute the PowerShell script by typing “.\sxp8.ps1” at the command prompt. When the installation completes, the welcome message will be shown along with some basic instructions.

To view a list of the Security Explorer Commandlets type “Get-command *SXP*” at the PowerShell command prompt.

To get help on any Commandlet type help and the name of the commandlet you need instructions on. E.g. “help SXPSharePointGrant”.
