# Toolbox

The PowerShell Toolbox is quick way to access frequently used scripts.

Navigate to *Sitecore -> PowerShell Toolbox* and after selecting you should see the configured scripts:

![Toolbox](https://user-images.githubusercontent.com/933163/50113236-fda4b500-0206-11e9-8997-c629927a5148.png)

**Note:** Examples included in the following modules

* Authorable Reports
* Logged in Session Manager
* Package Generator
* Task Management
* Platform

## Available Tools

### Index Viewer

This tool provides similar functionality to the [Index Viewer](https://marketplace.sitecore.net/en/Modules/I/Index_Viewer.aspx) module. Search and rebuild the index on-demand.

![Index Viewer](https://user-images.githubusercontent.com/933163/50112430-d351f800-0204-11e9-9d5c-07c99c163205.png)

### Logged in Session Manager

View the list of user sessions and "kick" them out as needed.

![Logged in Session Manager](https://user-images.githubusercontent.com/933163/50112838-e1ecdf00-0205-11e9-8959-9d4332859162.png)

### Rules based report

Generate a report using the Sitecore Rules Engine.

![Rules based report](https://user-images.githubusercontent.com/933163/50112876-fd57ea00-0205-11e9-89ac-f407ada390a8.png)

### PowerShell Background Session Manager

View the list of SPE sessions and "kill" them as needed.

![PowerShell Background Session Manager](https://user-images.githubusercontent.com/933163/50112986-51fb6500-0206-11e9-8c4e-2905f1378dc9.png)

### Create Anti-Package

This tool provides similar functionality to the [Sitecore Rocks](https://github.com/SitecorePowerShell/Book/tree/9c7126d7a38df6ef372e8baef52f9a02baabd550/modules/integration-points/\[https:/marketplace.sitecore.net/en/Modules/S/Sitecore/_Rocks.aspx]) module.

![Create Anti-Package](https://user-images.githubusercontent.com/933163/50112920-1fea0300-0206-11e9-9a37-138c9cb9f273.png)

### Re-create Site from Sitemap

Simple tool for generating a site tree using an existing sitemap.

![Re-create Site from Sitemap](https://user-images.githubusercontent.com/933163/50113021-68a1bc00-0206-11e9-8f82-e7bc1d8eaefd.png)

### Task Manager

View and manage the configured scheduled tasks.

![Task Manager](https://user-images.githubusercontent.com/933163/50113111-a30b5900-0206-11e9-84b1-5ce866bb1d85.png)

## Create Tools for the Toolbox

To create your own Toolbox item take the following steps: 1. Create the *Toolbox* folder under an SPE module. Use the context menu to simplify the process.

* Right click the module name and choose Scripts -> Create libraries for integration points.

  ![Module Libraries](/files/-LA37_A5p7JMnQmXDmd1)
* Select the *Toolbox* item and click *Proceed*.

  ![Module Toolbox Library](/files/-LA37_BdW8tzCH7IRNSP)

  1. Create a *PowerShell Script* under the *Toolbox* item.
* Right click the *Toolbox* library and choose *PowerShell Script*.

  ![Libary Script](/files/-LA37_EjFalDXHO-zV6Y)

  1. Open and edit the *PowerShell Script* using the ISE.

     ![ISE Edit](/files/-LA37_GGftm-5n-V_DDT)
  2. Run the *Rebuild All* command in the ISE by navigating to the *Settings* tab and selecting the icon to rebuild. Be certain to enable the module before running the rebuild command.

     ![ISE Settings Tab](/files/-LA37_HoKSadE_JsGL2_)
  3. Verify the new toolbox item appears in the Toolbox.

     ![Toolbox](https://user-images.githubusercontent.com/933163/50113236-fda4b500-0206-11e9-8997-c629927a5148.png)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sitecorepowershell.com/modules/integration-points/toolbox.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
