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
| function Nuget-SolutionPackageVersions { | |
| <# | |
| .SYNOPSIS | |
| Scans a .NET solution for NuGet package versions used across projects. | |
| .DESCRIPTION | |
| Scans a .NET solution for NuGet package versions used across projects. | |
| .PARAMETER SolutionPath | |
| The path to the .NET solution (.sln file). If not provided, the current directory is used. |
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
| #requires -RunAsAdministrator | |
| function Robocopy-Backup { | |
| <# | |
| .SYNOPSIS | |
| Backup a directory or multiple directories using robocopy | |
| .DESCRIPTION | |
| This script will backup a directory or multiple directories using robocopy. It will create log files per job in the specified log directory. | |
| .PARAMETER SourceDirectory | |
| The source directory to backup, e.g. 'G:\'. Can not be used with SourceDirectories or SourceDestinationPairs parameters. |