Script Assistant Pane |
The Script Assistant pane, which is located on the right side of the Script Editor, provides pre-written code snippets that you can use in your script. This pane organizes the code snippets into folders. To insert a code snippet into your script, locate the snippet in the Script Assistant pane, and then double-click it.
If you cannot quickly locate the code snippet that you want to add to your code, you can search for it by using the search bar, which is located at the top of the pane. To search for a snippet, type a keyword into the Search bar, and the search results appear in the pane.
At the bottom of the Script Assistant pane is a description section. This section might include a description or required syntax for the selected snippet. It might also include a link that you can click to open the PowerShell documentation page on the Microsoft website that describes the selected code snippet.
Related Topics