GetDateCommand GetDateCommand GetDateCommand Class

Definition

implementation for the get-date command

[System.Management.Automation.Cmdlet("Get", "Date", DefaultParameterSetName="net", HelpUri="https://go.microsoft.com/fwlink/?LinkID=113313")]
[System.Management.Automation.OutputType(typeof(System.String), ParameterSetName=Mono.Cecil.CustomAttributeArgument[])]
[System.Management.Automation.OutputType(typeof(System.DateTime), ParameterSetName=Mono.Cecil.CustomAttributeArgument[])]
public sealed class GetDateCommand : System.Management.Automation.Cmdlet
type GetDateCommand = class
    inherit Cmdlet
Public NotInheritable Class GetDateCommand
Inherits Cmdlet
Inheritance
Attributes

Constructors

GetDateCommand() GetDateCommand() GetDateCommand()

Properties

CommandOrigin CommandOrigin CommandOrigin Inherited from InternalCommand
CommandRuntime CommandRuntime CommandRuntime Inherited from Cmdlet
CurrentPSTransaction CurrentPSTransaction CurrentPSTransaction Inherited from Cmdlet
Date Date Date

Allows user to override the date/time object that will be processed

Day Day Day

Allows the user to override the day

DisplayHint DisplayHint DisplayHint

This option determines the default output format used to display the object get-date emits

Format Format Format

Unix format string

Hour Hour Hour

Allows the user to override the hour

Millisecond Millisecond Millisecond

Allows the user to override the millisecond

Minute Minute Minute

Allows the user to override the minute

Month Month Month

Allows the user to override the month

Second Second Second

Allows the user to override the second

Stopping Stopping Stopping Inherited from Cmdlet
UFormat UFormat UFormat

Unix format string

Year Year Year

Allows the user to override the year

Methods

BeginProcessing() BeginProcessing() BeginProcessing() Inherited from Cmdlet
EndProcessing() EndProcessing() EndProcessing() Inherited from Cmdlet
GetResourceString(String, String) GetResourceString(String, String) GetResourceString(String, String) Inherited from Cmdlet
Invoke() Invoke() Invoke() Inherited from Cmdlet
Invoke<T>() Invoke<T>() Invoke<T>() Inherited from Cmdlet
ProcessRecord() ProcessRecord() ProcessRecord() Inherited from Cmdlet
ShouldContinue(String, String) ShouldContinue(String, String) ShouldContinue(String, String) Inherited from Cmdlet
ShouldContinue(String, String, Boolean, Boolean) ShouldContinue(String, String, Boolean, Boolean) ShouldContinue(String, String, Boolean, Boolean) Inherited from Cmdlet
ShouldContinue(String, String, Boolean, Boolean, Boolean) ShouldContinue(String, String, Boolean, Boolean, Boolean) ShouldContinue(String, String, Boolean, Boolean, Boolean) Inherited from Cmdlet
ShouldProcess(String) ShouldProcess(String) ShouldProcess(String) Inherited from Cmdlet
ShouldProcess(String, String) ShouldProcess(String, String) ShouldProcess(String, String) Inherited from Cmdlet
ShouldProcess(String, String, String) ShouldProcess(String, String, String) ShouldProcess(String, String, String) Inherited from Cmdlet
ShouldProcess(String, String, String, ShouldProcessReason) ShouldProcess(String, String, String, ShouldProcessReason) ShouldProcess(String, String, String, ShouldProcessReason) Inherited from Cmdlet
StopProcessing() StopProcessing() StopProcessing() Inherited from Cmdlet
ThrowTerminatingError(ErrorRecord) ThrowTerminatingError(ErrorRecord) ThrowTerminatingError(ErrorRecord) Inherited from Cmdlet
TransactionAvailable() TransactionAvailable() TransactionAvailable() Inherited from Cmdlet
WriteCommandDetail(String) WriteCommandDetail(String) WriteCommandDetail(String) Inherited from Cmdlet
WriteDebug(String) WriteDebug(String) WriteDebug(String) Inherited from Cmdlet
WriteError(ErrorRecord) WriteError(ErrorRecord) WriteError(ErrorRecord) Inherited from Cmdlet
WriteInformation(InformationRecord) WriteInformation(InformationRecord) WriteInformation(InformationRecord) Inherited from Cmdlet
WriteInformation(Object, String[]) WriteInformation(Object, String[]) WriteInformation(Object, String[]) Inherited from Cmdlet
WriteObject(Object) WriteObject(Object) WriteObject(Object) Inherited from Cmdlet
WriteObject(Object, Boolean) WriteObject(Object, Boolean) WriteObject(Object, Boolean) Inherited from Cmdlet
WriteProgress(ProgressRecord) WriteProgress(ProgressRecord) WriteProgress(ProgressRecord) Inherited from Cmdlet
WriteVerbose(String) WriteVerbose(String) WriteVerbose(String) Inherited from Cmdlet
WriteWarning(String) WriteWarning(String) WriteWarning(String) Inherited from Cmdlet

Applies to