Skip to content

Replace Windows PowerShell with PowerShell - the Microsoft.PowerShell.Diagnostics module #2796

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
Aug 8, 2018
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions reference/6/Microsoft.PowerShell.Diagnostics/Get-WinEvent.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ For more information about this parameter, see the examples.

To get events and event logs from remote computers, the firewall port for the event log service must be configured to allow remote access.

This cmdlet does not rely on Windows PowerShell remoting.
This cmdlet does not rely on PowerShell remoting.
You can use the *ComputerName* parameter even if your computer is not configured to run remote commands.

```yaml
Expand Down Expand Up @@ -570,7 +570,7 @@ Specifies, as a string array, the event log providers from which this cmdlet get
Enter the provider names in a comma-separated list, or use wildcard characters to create provider name patterns.

An event log provider is a program or service that writes events to the event log.
It is not a Windows PowerShell provider.
It is not a PowerShell provider.

```yaml
Type: String[]
Expand Down Expand Up @@ -601,5 +601,5 @@ With all other parameters, **Get-WinEvent** returns **System.Diagnostics.Eventin

## NOTES
* **Get-WinEvent** runs on Windows Vista, Windows Server 2008 R2, and later versions of Windows.
* This cmdlet is designed to replace the Get-EventLog cmdlet on computers running Windows Vista and later versions of Windows. **Get-EventLog** gets events only in classic event logs. Get-EventLog is retained in Windows PowerShell for backward compatibility.
* This cmdlet is designed to replace the Get-EventLog cmdlet on computers running Windows Vista and later versions of Windows. **Get-EventLog** gets events only in classic event logs. Get-EventLog is retained in PowerShell for backward compatibility.
* The **Get-WinEvent** and **Get-EventLog** cmdlets are not supported in Windows Preinstallation Environment (Windows PE).
6 changes: 3 additions & 3 deletions reference/6/Microsoft.PowerShell.Diagnostics/New-WinEvent.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ New-WinEvent [-ProviderName] <String> [-Id] <Int32> [-Version <Byte>] [[-Payload
## DESCRIPTION

The **New-WinEvent** cmdlet creates an Event Tracing for Windows (ETW) event for an event provider.
You can use this cmdlet to add events to ETW channels from Windows PowerShell.
You can use this cmdlet to add events to ETW channels from PowerShell.

## EXAMPLES

Expand Down Expand Up @@ -60,7 +60,7 @@ Accept wildcard characters: False
Specifies the message for the event. When the event is written to an event log, the payload is
stored in the **Message** property of the event object.

When the specified payload does not match the payload in the event definition, Windows PowerShell generates a warning, but the command still succeeds.
When the specified payload does not match the payload in the event definition, PowerShell generates a warning, but the command still succeeds.

```yaml
Type: Object[]
Expand Down Expand Up @@ -94,7 +94,7 @@ Accept wildcard characters: False

### -Version

Specifies the version number of the event. Type the event number. Windows PowerShell converts the
Specifies the version number of the event. Type the event number. PowerShell converts the
number to the required Byte type.

This parameter lets you specify an event when different versions of the same event are defined.
Expand Down