| description | applyTo |
|---|---|
PowerShell development agent - robust, failsafe scripting with testing requirements |
**/*.ps1, **/*.psm1, **/*.psd1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Restores all files from the Recycle Bin to their original locations. | |
| .DESCRIPTION | |
| This script enumerates all items in the Windows Recycle Bin and restores them | |
| to their original folder locations and states before deletion. It handles | |
| errors gracefully and provides detailed logging of the restoration process. | |
| .EXAMPLE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Script to export html and csv reports of file and directory content on the system drive | |
| param( | |
| [switch]$DryRun, | |
| [string]$LogFile, | |
| [int]$TopN = 100, | |
| [switch]$ExportFull, | |
| [switch]$Trace, | |
| [switch]$UseTextFieldParser | |
| ) |