Get-DayOfYear
SYNOPSIS
Gets Day Of Year.
SYNTAX
Get-DayOfYear [[-Day] <String>] [[-Year] <String>] [<CommonParameters>]
DESCRIPTION
Gets Day Of Year.
EXAMPLES
EXAMPLE 1
Get-DayOfYear
Executes Get-DayOfYear using the arguments shown.
PARAMETERS
-Day
Specifies the Day value.
Type: String
Parameter Sets: (All)
Aliases: Date
Required: False
Position: 1
Default value: (Get-Date -Format "yyyy-MM-dd")
Accept pipeline input: False
Accept wildcard characters: False
-Year
Specifies the Year value.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
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.
INPUTS
OUTPUTS
System.Object
NOTES
ALIASES
None.
PLATFORM APPLICABILITY
Windows, macOS, and Linux.
POWERSHELL COMPATIBILITY
See PowerShell compatibility for the supported runtime policy. PowerShell 7.6 LTS is preferred.