I am learning powershell, so first i am learning how to use the help system of powershell. Below is the help for command "Get-EventLog",
- what do we mean by : Position? named
Also is there any links to get more on how to use the help system provided by powershell?
Synopsis Gets the events in an event log, or a list of the event logs, on the local or remote computers.
Syntax Get-EventLog [-LogName] <String> [[-InstanceId] <Int64[]>] [-After <DateTime>] [-AsBaseObject <SwitchParameter>] [-Before <DateTime>] [-ComputerName <String[]>] [-EntryType <String[]>] [-Index <Int32[]>] [-Message <String>] [-Newest <Int32>] [-Source <String[]>] [-UserName <String[]>] [<CommonParameters>] Get-EventLog [-AsString <SwitchParameter>] [-ComputerName <String[]>] [-List <SwitchParameter>] [<CommonParameters>] Parameters -After <DateTime> Gets only the events that occur after the specified date and time. Enter a DateTime object, such as the one returned by the Get-Date cmdlet. Required? false Position? named Default value Accept pipeline input? false Accept wildcard characters? false -InstanceId <Int64[]> Gets only events with the specified instance IDs. Required? false Position? 2 Default value Accept pipeline input? false Accept wildcard characters? false -LogName <String> Specifies the event log. Enter the log name (the value of the Log property; not the LogDisplayName) of one event log. Wildcard characters are not permitted. This parameter is required. Required? true Position? 1 Default value Accept pipeline input? false Accept wildcard characters? false