waypoint debug
This commit is contained in:
@@ -10,35 +10,35 @@ param(
|
|||||||
[Alias('o', 'out')]
|
[Alias('o', 'out')]
|
||||||
[switch]$SaveToFile,
|
[switch]$SaveToFile,
|
||||||
|
|
||||||
# Custom Output file name (-f)
|
# Custom Output file name (-f / -OutFile)
|
||||||
[Parameter(Mandatory = $false, ParameterSetName = 'Generate')]
|
[Parameter(Mandatory = $false, ParameterSetName = 'Generate')]
|
||||||
[Alias('f', 'outfile')]
|
[Alias('f')]
|
||||||
[string]$OutFile,
|
[string]$OutFile,
|
||||||
|
|
||||||
# File containing checksums to verify (-c mode)
|
# File containing checksums to verify (-c / -Check)
|
||||||
[Parameter(Mandatory = $false, ParameterSetName = 'Verify')]
|
[Parameter(Mandatory = $false, ParameterSetName = 'Verify')]
|
||||||
[Alias('c', 'check')]
|
[Alias('c')]
|
||||||
[string]$Check,
|
[string]$Check,
|
||||||
|
|
||||||
# Direct checksum hash string to match against (-m mode)
|
# Direct checksum hash string to match against (-m / -Match)
|
||||||
[Parameter(Mandatory = $true, ParameterSetName = 'Match')]
|
[Parameter(Mandatory = $true, ParameterSetName = 'Match')]
|
||||||
[Alias('m', 'match')]
|
[Alias('m')]
|
||||||
[string]$Match,
|
[string]$Match,
|
||||||
|
|
||||||
# Hashing algorithm to use (Defaults to SHA256)
|
# Hashing algorithm to use (Defaults to SHA256)
|
||||||
[Parameter(Mandatory = $false)]
|
[Parameter(Mandatory = $false)]
|
||||||
[Alias('a', 'algo', 'algorithm')]
|
[Alias('a', 'algo')]
|
||||||
[ValidateSet('SHA1', 'SHA256', 'SHA384', 'SHA512', 'MD5')]
|
[ValidateSet('SHA1', 'SHA256', 'SHA384', 'SHA512', 'MD5')]
|
||||||
[string]$Algorithm,
|
[string]$Algorithm,
|
||||||
|
|
||||||
# Recursive flag (-r)
|
# Recursive flag (-r / -Recursive)
|
||||||
[Parameter(Mandatory = $false)]
|
[Parameter(Mandatory = $false)]
|
||||||
[Alias('r', 'recursive')]
|
[Alias('r')]
|
||||||
[switch]$Recursive,
|
[switch]$Recursive,
|
||||||
|
|
||||||
# Help flag (-h)
|
# Help flag (-h / -Help)
|
||||||
[Parameter(Mandatory = $false)]
|
[Parameter(Mandatory = $false)]
|
||||||
[Alias('h', 'help')]
|
[Alias('h')]
|
||||||
[switch]$Help
|
[switch]$Help
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user