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. Wildcard expressions are used with the -like operator or with any parameter that accepts wildcards. For example, to...
Accept wildcard characters: False-NamespaceBy default, this command creates the type in the Microsoft.PowerShell.Commands.AddType.AutoGeneratedTypes namespace. When you use this parameter, the type is created in the specified namespace. If the value an empty string, the type is created in the...
names, but you can't use wildcard characters to find the names of function help and script help articles. To get help for a script that isn't located in a path that's listed in the `$env:Path` environment variable, type the script's path and file name. If you enter the exact nam...
Accept wildcard characters:True -InputObject Specifies the text to be searched. Enter a variable that contains the text, or type a command or expression that gets the text. Using theInputObjectparameter isn't the same as sending strings down the pipeline toSelect-String. ...
Add -Force parameter to Resolve-Path and Convert-Path cmdlets to support wildcard hidden files (#20981) (#24344) Add telemetry to track the use of features (#24247) (#24331) Treat large Enum values as numbers in ConvertTo-Json (#20999) (#24304) Make features PSCommandNotFoundSuggestion...
Accept wildcard characters:False -Session Specifies a PowerShell session (PSSession) to use for the interactive session. This parameter takes a session object. You can also use theName,InstanceID, orIDparameters to specify aPSSession. Enter a variable that contains a session object or a command ...
True (ByValue) Accept wildcard characters? false -Name <String[]> Specifies the service names for the service to be started. The parameter name is optional. You can use Name or its alias, ServiceName, or you can omit the parameter name. Required? true Position? 0 Default value None Acce...
The startup script specified in the SQLCMDINI scripting variable is not run. Expand table Type: SwitchParameter Position: Named Default value: None Required: False Accept pipeline input: False Accept wildcard characters: False -DisableVariables Indicates that this cmdlet ignores sqlcmd scripting va...
A regex can contain a few wildcard characters. A period, for example, matches one instance of any character. A question mark matches zero or one instance of any character. Here are some examples to illustrate: "Don" –match "D.n" (True) "Dn" –match "D.n" (False) "Don" –match...
PowerShell module script files must explicitly export functions by name without the use of wildcard characters. This is to prevent inadvertently exposing powerful helper function not meant to be used publicly. PowerShell module manifest files must explicitly export functions by name without the use of...