| Verb |
Action |
Comments |
|
Add
|
Adds a resource to a container, or attaches an item to another item. For example, the Add-Content cmdlet adds content to a file. This verb is paired with the Remove verb.
|
Do not use verbs such as Append, Attach, Concatenate, or Insert.
|
|
Clear
|
Removes all the resources from a container but does not delete the container. For example, the Clear-Content cmdlet removes the contents of a file but does not delete the file.
|
Do not use verbs such as Flush, Erase, Release, Unmark, Unset, or Nullify.
|
|
Copy
|
Copies a resource to another name or to another container. For example, the Copy-Item cmdlet that is used to access stored data copies an item from one location in the data store to another location.
|
Do not use verbs such as Duplicate, Clone, or Replicate.
|
|
Enter
|
Sets the current environment or context to a new context. For example, the Enter-PSSession cmdlet places the user in an interactive session. This verb is paired with the Exit verb.
|
Do not use verbs such as Push or Into.
|
|
Exit
|
Sets the current environment or context to the most recently used context. For example, the Exit-PSSession cmdlet places the user in the session that was used to start the interactive session. This verb is paired with the Enter verb.
|
Do not use verbs such as Pop or Out.
|
|
Get
|
Retrieves a resource. For example, the Get-Content cmdlet retrieves the content of a file. This verb is paired with the Set verb.
|
Do not use verbs such as Read, Open, Cat, Type, Dir, Obtain, Dump, Acquire, Examine, Find, or Search.
|
|
Hide
|
Makes a resource undetectable. For example, a cmdlet whose name includes the Hide verb might conceal a service from a user. This verb is paired with the Show verb.
|
Do not use verbs such as Block.
|
|
Join
|
Combines resources into one resource. For example, the Join-Path cmdlet combines a path with one of its child paths to create a single path. This verb is paired with the Split verb.
|
Do not use verbs such as Combine, Unite, Connect, or Associate.
|
|
Lock
|
Secures a resource. This verb is paired with the Unlock verb.
|
Do not use verbs such as Restrict or Secure.
|
|
Move
|
Moves a resource from one location to another. For example, the Move-Item cmdlet moves an item from one location in the data store to another location.
|
Do not use verbs such as Transfer, Name, or Migrate.
|
|
New
|
Creates an empty resource that is not associated with any content. (If it does not make sense to create the resource without providing initial data, use the Set verb instead).
|
Do not use verbs such as Create, Generate, Build, Make, or Allocate.
|
|
Pop
|
Removes an item from the top of a stack. For example, the Pop-Location cmdlet changes the current location to the location that was most recently pushed onto the stack.
|
|
Push
|
Adds an item to the top of a stack. For example, the Push-Location cmdlet pushes the current location onto the stack.
|
|
Redo
|
Resets a resource to the state that was undone.
|
|
Remove
|
Deletes a resource from a container. For example, the Remove-Variable cmdlet deletes a variable and its value. This verb is paired with the Add verb.
|
Do not use verbs such as Clear, Cut, Dispose, Discard, or Erase.
|
|
Rename
|
Changes the name of a resource. For example, the Rename-Item cmdlet, which is used to access stored data, changes the name of an item in the data store.
|
Do not use verbs such as Change.
|
|
Search
|
Creates a reference to a resource in a container.
|
Do not use verbs such as Find or Locate.
|
|
Select
|
Locates a resource in a container. For example, the Select-String cmdlet finds text in strings and files.
|
Do not use verbs such as Find or Locate.
|
|
Set
|
Creates a resource that contains some data, or replaces data on an existing resource. (Use this verb if it makes no sense to create the resource without attaching data. To create the resource without attaching content, use the New verb. For example, the Set-Date cmdlet changes the system time on the local computer. This verb is paired with the Get verb.
|
Do not use verbs such as Write, Reset, Assign, or Configure.
|
|
Show
|
Makes a resource visible to the user. This verb is paired with the Hide verb.
|
Do not use verbs such as Display or Produce.
|
|
Split
|
Separates parts of a resource. For example, the Split-Path cmdlet returns different parts of a path. This verb is paired with the Join verb.
|
Do not use verbs such as Separate.
|
|
Undo
|
Sets a resource to its previous state.
|
|
Unlock
|
Releases a resource that was locked. This verb is paired with the Lock verb.
|
Do not use verbs such as Release, Unrestrict, or Unsecure.
|
|
Use
|
Utilizes a resource.
|