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
|CommandsToTraverse|By default, this command will not consider child scopes other than scriptblocks provided to Where-Object or ForEach-Object. This setting allows you to add additional commands that accept scriptblocks that this rule should traverse into.|string[]: list of commands whose scriptblock to traverse.|`@('Invoke-PSFProtectedCommand')`|
19
+
By default, this rule doesn't consider child scopes other than scriptblocks provided to
20
+
`Where-Object` or `ForEach-Object`. The `CommandsToTraverse` setting is an string array allows you
21
+
to add additional commands that accept scriptblocks that this rule should examine.
Copy file name to clipboardExpand all lines: docs/Rules/UseApprovedVerbs.md
+7-5
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
description: Cmdlet Verbs
3
3
ms.custom: PSSA v1.22.0
4
-
ms.date: 06/28/2023
4
+
ms.date: 03/26/2024
5
5
ms.topic: reference
6
6
title: UseApprovedVerbs
7
7
---
@@ -15,10 +15,9 @@ All cmdlets must used approved verbs.
15
15
16
16
Approved verbs can be found by running the command `Get-Verb`.
17
17
18
-
Additional documentation on approved verbs can be found at
19
-
[Approved Verbs for PowerShell Commands](https://learn.microsoft.com/powershell/scripting/developer/cmdlet/approved-verbs-for-windows-powershell-commands).
20
-
Some unapproved verbs are documented on the approved verbs page and point to approved alternatives.
21
-
Try searching for the verb you used to find its approved form. For example, searching for `Read`,
18
+
For a more information about approved verbs, see [Approved Verbs for PowerShell Commands][01]. Some
19
+
unapproved verbs are documented on the approved verbs page and point to approved alternatives. Try
20
+
searching for the verb you used to find its approved form. For example, searching for `Read`,
0 commit comments