# Quick Scripts

Quick Scripts allow you to save and quickly access scripts that are stored anywhere on your machine. The scripts are stored across workspaces so whenever you open VS Code, you'll have access to the scripts. Quick scripts are listed in the PowerShell Explorer window.&#x20;

![](/files/-LtjlfrR5FWM67YEHvUj)

## Adding Quick Scripts

Quick Scripts can be added by issuing the Add Quick Script command or clicking the Add Quick Script button in the editor. In either case, it will add the current file to Quick Scripts.

![](/files/-LtjlvEKOjq_NVfUJfAX)

After issuing the command or clicking the button, you will have to enter a short name for the Quick Script.

![](/files/-Ltjm60xa_EMdSNW4KuU)

## Opening Quick Scripts

You can either open a Quick Script by click the button in the PowerShell Explorer window or by issuing the Open Quick Script command. When issuing the command, you'll have to enter the name of the Quick Script.&#x20;

![](/files/-LtjmIKICWFhXnMH0uLi)

## Removing Quick Scripts

You can remove quick scripts by clicking the Trash icon in the PowerShell Explorer window.&#x20;


---

# 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://docs.poshtools.com/powershell-pro-tools-documentation/visual-studio-code/quick-scripts.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.
