You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Only the first instance of matching text is returned from each input file. This is the most efficient way to retrieve a list of files that have contents matching the regular expression.<br/>
275
275
/// </para>
276
276
277
+
/// <para type="description">
278
+
/// -NoEmphasis <SwitchParameter><br/>
279
+
/// Disables highlighting of matching strings in output. By default, matching patterns are highlighted using negative colors based on your PowerShell theme.<br/>
280
+
/// - <b>Features</b>:<br/>
281
+
/// - Disables highlighting of pattern matches<br/>
282
+
/// - Uses negative colors based on PowerShell background and text colors<br/>
283
+
/// - Example: Black background with white text becomes white background with black text<br/>
284
+
/// </para>
285
+
277
286
/// <para type="description">
278
287
/// -NotMatch <SwitchParameter><br/>
279
288
/// The NotMatch parameter finds text that doesn't match the specified pattern.<br/>
@@ -581,7 +590,7 @@ public partial class FindItem : PSCmdlet
581
590
/// <para type="description">File name or pattern to search for. Supports wildcards (*,?). Default is '*'</para>
582
591
/// </summary>
583
592
[Parameter(Position=0,Mandatory=false,HelpMessage="File name or pattern to search for. Default is '*'")]
/// <para type="description">Base path for resolving relative paths in output</para>
@@ -864,6 +873,19 @@ public partial class FindItem : PSCmdlet
864
873
[Parameter(Mandatory=false,ParameterSetName="WithPattern",HelpMessage="Only the first instance of matching text is returned from each input file. This is the most efficient way to retrieve a list of files that have contents matching the regular expression.")]
865
874
publicSwitchParameterList{get;set;}
866
875
876
+
/// <summary>
877
+
/// <para type="description">
878
+
/// By default, Select-String highlights the string that matches the pattern you
879
+
/// searched for with the Pattern parameter. The NoEmphasis parameter disables
880
+
/// the highlighting. The emphasis uses negative colors based on your PowerShell
881
+
/// background and text colors. For example, if your PowerShell colors are a
882
+
/// black background with white text, the emphasis is a white background with
883
+
/// black text.
884
+
/// </para>
885
+
/// </summary>
886
+
[Parameter(Mandatory=false,ParameterSetName="WithPattern",HelpMessage="Disables highlighting of matching strings in output.")]
887
+
publicSwitchParameterNoEmphasis{get;set;}
888
+
867
889
/// <summary>
868
890
/// <para type="description">The NotMatch parameter finds text that doesn't match the specified pattern.</para>
0 commit comments