Skip to content

Update the example of Where-Object -IsNot #1841

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 7, 2017
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
4 changes: 2 additions & 2 deletions reference/3.0/Microsoft.PowerShell.Core/Where-Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ Accept wildcard characters: False
Specifies the Is operator, which gets objects when the property value is an instance of the specified .NET Framework type.
Enclose the type name in square brackets.

For example, `Get-Process | where StartTime -is \[DateTime\]`
For example, `Get-Process | where StartTime -Is [DateTime]`

This parameter is introduced in Windows PowerShell 3.0.

Expand All @@ -447,7 +447,7 @@ Accept wildcard characters: False
### -IsNot
Specifies the Is-Not operator, which gets objects when the property value is not an instance of the specified .NET Framework type.

For example, `Get-Process | where StartTime -IsNot \[System.String\]`
For example, `Get-Process | where StartTime -IsNot [DateTime]`

This parameter is introduced in Windows PowerShell 3.0.

Expand Down
4 changes: 2 additions & 2 deletions reference/4.0/Microsoft.PowerShell.Core/Where-Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ Accept wildcard characters: False
Specifies the Is operator, which gets objects when the property value is an instance of the specified .NET Framework type.
Enclose the type name in square brackets.

For example, `Get-Process | where StartTime -Is \[DateTime\]`
For example, `Get-Process | where StartTime -Is [DateTime]`

This parameter is introduced in Windows PowerShell 3.0.

Expand All @@ -732,7 +732,7 @@ Accept wildcard characters: False
### -IsNot
Specifies the Is-Not operator, which gets objects when the property value is not an instance of the specified .NET Framework type.

For example, `Get-Process | where StartTime -IsNot \[System.String\]`
For example, `Get-Process | where StartTime -IsNot [DateTime]`

This parameter is introduced in Windows PowerShell 3.0.

Expand Down
4 changes: 2 additions & 2 deletions reference/5.0/Microsoft.PowerShell.Core/Where-Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ Accept wildcard characters: False
Indicates that this cmdlet gets objects if the property value is an instance of the specified .NET Framework type.
Enclose the type name in square brackets.

For example, `Get-Process | where StartTime -Is \[DateTime\]`
For example, `Get-Process | where StartTime -Is [DateTime]`

This parameter was introduced in Windows PowerShell 3.0.

Expand All @@ -748,7 +748,7 @@ Accept wildcard characters: False
### -IsNot
Indicates that this cmdlet gets objects if the property value is not an instance of the specified .NET Framework type.

For example, `Get-Process | where StartTime -IsNot \[System.String\]`
For example, `Get-Process | where StartTime -IsNot [DateTime]`

This parameter was introduced in Windows PowerShell 3.0.

Expand Down
4 changes: 2 additions & 2 deletions reference/5.1/Microsoft.PowerShell.Core/Where-Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ Accept wildcard characters: False
Indicates that this cmdlet gets objects if the property value is an instance of the specified .NET Framework type.
Enclose the type name in square brackets.

For example, `Get-Process | where StartTime -Is \[DateTime\]`
For example, `Get-Process | where StartTime -Is [DateTime]`

This parameter was introduced in Windows PowerShell 3.0.

Expand All @@ -748,7 +748,7 @@ Accept wildcard characters: False
### -IsNot
Indicates that this cmdlet gets objects if the property value is not an instance of the specified .NET Framework type.

For example, `Get-Process | where StartTime -IsNot \[System.String\]`
For example, `Get-Process | where StartTime -IsNot [DateTime]`

This parameter was introduced in Windows PowerShell 3.0.

Expand Down
4 changes: 2 additions & 2 deletions reference/6/Microsoft.PowerShell.Core/Where-Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ Accept wildcard characters: False
Indicates that this cmdlet gets objects if the property value is an instance of the specified .NET Framework type.
Enclose the type name in square brackets.

For example, `Get-Process | where StartTime -Is \[DateTime\]`
For example, `Get-Process | where StartTime -Is [DateTime]`

This parameter was introduced in Windows PowerShell 3.0.

Expand All @@ -748,7 +748,7 @@ Accept wildcard characters: False
### -IsNot
Indicates that this cmdlet gets objects if the property value is not an instance of the specified .NET Framework type.

For example, `Get-Process | where StartTime -IsNot \[System.String\]`
For example, `Get-Process | where StartTime -IsNot [DateTime]`

This parameter was introduced in Windows PowerShell 3.0.

Expand Down