Updates from: 02/14/2021 04:16:29
Service Microsoft Docs article Related commit history on GitHub Change details
Microsoft.PowerShell.Core https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Core/About/about_Wildcards?view=powershell-5.1 https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Core/About/about_Wildcards.md
@@ -1,8 +1,7 @@
-description: Describes how to use wildcard characters in PowerShell.
-keywords: powershell,cmdlet
+description: Describes how to use wildcard characters in PowerShell.
Locale: en-US Previously updated : 3/28/2019 Last updated : 02/13/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_wildcards?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 Title: about_Wildcards
@@ -17,8 +16,11 @@ Describes how to use wildcard characters in PowerShell.
## LONG DESCRIPTION Wildcard characters represent one or many characters. You can use them to
-create word patterns in commands. For example, to get all the files in the
-`C:\Techdocs` directory with a `.ppt` file name extension, type:
+create word patterns in commands. Wildcard expressions are used with the
+`-like` operator or with any parameter that accepts wildcards.
+
+For example, to match all the files in the `C:\Techdocs` directory with a
+`.ppt` file name extension, type:
```powershell Get-ChildItem C:\Techdocs\*.ppt
@@ -27,6 +29,9 @@ Get-ChildItem C:\Techdocs\*.ppt
In this case, the asterisk (`*`) wildcard character represents any characters that appear before the `.ppt` file name extension.
+Wildcard expressions are simpler than regular expressions. For more
+information, see [about_Regular_Expressions](./about_Regular_Expressions.md).
+ PowerShell supports the following wildcard characters: |Wildcard|Description |Example |Match |No Match|
Microsoft.PowerShell.Core https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Core/About/about_Wildcards?view=powershell-7.0 https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/About/about_Wildcards.md
@@ -1,8 +1,7 @@
-description: Describes how to use wildcard characters in PowerShell.
-keywords: powershell,cmdlet
+description: Describes how to use wildcard characters in PowerShell.
Locale: en-US Previously updated : 3/28/2019 Last updated : 02/13/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_wildcards?view=powershell-7&WT.mc_id=ps-gethelp schema: 2.0.0 Title: about_Wildcards
@@ -17,8 +16,11 @@ Describes how to use wildcard characters in PowerShell.
## LONG DESCRIPTION Wildcard characters represent one or many characters. You can use them to
-create word patterns in commands. For example, to get all the files in the
-`C:\Techdocs` directory with a `.ppt` file name extension, type:
+create word patterns in commands. Wildcard expressions are used with the
+`-like` operator or with any parameter that accepts wildcards.
+
+For example, to match all the files in the `C:\Techdocs` directory with a
+`.ppt` file name extension, type:
```powershell Get-ChildItem C:\Techdocs\*.ppt
@@ -27,6 +29,9 @@ Get-ChildItem C:\Techdocs\*.ppt
In this case, the asterisk (`*`) wildcard character represents any characters that appear before the `.ppt` file name extension.
+Wildcard expressions are simpler than regular expressions. For more
+information, see [about_Regular_Expressions](./about_Regular_Expressions.md).
+ PowerShell supports the following wildcard characters: |Wildcard|Description |Example |Match |No Match|
Microsoft.PowerShell.Core https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Core/About/about_Wildcards?view=powershell-7.1 https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/About/about_Wildcards.md
@@ -1,8 +1,7 @@
-description: Describes how to use wildcard characters in PowerShell.
-keywords: powershell,cmdlet
+description: Describes how to use wildcard characters in PowerShell.
Locale: en-US Previously updated : 3/28/2019 Last updated : 02/13/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_wildcards?view=powershell-7.1&WT.mc_id=ps-gethelp schema: 2.0.0 Title: about_Wildcards
@@ -17,8 +16,11 @@ Describes how to use wildcard characters in PowerShell.
## LONG DESCRIPTION Wildcard characters represent one or many characters. You can use them to
-create word patterns in commands. For example, to get all the files in the
-`C:\Techdocs` directory with a `.ppt` file name extension, type:
+create word patterns in commands. Wildcard expressions are used with the
+`-like` operator or with any parameter that accepts wildcards.
+
+For example, to match all the files in the `C:\Techdocs` directory with a
+`.ppt` file name extension, type:
```powershell Get-ChildItem C:\Techdocs\*.ppt
@@ -27,6 +29,9 @@ Get-ChildItem C:\Techdocs\*.ppt
In this case, the asterisk (`*`) wildcard character represents any characters that appear before the `.ppt` file name extension.
+Wildcard expressions are simpler than regular expressions. For more
+information, see [about_Regular_Expressions](./about_Regular_Expressions.md).
+ PowerShell supports the following wildcard characters: |Wildcard|Description |Example |Match |No Match|
@@ -78,4 +83,3 @@ foreach ($point in $p) {
[about_If](about_If.md) [about_Script_Blocks](about_Script_Blocks.md)-
Microsoft.PowerShell.Core https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Core/About/about_Wildcards?view=powershell-7.2 https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/About/about_Wildcards.md
@@ -1,7 +1,7 @@
description: Describes how to use wildcard characters in PowerShell. Locale: en-US Previously updated : 03/28/2019 Last updated : 02/13/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_wildcards?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 Title: about_Wildcards
@@ -16,8 +16,11 @@ Describes how to use wildcard characters in PowerShell.
## LONG DESCRIPTION Wildcard characters represent one or many characters. You can use them to
-create word patterns in commands. For example, to get all the files in the
-`C:\Techdocs` directory with a `.ppt` file name extension, type:
+create word patterns in commands. Wildcard expressions are used with the
+`-like` operator or with any parameter that accepts wildcards.
+
+For example, to match all the files in the `C:\Techdocs` directory with a
+`.ppt` file name extension, type:
```powershell Get-ChildItem C:\Techdocs\*.ppt
@@ -26,6 +29,9 @@ Get-ChildItem C:\Techdocs\*.ppt
In this case, the asterisk (`*`) wildcard character represents any characters that appear before the `.ppt` file name extension.
+Wildcard expressions are simpler than regular expressions. For more
+information, see [about_Regular_Expressions](./about_Regular_Expressions.md).
+ PowerShell supports the following wildcard characters: |Wildcard|Description |Example |Match |No Match|