This file contains 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 Convert-SVGCropWithInkscape { | |
[CmdletBinding()] | |
param ( | |
[parameter( Mandatory, Position = 0, ValueFromPipeline, ValueFromPipelineByPropertyName )] | |
[ValidateScript({ | |
if ($_ -notmatch '[\?\*]') { | |
$true | |
} else { | |
throw 'Wildcard characters *, ? are not acceptable with -LiteralPath' | |
} |
This file contains 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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\shell\a08_FolderOperations\shell\a38_ScanWithVirusTotal] | |
@="Scan Contents with VirusTotal" | |
"Icon"="\"C:\\Icons\\00 Linked\\FileUtilScanVirusTotal.ico\"" | |
[HKEY_CLASSES_ROOT\Directory\shell\a08_FolderOperations\shell\a38_ScanWithVirusTotal\command] | |
@="cmd /k \"\"C:\\Tools\\Sysinternals\\sigcheck64.exe\" \"-u\" \"-h\" \"-vr\" \"-vt\" \"%V\"" | |
[HKEY_CLASSES_ROOT\Directory\shell\a08_FolderOperations\shell\a42_ExtractContainingArchives] |
This file contains 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
using namespace System.Collections.Generic | |
using namespace System.Collections.Concurrent | |
using namespace System.IO | |
function Convert-SVGToICOWorking { | |
[CmdletBinding(DefaultParameterSetName = "Path")] | |
param ( | |
[Parameter( | |
Mandatory, | |
Position = 0, |
This file contains 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
using namespace System.IO | |
using namespace System.Collections.Generic | |
function Convert-ParallelFileAccumulator { | |
[CmdletBinding(DefaultParameterSetName='Path')] | |
param ( | |
# Define the 'Path' parameter, allowing wildcards and pipeline input | |
[Parameter( | |
Mandatory, | |
Position = 0, |
This file contains 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
using namespace System.Collections.Generic | |
function Get-ImageDimensions { | |
[cmdletbinding(DefaultParameterSetName = 'Path')] | |
param( | |
[Parameter( | |
Mandatory, | |
Position = 0, | |
ValueFromPipeline, | |
ValueFromPipelineByPropertyName, |
This file contains 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 Find-SymbolicLinks { | |
<# | |
.SYNOPSIS | |
Finds symbolic links in specified directories. | |
.DESCRIPTION | |
The Find-SymbolicLinks function searches for symbolic links within the specified paths. It supports both wildcard and literal path inputs, and can optionally recurse into subdirectories to find symbolic links. The function outputs details about each symbolic link found, including its type, name, target, and attributes. | |
.PARAMETER Path | |
Specifies the path(s) to search for symbolic links. Supports wildcards and accepts pipeline input. |
This file contains 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 Find-SymbolicLinks { | |
<# | |
.SYNOPSIS | |
Finds symbolic links in specified directories. | |
.DESCRIPTION | |
The Find-SymbolicLinks function searches for symbolic links within the specified paths. It supports both wildcard and literal path inputs, and can optionally recurse into subdirectories to find symbolic links. The function outputs details about each symbolic link found, including its type, name, target, and attributes. | |
.PARAMETER Path | |
Specifies the path(s) to search for symbolic links. Supports wildcards and accepts pipeline input. |