Returns true if the difference file is newer than the reference file.
Test-NewerFile.ps1 [[-ReferenceFile] <FileInfo>] [[-DifferenceFile] <FileInfo>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
PS C:\>
One of two files to compare.
Type: FileInfo
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Another of two files to compare.
Type: FileInfo
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.