Get-UssFileHash
SYNOPSIS
Gets the hash of a file.
SYNTAX
Get-UssFileHash [-Path] <String> [<CommonParameters>]
DESCRIPTION
Use Get-UssFileHash to get the hash of a file.
EXAMPLES
Example 1
PS C:\> Get-UssFileHash -Path 'C:\temp\file.txt'
BT06gaZfbAaou+GPf/SCgP1PXYg
This example gets the hash of the file C:\temp\file.txt.
PARAMETERS
-Path
Specifies the path to the file.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.