Psilocelium
New Member
- Joined
- Aug 22, 2017
- Messages
- 5
- Thread Author
- #1
I just took a quiz that asked what type of parameter <String> is. Could you tell me if it is a mandatory parameter? For some reason I was thinking <String> would be defined as a value, not a parameter.
Syntax
Get-EventLog [-LogName] <String> [[-InstanceId] <Int64[]>] [-After <DateTime>] [-AsBaseObject ] [-Before <DateTime>] [-ComputerName <String[]>] [-EntryType <String[]>] [-Index <Int32[]>] [-Message <String>] [-Newest <Int32>] [-Source <String[]>] [-UserName <String[]>] [<CommonParameters>]
The multiple choice was: Optional Parameter, Mandatory Parameter, Common Parameter, or Switch
Syntax
Get-EventLog [-LogName] <String> [[-InstanceId] <Int64[]>] [-After <DateTime>] [-AsBaseObject ] [-Before <DateTime>] [-ComputerName <String[]>] [-EntryType <String[]>] [-Index <Int32[]>] [-Message <String>] [-Newest <Int32>] [-Source <String[]>] [-UserName <String[]>] [<CommonParameters>]
The multiple choice was: Optional Parameter, Mandatory Parameter, Common Parameter, or Switch