GetEventLogCommand.List Property
Gets and sets the value of the List parameter of the Get-EventLog cmdlet.
Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)
Usage
'Usage
Dim instance As GetEventLogCommand
Dim value As SwitchParameter
value = instance.List
instance.List = value
Syntax
'Declaration
<ParameterAttribute(ParameterSetName:="List")> _
Public Property List As SwitchParameter
[ParameterAttribute(ParameterSetName="List")]
public SwitchParameter List { get; set; }
[ParameterAttribute(ParameterSetName=L"List")]
public:
property SwitchParameter List {
SwitchParameter get ();
void set (SwitchParameter value);
}
/** @property */
public SwitchParameter get_List ()
/** @property */
public void set_List (SwitchParameter value)
public function get List () : SwitchParameter
public function set List (value : SwitchParameter)
Property Value
When the parameter is specified, the cmdlet retrieves the list of event logs on the computer.
Remarks
This topic is included in this SDK for completeness only. For more information about this cmdlet, see Get-EventLog in the Microsoft TechNet library.
For Help at the command line, type:
get-help get-eventlog
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Target Platforms
See Also
Reference
GetEventLogCommand Class
GetEventLogCommand Members
Microsoft.PowerShell.Commands Namespace