Skip to content

Update Get-WinEvent.md #1876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 20, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Classic logs are usually retrieved first, followed by the new Windows Eventing l
Because there are typically more than a hundred event logs, this parameter requires a log name or name pattern.
To get all the logs, use *.

### Example 2: Get the classic system log from a local computer
### Example 2: Get the classic Setup log from a local computer
```
PS C:\> Get-WinEvent -ListLog Setup | Format-List -Property *

Expand Down Expand Up @@ -121,7 +121,7 @@ ProviderLatency : 1000
ProviderControlGuid :
```

This command gets an object that represents the classic System log on the local computer.
This command gets an object that represents the classic Setup log on the local computer.
The object includes useful information about the log, including its size, event log provider, file path, and whether it is enabled.

### Example 3: Get event logs from a server
Expand Down Expand Up @@ -344,8 +344,8 @@ The default value is the current user.

Type a user name, such as User01 or Domain01\User01.
Or, enter a **PSCredential** object, such as one generated by the Get-Credential cmdlet.
If you type a user name, you will be prompted for a password.
If you type only the parameter name, you will be prompted for both a user name and a password.
If you type a user name, you are prompted for a password.
If you type only the parameter name, you are prompted for both a user name and a password.

```yaml
Type: PSCredential
Expand Down