Skip to content

Commit

Permalink
Small fixes to Get-Verb (#3225)
Browse files Browse the repository at this point in the history
  • Loading branch information
HemantMahawar authored and sdwheeler committed Nov 2, 2018
1 parent 2c09326 commit afe3a3a
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions reference/6/Microsoft.PowerShell.Utility/Get-Verb.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ms.date: 09/07/2018
schema: 2.0.0
locale: en-us
keywords: powershell,cmdlet
online version: http://technet.microsoft.com/library/hh852690(v=wps.630).aspx
online version:
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
---

Expand All @@ -15,21 +15,21 @@ Gets approved PowerShell verbs.

## SYNTAX

```powershell
```
Get-Verb [[-Verb] <String[]>] [[-Group] <String[]>] [<CommonParameters>]
```

## DESCRIPTION

The `Get-Verb` function gets verbs that are approved for use in PowerShell commands.

PowerShell recommends cmdlet and function names have the Verb-Noun format and include an
approved verb. This practice makes command names more consistent, predictable, and easier to
use.
It is recommended that PowerShell cmdlet and function names have the `Verb-Noun`
format and include an approved verb. This practice makes command names more consistent,
predictable, and easier to use.

Commands that use unapproved verbs run in PowerShell. However, when you import a module that
includes a command with an unapproved verb in its name, the `Import-Module` command displays a
warning message.
Commands that use unapproved verbs, still run in PowerShell. However, when you import a
module that includes a command with an unapproved verb in its name, the `Import-Module`
command displays a warning message.

> [!NOTE]
> The verb list that `Get-Verb` returns might not be complete. For an updated list of approved
Expand Down Expand Up @@ -61,7 +61,6 @@ Uninstall us Lifecycle Removes a resource from an indicated location
Unregister ur Lifecycle Removes the entry for a resource from a repository
Unblock ul Security Removes restrictions to a resource
Unprotect up Security Removes safeguards from a resource that were added to prevent it from attack or loss
```

### Example 3 - Get all approved verbs in the Security group
Expand Down Expand Up @@ -157,8 +156,8 @@ Each PowerShell verb is assigned to one of the following groups.
- Security: Define actions that apply to security, such as Revoke.
- Other: Define other types of actions.

Some of the cmdlets that are installed with PowerShell, such as `Tee-Object` and `Where-Object`, use
unapproved verbs. These cmdlets are historic exceptions and their verbs are classified as
Some of the cmdlets that are installed with PowerShell, such as `Tee-Object` and `Where-Object`,
use unapproved verbs. These cmdlets are historic exceptions and their verbs are classified as
**reserved**.

## RELATED LINKS
Expand Down

0 comments on commit afe3a3a

Please sign in to comment.