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
Open or create the file in notepad and enter the following string:
If the file already exists, then just update it by adding the missing elements and settings.
To install the commandlets from the “Start Menu” select: Start | All Programs | ScriptLogic Corporation | Security Explorer 8 | PowerShell | Run PowerShell.
Click “OK” in the alert window.
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).
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”.