i'm new to powershell and trying to learn the ropes about how to script using powershell. One of the things that i am struggling with is the fact that i cannot figure out how to get information about about a parameter for a particular command
For example - Get-EventLog
i used the help and it showed me all the parameters needed to write a script using Get-EventLog
LogName is supposed to a required parameter.
My question is how can i check what lognames are available to pick from is there a handy technique being used
i have another example
Get-WMIobject...who required parameter is ClassName....same question as the previous example ..how do i get all the classNames available to pick from