Verbi approvati per i comandi di PowerShellApproved Verbs for PowerShell Commands
PowerShell usa una coppia verbo-sostantivo per i nomi dei cmdlet e per le classi .NET derivate.PowerShell uses a verb-noun pair for the names of cmdlets and for their derived .NET classes.
La componente verbo del nome identifica l'azione eseguita dal cmdlet.The verb part of the name identifies the action that the cmdlet performs. La componente sostantivo del nome identifica l'entità su cui viene eseguita l'azione.The noun part of the name identifies the entity on which the action is performed. Ad esempio, il cmdlet Get-Command
recupera tutti i comandi registrati in PowerShell.For example, the Get-Command
cmdlet retrieves all the commands that are registered in PowerShell.
Nota
PowerShell usa il termine verbo per descrivere una parola che implica un'azione, anche se la parola in questione non è un verbo standard nella lingua inglese.PowerShell uses the term verb to describe a word that implies an action even if that word is not a standard verb in the English language. Il termine New, ad esempio, è un nome di verbo di PowerShell valido perché implica un'azione anche se non corrisponde a un verbo nella lingua inglese.For example, the term New is a valid PowerShell verb name because it implies an action even though it is not a verb in the English language.
Ogni verbo approvato ha un prefisso alias corrispondente definito.Each approved verb has a corresponding alias prefix defined. Questo prefisso alias viene usato negli alias per i comandi che usano questo verbo.We use this alias prefix in aliases for commands using that verb. Ad esempio, il prefisso alias per Import
è ip
e, di conseguenza, l'alias per Import-Module
è ipmo
.For example, the alias prefix for Import
is ip
and, accordingly, the alias for Import-Module
is ipmo
. Si tratta di una raccomandazione, ma non di una regola. In particolare, non deve essere necessariamente rispettata per gli alias di comandi che simulano comandi noti di altri ambienti.This is a recommendation but not a rule; in particular, it need not be respected for command aliases mimicking well known commands from other environments.
Raccomandazioni per la denominazione dei verbiVerb Naming Recommendations
Le raccomandazioni seguenti consentono di scegliere un verbo appropriato per il cmdlet, per garantire la coerenza tra i cmdlet creati, quelli forniti da PowerShell e i cmdlet progettati da altri utenti.The following recommendations help you choose an appropriate verb for your cmdlet, to ensure consistency between the cmdlets that you create, the cmdlets that are provided by PowerShell, and the cmdlets that are designed by others.
- Usare uno dei nomi di verbi predefiniti forniti da PowerShellUse one of the predefined verb names provided by PowerShell
- Usare il verbo per descrivere l'ambito generale dell'azione e usare i parametri per perfezionare ulteriormente l'azione del cmdlet.Use the verb to describe the general scope of the action, and use parameters to further refine the action of the cmdlet.
- Non usare un sinonimo di un verbo approvato.Do not use a synonym of an approved verb. Ad esempio, usare sempre
Remove
, non usare maiDelete
oEliminate
.For example, always useRemove
, never useDelete
orEliminate
. - Usare solo il formato di ogni verbo elencato in questo argomento.Use only the form of each verb that is listed in this topic. Ad esempio, usare
Get
, ma non usareGetting
oGets
.For example, useGet
, but do not useGetting
orGets
. - Non usare i seguenti verbi o alias riservati.Do not use the following reserved verbs or aliases. Il linguaggio di PowerShell o alcuni dei suoi cmdlet usano questi verbi in circostanze eccezionali.The PowerShell language or a rare few of its cmdlet uses these verbs under exceptional circumstances.
- ForEach (foreach)ForEach (foreach)
- Format (f): dispone gli oggetti in una forma o un layout specificatoFormat (f): Arranges objects in a specified form or layout
- Group (gp): dispone o associa una o più risorseGroup (gp): Arranges or associates one or more resources
- Ping (pi)Ping (pi)
- Sort (sr)Sort (sr)
- Tee (te)Tee (te)
- Where (wh)Where (wh)
È possibile ottenere un elenco completo di verbi usando il cmdlet Get-Verb
.You may get a complete list of verbs using the Get-Verb
cmdlet.
Verbi simili per azioni diverseSimilar Verbs for Different Actions
I verbi simili riportati di seguito rappresentano azioni diverse.The following similar verbs represent different actions.
New e SetNew vs. Set
Usare il verbo New
per creare una nuova risorsa.Use the New
verb to create a new resource. Usare il verbo Set
per modificare una risorsa esistente, eventualmente creandola se non esiste, come il cmdlet Set-Variable
.Use the Set
verb to modify an existing resource, optionally creating it if it does not exist, such as the Set-Variable
cmdlet.
Find e RicercaFind vs. Search
Usare il verbo Find
per cercare un oggetto.Use the Find
verb to look for an object. Usare il verbo Search
per creare un riferimento a una risorsa in un contenitore.Use the Search
verb to create a reference to a resource in a container.
Get e LetturaGet vs. Read
Usare il verbo Get
per ottenere informazioni su una risorsa, ad esempio un file, o per ottenere un oggetto con cui è possibile accedere alla risorsa in futuro.Use the Get
verb to obtain information about a resource (such as a file) or to obtain an object with which you can access the resource in future. Usare il verbo Read
per aprire una risorsa ed estrarre le informazioni contenute al suo interno.Use the Read
verb to open a resource and either extract information contained within.
Invoke e IniziaInvoke vs. Start
Usare il verbo Invoke
per eseguire operazioni sincrone, come l'esecuzione di un comando e l'attesa del suo completamento.Use the Invoke
verb to perform synchronous operations, such as running a command and waiting for it to end. Usare il verbo Start
per avviare operazioni asincrone, come l'avvio di un processo autonomo.Use the Start
verb is used to begin asynchronous operations, such as starting an autonomous process.
Ping e TestPing vs. Test
Usare il verbo Test
.Use the Test
verb.
Verbi comuniCommon Verbs
PowerShell usa la classe di enumerazione System.Management.Automation.VerbsCommon per definire azioni generiche che possono applicabili a quasi tutti i cmdlet.PowerShell uses the System.Management.Automation.VerbsCommon enumeration class to define generic actions that can apply to almost any cmdlet. La tabella seguente elenca la maggior parte dei verbi definiti.The following table lists most of the defined verbs.
Verbo (alias)Verb (alias) | AzioneAction | Sinonimi da evitareSynonyms to avoid |
---|---|---|
Add (a)Add (a) | Aggiunge una risorsa a un contenitore o collega un elemento a un altro elemento.Adds a resource to a container, or attaches an item to another item. Ad esempio, il cmdlet Add-Content aggiunge contenuto a un file.For example, the Add-Content cmdlet adds content to a file. Questo verbo è associato a Remove .This verb is paired with Remove . |
Append, Attach, Concatenate, InsertAppend, Attach, Concatenate, Insert |
Clear (cl)Clear (cl) | Rimuove tutte le risorse da un contenitore, ma non elimina il contenitore.Removes all the resources from a container but does not delete the container. Ad esempio, il cmdlet Clear-Content rimuove il contenuto di un file ma non elimina il file.For example, the Clear-Content cmdlet removes the contents of a file but does not delete the file. |
Flush, Erase, Release, Unmark, Unset, NullifyFlush, Erase, Release, Unmark, Unset, Nullify |
Close (cs)Close (cs) | Modifica lo stato di una risorsa per renderla inaccessibile, non disponibile o inutilizzabile.Changes the state of a resource to make it inaccessible, unavailable, or unusable. Questo verbo è associato a Open. This verb is paired with Open. |
|
Copy (cp)Copy (cp) | Copia una risorsa in un altro nome o in un altro contenitore.Copies a resource to another name or to another container. Ad esempio, il cmdlet Copy-Item copia un elemento, come un file, da una posizione nell'archivio dati in un'altra posizione.For example, the Copy-Item cmdlet copies an item (such as a file) from one location in the data store to another location. |
Duplicate, Clone, Replicate, SyncDuplicate, Clone, Replicate, Sync |
Enter (et)Enter (et) | Specifica un'azione che consente all'utente di spostarsi in una risorsa.Specifies an action that allows the user to move into a resource. Ad esempio, il cmdlet Enter-PSSession inserisce l'utente in una sessione interattiva.For example, the Enter-PSSession cmdlet places the user in an interactive session. Questo verbo è associato a Exit .This verb is paired with Exit . |
Push, IntoPush, Into |
Exit (ex)Exit (ex) | Imposta l'ambiente o il contesto corrente sul contesto usato più di recente.Sets the current environment or context to the most recently used context. Ad esempio, il cmdlet Exit-PSSession inserisce l'utente nella sessione usata per avviare la sessione interattiva.For example, the Exit-PSSession cmdlet places the user in the session that was used to start the interactive session. Questo verbo è associato a Enter .This verb is paired with Enter . |
Pop, OutPop, Out |
Find (fd)Find (fd) | Cerca un oggetto in un contenitore sconosciuto, implicito, facoltativo o specificato.Looks for an object in a container that is unknown, implied, optional, or specified. | RicercaSearch |
Get (g)Get (g) | Specifica un'azione che recupera una risorsa.Specifies an action that retrieves a resource. Questo verbo è associato a Set .This verb is paired with Set . |
Read, Open, Cat, Type, Dir, Obtain, Dump, Acquire, Examine, Find, SearchRead, Open, Cat, Type, Dir, Obtain, Dump, Acquire, Examine, Find, Search |
Hide (h)Hide (h) | Rende una risorsa non rilevabile.Makes a resource undetectable. Ad esempio, un cmdlet il cui nome include il verbo Hide potrebbe nascondere un servizio a un utente.For example, a cmdlet whose name includes the Hide verb might conceal a service from a user. Questo verbo è associato a Show .This verb is paired with Show . |
BloccaBlock |
Join (j)Join (j) | Combina le risorse in un'unica risorsa.Combines resources into one resource. Ad esempio, il cmdlet Join-Path combina un percorso con uno dei percorsi figlio per creare un singolo percorso.For example, the Join-Path cmdlet combines a path with one of its child paths to create a single path. Questo verbo è associato a Split .This verb is paired with Split . |
Combine, Unite, Connect, AssociateCombine, Unite, Connect, Associate |
Lock (lk)Lock (lk) | Protegge una risorsa.Secures a resource. Questo verbo è associato a Unlock .This verb is paired with Unlock . |
Restrict, SecureRestrict, Secure |
Move (m)Move (m) | Sposta una risorsa da un percorso a un altro.Moves a resource from one location to another. Ad esempio, il cmdlet Move-Item sposta un elemento da una posizione nell'archivio dati in un'altra posizione.For example, the Move-Item cmdlet moves an item from one location in the data store to another location. |
Transfer, Name, MigrateTransfer, Name, Migrate |
New (n)New (n) | Crea una risorsa.Creates a resource. Quando si crea una risorsa che include dati, può essere usato anche il verbo Set , come nel cmdlet Set-Variable .(The Set verb can also be used when creating a resource that includes data, such as the Set-Variable cmdlet.) |
Create, Generate, Build, Make, AllocateCreate, Generate, Build, Make, Allocate |
Open (op)Open (op) | Modifica lo stato di una risorsa per renderla accessibile, disponibile o utilizzabile.Changes the state of a resource to make it accessible, available, or usable. Questo verbo è associato a Close .This verb is paired with Close . |
|
Optimize (om)Optimize (om) | Aumenta l'efficacia di una risorsa.Increases the effectiveness of a resource. | |
Pop (pop)Pop (pop) | Rimuove un elemento dall'inizio di uno stack.Removes an item from the top of a stack. Ad esempio, il cmdlet Pop-Location imposta il percorso corrente sul percorso di cui è stato eseguito il push più di recente nello stack.For example, the Pop-Location cmdlet changes the current location to the location that was most recently pushed onto the stack. |
|
Push (pu)Push (pu) | Aggiunge un elemento all'inizio di uno stack.Adds an item to the top of a stack. Ad esempio, il cmdlet Push-Location esegue il push del percorso corrente nello stack.For example, the Push-Location cmdlet pushes the current location onto the stack. |
|
Redo (re)Redo (re) | Reimposta una risorsa sullo stato che è stato annullato.Resets a resource to the state that was undone. | |
Remove (r)Remove (r) | Elimina una risorsa da un contenitore.Deletes a resource from a container. Ad esempio, il cmdlet Remove-Variable elimina una variabile e il relativo valore.For example, the Remove-Variable cmdlet deletes a variable and its value. Questo verbo è associato a Add .This verb is paired with Add . |
Clear, Cut, Dispose, Discard, EraseClear, Cut, Dispose, Discard, Erase |
Rename (rn)Rename (rn) | Modifica il nome di una risorsa.Changes the name of a resource. Ad esempio, il cmdlet Rename-Item , usato per accedere ai dati archiviati, modifica il nome di un elemento nell'archivio dati.For example, the Rename-Item cmdlet, which is used to access stored data, changes the name of an item in the data store. |
ModificaChange |
Reset (rs)Reset (rs) | Ripristina lo stato originale di una risorsa.Sets a resource back to its original state. | |
Resize(rz)Resize(rz) | Modifica la dimensione di una risorsa.Changes the size of a resource. | |
Search (sr)Search (sr) | Crea un riferimento a una risorsa in un contenitore.Creates a reference to a resource in a container. | Find, LocateFind, Locate |
Select (sc)Select (sc) | Individua una risorsa in un contenitore.Locates a resource in a container. Ad esempio, il cmdlet Select-String trova testo in stringhe e file.For example, the Select-String cmdlet finds text in strings and files. |
Find, LocateFind, Locate |
Set (s)Set (s) | Sostituisce i dati in una risorsa esistente o crea una risorsa contenente alcuni dati.Replaces data on an existing resource or creates a resource that contains some data. Ad esempio, il cmdlet Set-Date modifica l'ora di sistema nel computer localeFor example, the Set-Date cmdlet changes the system time on the local computer. (per creare una risorsa può essere usato anche il verbo New ). Questo verbo è associato a Get .(The New verb can also be used to create a resource.) This verb is paired with Get . |
Write, Reset, Assign, ConfigureWrite, Reset, Assign, Configure |
Show (sh)Show (sh) | Rende visibile una risorsa all'utente.Makes a resource visible to the user. Questo verbo è associato a Hide .This verb is paired with Hide . |
Display, ProduceDisplay, Produce |
Skip (sk)Skip (sk) | Ignora una o più risorse o punti in una sequenza.Bypasses one or more resources or points in a sequence. | Bypass, JumpBypass, Jump |
Split (sl)Split (sl) | Separa le parti di una risorsa.Separates parts of a resource. Ad esempio, il cmdlet Split-Path restituisce parti diverse di un percorso.For example, the Split-Path cmdlet returns different parts of a path. Questo verbo è associato a Join .This verb is paired with Join . |
SeparaSeparate |
Step (st)Step (st) | Passa al punto o alla risorsa successiva in una sequenza.Moves to the next point or resource in a sequence. | |
Switch (sw)Switch (sw) | Specifica un'azione che si alterna tra due risorse, ad esempio per passare da una posizione, responsabilità o stato all'altro.Specifies an action that alternates between two resources, such as to change between two locations, responsibilities, or states. | |
Undo (un)Undo (un) | Imposta una risorsa sullo stato precedente.Sets a resource to its previous state. | |
Unlock (uk)Unlock (uk) | Rilascia una risorsa bloccata.Releases a resource that was locked. Questo verbo è associato a Lock .This verb is paired with Lock . |
Release, Unrestrict, UnsecureRelease, Unrestrict, Unsecure |
Watch (wc)Watch (wc) | Controlla o monitora continuamente una risorsa per individuare eventuali modifiche.Continually inspects or monitors a resource for changes. |
Verbi di comunicazioneCommunications Verbs
PowerShell usa la classe System.Management.Automation.VerbsCommunications per definire le azioni che si applicano alle comunicazioni.PowerShell uses the System.Management.Automation.VerbsCommunications class to define actions that apply to communications. La tabella seguente elenca la maggior parte dei verbi definiti.The following table lists most of the defined verbs.
Verbo (alias)Verb (alias) | AzioneAction | Sinonimi da evitareSynonyms to avoid |
---|---|---|
Connect (cc)Connect (cc) | Crea un collegamento tra un'origine e una destinazione.Creates a link between a source and a destination. Questo verbo è associato a Disconnect .This verb is paired with Disconnect . |
Join, TelnetJoin, Telnet |
Disconnect (dc)Disconnect (dc) | Interrompe il collegamento tra un'origine e una destinazione.Breaks the link between a source and a destination. Questo verbo è associato a Connect .This verb is paired with Connect . |
Break, LogoffBreak, Logoff |
Read (rd)Read (rd) | Acquisisce informazioni da un'origine.Acquires information from a source. Questo verbo è associato a Write .This verb is paired with Write . |
Acquire, Prompt, GetAcquire, Prompt, Get |
Receive (rc)Receive (rc) | Accetta le informazioni inviate da un'origine.Accepts information sent from a source. Questo verbo è associato a Send .This verb is paired with Send . |
Read, Accept, PeekRead, Accept, Peek |
Send (sd)Send (sd) | Recapita le informazioni a una destinazione.Delivers information to a destination. Questo verbo è associato a Receive .This verb is paired with Receive . |
Put, Broadcast, Mail, FaxPut, Broadcast, Mail, Fax |
Write (wr)Write (wr) | Aggiunge informazioni a una destinazione.Adds information to a target. Questo verbo è associato a Read .This verb is paired with Read . |
Put, PrintPut, Print |
Verbi di datiData Verbs
PowerShell usa la classe System.Management.Automation.VerbsData per definire le azioni che si applicano alla gestione dei dati.PowerShell uses the System.Management.Automation.VerbsData class to define actions that apply to data handling. La tabella seguente elenca la maggior parte dei verbi definiti.The following table lists most of the defined verbs.
Nome del verbo (alias)Verb Name (alias) | AzioneAction | Sinonimi da evitareSynonyms to avoid |
---|---|---|
Backup (ba)Backup (ba) | Archivia i dati eseguendone la replica.Stores data by replicating it. | Save, Burn, Replicate, SyncSave, Burn, Replicate, Sync |
Checkpoint (ch)Checkpoint (ch) | Crea uno snapshot dello stato corrente dei dati o della relativa configurazione.Creates a snapshot of the current state of the data or of its configuration. | DiffDiff |
Compare (cr)Compare (cr) | Valuta i dati di una risorsa in base a quelli di un'altra risorsa.Evaluates the data from one resource against the data from another resource. | DiffDiff |
Compress (cm)Compress (cm) | Compatta i dati di una risorsa.Compacts the data of a resource. È associato a Expand .Pairs with Expand . |
CompactCompact |
Convert (cv)Convert (cv) | Modifica i dati da una rappresentazione a un'altra quando il cmdlet supporta la conversione bidirezionale o quando il cmdlet supporta la conversione tra più tipi di dati.Changes the data from one representation to another when the cmdlet supports bidirectional conversion or when the cmdlet supports conversion between multiple data types. | Change, Resize, ResampleChange, Resize, Resample |
ConvertFrom (cf)ConvertFrom (cf) | Converte un tipo di input primario (il nome del cmdlet indica l'input) in uno o più tipi di output supportati.Converts one primary type of input (the cmdlet noun indicates the input) to one or more supported output types. | Export, Output, OutExport, Output, Out |
ConvertTo (ct)ConvertTo (ct) | Esegue la conversione da uno o più tipi di input a un tipo di output primario (il nome del cmdlet indica il tipo di output).Converts from one or more types of input to a primary output type (the cmdlet noun indicates the output type). | Import, Input, InImport, Input, In |
Dismount (dm)Dismount (dm) | Scollega un'entità denominata da un percorso.Detaches a named entity from a location. Questo verbo è associato a Mount .This verb is paired with Mount . |
Unmount, UnlinkUnmount, Unlink |
Edit (ed)Edit (ed) | Modifica i dati esistenti aggiungendo o rimuovendo contenuto.Modifies existing data by adding or removing content. | Change, Update, ModifyChange, Update, Modify |
Expand (en)Expand (en) | Ripristina i dati di una risorsa che è stata compressa allo stato originale.Restores the data of a resource that has been compressed to its original state. Questo verbo è associato a Compress .This verb is paired with Compress . |
Explode, UncompressExplode, Uncompress |
Export (ep)Export (ep) | Incapsula l'input primario in un archivio dati persistente, ad esempio un file, o in un formato di interscambio.Encapsulates the primary input into a persistent data store, such as a file, or into an interchange format. Questo verbo è associato a Import .This verb is paired with Import . |
Extract, BackupExtract, Backup |
Import (ip)Import (ip) | Crea una risorsa da dati archiviati in un archivio dati permanente (ad esempio un file) o in un formato di interscambio.Creates a resource from data that is stored in a persistent data store (such as a file) or in an interchange format. Ad esempio, il cmdlet Import-CSV importa i dati da un file con valori delimitati da virgole (CSV) in oggetti che possono essere usati da altri cmdlet.For example, the Import-CSV cmdlet imports data from a comma-separated value (CSV) file to objects that can be used by other cmdlets. Questo verbo è associato a Export .This verb is paired with Export . |
BulkLoad, LoadBulkLoad, Load |
Initialize (in)Initialize (in) | Prepara una risorsa per l'uso e la imposta su uno stato predefinito.Prepares a resource for use, and sets it to a default state. | Erase, Init, Renew, Rebuild, Reinitialize, SetupErase, Init, Renew, Rebuild, Reinitialize, Setup |
Limit (l)Limit (l) | Applica vincoli a una risorsa.Applies constraints to a resource. | QuotaQuota |
Merge (mg)Merge (mg) | Crea un'unica risorsa da più risorse.Creates a single resource from multiple resources. | Combine, JoinCombine, Join |
Mount (mt)Mount (mt) | Collega un'entità denominata a un percorso.Attaches a named entity to a location. Questo verbo è associato a Dismount .This verb is paired with Dismount . |
ConnessioneConnect |
Out (o)Out (o) | Invia dati all'esterno dell'ambiente.Sends data out of the environment. Ad esempio, il cmdlet Out-Printer invia dati a una stampante.For example, the Out-Printer cmdlet sends data to a printer. |
|
Publish (pb)Publish (pb) | Rende una risorsa disponibile ad altri utenti.Makes a resource available to others. Questo verbo è associato a Unpublish .This verb is paired with Unpublish . |
Deploy, Release, InstallDeploy, Release, Install |
Restore (rr)Restore (rr) | Imposta una risorsa su uno stato predefinito, come uno stato impostato da Checkpoint .Sets a resource to a predefined state, such as a state set by Checkpoint . Ad esempio, il cmdlet Restore-Computer avvia un ripristino di sistema nel computer locale.For example, the Restore-Computer cmdlet starts a system restore on the local computer. |
Repair, Return, Undo, FixRepair, Return, Undo, Fix |
Save (sv)Save (sv) | Conserva i dati per evitare perdite.Preserves data to avoid loss. | |
Sync (sy)Sync (sy) | Assicura che due o più risorse si trovino nello stesso stato.Assures that two or more resources are in the same state. | Replicate, Coerce, MatchReplicate, Coerce, Match |
Unpublish (ub)Unpublish (ub) | Rende una risorsa non disponibile ad altri utenti.Makes a resource unavailable to others. Questo verbo è associato a Publish .This verb is paired with Publish . |
Uninstall, Revert, HideUninstall, Revert, Hide |
Update (ud)Update (ud) | Tiene aggiornata una risorsa per mantenerne lo stato, l'accuratezza e la conformità.Brings a resource up-to-date to maintain its state, accuracy, conformance, or compliance. Ad esempio, il cmdlet Update-FormatData aggiorna e aggiunge file di formattazione alla console di PowerShell corrente.For example, the Update-FormatData cmdlet updates and adds formatting files to the current PowerShell console. |
Refresh, Renew, Recalculate, Re-indexRefresh, Renew, Recalculate, Re-index |
Verbi di diagnosticaDiagnostic Verbs
PowerShell usa la classe System.Management.Automation.VerbsDiagnostic per definire le azioni che si applicano alla diagnostica.PowerShell uses the System.Management.Automation.VerbsDiagnostic class to define actions that apply to diagnostics. La tabella seguente elenca la maggior parte dei verbi definiti.The following table lists most of the defined verbs.
Verbo (alias)Verb (alias) | AzioneAction | Sinonimi da evitareSynonyms to avoid |
---|---|---|
Debug (db)Debug (db) | Esamina una risorsa per diagnosticare problemi operativi.Examines a resource to diagnose operational problems. | DiagnosiDiagnose |
Measure (ms)Measure (ms) | Identifica le risorse usate da un'operazione specificata o recupera le statistiche relative a una risorsa.Identifies resources that are consumed by a specified operation, or retrieves statistics about a resource. | Calculate, Determine, AnalyzeCalculate, Determine, Analyze |
Repair (rp)Repair (rp) | Riporta una risorsa a una condizione utilizzabileRestores a resource to a usable condition | Fix, RestoreFix, Restore |
Resolve (rv)Resolve (rv) | Esegue il mapping di una rappresentazione abbreviata di una risorsa a una rappresentazione più completa.Maps a shorthand representation of a resource to a more complete representation. | Expand, DetermineExpand, Determine |
Test (t)Test (t) | Verifica l'operazione o la coerenza di una risorsa.Verifies the operation or consistency of a resource. | Diagnose, Analyze, Salvage, VerifyDiagnose, Analyze, Salvage, Verify |
Trace (tr)Trace (tr) | Tiene traccia delle attività di una risorsa.Tracks the activities of a resource. | Track, Follow, Inspect, DigTrack, Follow, Inspect, Dig |
Verbi del ciclo di vitaLifecycle Verbs
PowerShell usa la classe System.Management.Automation.VerbsLifeCycle per definire le azioni che si applicano al ciclo di vita di una risorsa.PowerShell uses the System.Management.Automation.VerbsLifeCycle class to define actions that apply to the lifecycle of a resource. La tabella seguente elenca la maggior parte dei verbi definiti.The following table lists most of the defined verbs.
Verbo (alias)Verb (alias) | AzioneAction | Sinonimi da evitareSynonyms to avoid |
---|---|---|
Approve (ap)Approve (ap) | Conferma o accetta lo stato di una risorsa o di un processo.Confirms or agrees to the status of a resource or process. | |
Assert (as)Assert (as) | Afferma lo stato di una risorsa.Affirms the state of a resource. | CertifyCertify |
Build (bd)Build (bd) | Crea un artefatto, in genere un file binario o un documento, da un set di file di input, in genere codice sorgente o documenti dichiarativi. Questo verbo è stato aggiunto in PowerShell 6.Creates an artifact (usually a binary or document) out of some set of input files (usually source code or declarative documents.) This verb was added in PowerShell 6. | |
Complete (cp)Complete (cp) | Conclude un'operazione.Concludes an operation. | |
Confirm (cn)Confirm (cn) | Conferma, verifica o convalida lo stato di una risorsa o di un processo.Acknowledges, verifies, or validates the state of a resource or process. | Acknowledge, Agree, Certify, Validate, VerifyAcknowledge, Agree, Certify, Validate, Verify |
Deny (dn)Deny (dn) | Rifiuta, blocca, obietta o si oppone allo stato di una risorsa o di un processo.Refuses, objects, blocks, or opposes the state of a resource or process. | Block, Object, Refuse, RejectBlock, Object, Refuse, Reject |
Deploy (dp)Deploy (dp) | Invia un'applicazione, un sito Web o una soluzione a una o più destinazioni remote in modo che un utente di tale soluzione possa accedervi al termine della distribuzione.Sends an application, website, or solution to a remote target[s] in such a way that a consumer of that solution can access it after deployment is complete. Questo verbo è stato aggiunto in PowerShell 6.This verb was added in PowerShell 6. | |
Disable (d)Disable (d) | Configura una risorsa su uno stato non disponibile o inattivo.Configures a resource to an unavailable or inactive state. Ad esempio, il cmdlet Disable-PSBreakpoint rende inattivo un punto di interruzione.For example, the Disable-PSBreakpoint cmdlet makes a breakpoint inactive. Questo verbo è associato a Enable .This verb is paired with Enable . |
Halt, HideHalt, Hide |
Enable (e)Enable (e) | Configura una risorsa su uno stato disponibile o attivo.Configures a resource to an available or active state. Ad esempio, il cmdlet Enable-PSBreakpoint rende attivo un punto di interruzione.For example, the Enable-PSBreakpoint cmdlet makes a breakpoint active. Questo verbo è associato a Disable .This verb is paired with Disable . |
Start, BeginStart, Begin |
Install (is)Install (is) | Inserisce una risorsa in un percorso e, facoltativamente, la inizializza.Places a resource in a location, and optionally initializes it. Questo verbo è associato a Uninstall .This verb is paired with Uninstall . |
ConfigurazioneSetup |
Invoke (i)Invoke (i) | Esegue un'azione, come l'esecuzione di un comando o di un metodo.Performs an action, such as running a command or a method. | Run, StartRun, Start |
Register (rg)Register (rg) | Crea una voce per una risorsa in un repository, ad esempio un database.Creates an entry for a resource in a repository such as a database. Questo verbo è associato a Unregister .This verb is paired with Unregister . |
|
Request (rq)Request (rq) | Richiede una risorsa o chiede le autorizzazioni.Asks for a resource or asks for permissions. | |
Restart (rt)Restart (rt) | Arresta un'operazione, quindi la avvia nuovamente.Stops an operation and then starts it again. Ad esempio, il cmdlet Restart-Service arresta e quindi avvia un servizio.For example, the Restart-Service cmdlet stops and then starts a service. |
Ripetere il cicloRecycle |
Resume (ru)Resume (ru) | Avvia un'operazione precedentemente sospesa.Starts an operation that has been suspended. Ad esempio, il cmdlet Resume-Service avvia un servizio che è stato sospeso.For example, the Resume-Service cmdlet starts a service that has been suspended. Questo verbo è associato a Suspend .This verb is paired with Suspend . |
|
Start (sa)Start (sa) | Avvia un'operazione.Initiates an operation. Ad esempio, il cmdlet Start-Service avvia un servizio.For example, the Start-Service cmdlet starts a service. Questo verbo è associato a Stop .This verb is paired with Stop . |
Launch, Initiate, BootLaunch, Initiate, Boot |
Stop (sp)Stop (sp) | Interrompe un'attività.Discontinues an activity. Questo verbo è associato a Start .This verb is paired with Start . |
End, Kill, Terminate, CancelEnd, Kill, Terminate, Cancel |
Submit (sb)Submit (sb) | Presenta una risorsa per l'approvazione.Presents a resource for approval. | PubblicaPost |
Suspend (ss)Suspend (ss) | Sospende un'attività.Pauses an activity. Ad esempio, il cmdlet Suspend-Service sospende un servizio.For example, the Suspend-Service cmdlet pauses a service. Questo verbo è associato a Resume .This verb is paired with Resume . |
SospendiPause |
Uninstall (us)Uninstall (us) | Rimuove una risorsa da una posizione indicata.Removes a resource from an indicated location. Questo verbo è associato a Install .This verb is paired with Install . |
|
Unregister (ur)Unregister (ur) | Rimuove la voce di una risorsa da un repository.Removes the entry for a resource from a repository. Questo verbo è associato a Register .This verb is paired with Register . |
RimuoviRemove |
Wait (w)Wait (w) | Sospende un'operazione fino a quando non si verifica un evento specificato.Pauses an operation until a specified event occurs. Ad esempio, il cmdlet Wait-Job sospende le operazioni fino al completamento di uno o più processi in background.For example, the Wait-Job cmdlet pauses operations until one or more of the background jobs are complete. |
Sleep, PauseSleep, Pause |
Verbi di sicurezzaSecurity Verbs
PowerShell usa la classe System.Management.Automation.VerbsSecurity per definire le azioni che si applicano alla sicurezza.PowerShell uses the System.Management.Automation.VerbsSecurity class to define actions that apply to security. La tabella seguente elenca la maggior parte dei verbi definiti.The following table lists most of the defined verbs.
Verbo (alias)Verb (alias) | AzioneAction | Sinonimi da evitareSynonyms to avoid |
---|---|---|
Block (bl)Block (bl) | Limita l'accesso a una risorsa.Restricts access to a resource. Questo verbo è associato a Unblock .This verb is paired with Unblock . |
Prevent, Limit, DenyPrevent, Limit, Deny |
Grant (gr)Grant (gr) | Consente l'accesso a una risorsa.Allows access to a resource. Questo verbo è associato a Revoke .This verb is paired with Revoke . |
Allow, EnableAllow, Enable |
Protect (pt)Protect (pt) | Protegge una risorsa da attacchi o perdite.Safeguards a resource from attack or loss. Questo verbo è associato a Unprotect .This verb is paired with Unprotect . |
Encrypt, Safeguard, SealEncrypt, Safeguard, Seal |
Revoke (rk)Revoke (rk) | Specifica un'azione che non consente l'accesso a una risorsa.Specifies an action that does not allow access to a resource. Questo verbo è associato a Grant .This verb is paired with Grant . |
Remove, DisableRemove, Disable |
Unblock (ul)Unblock (ul) | Rimuove le restrizioni per una risorsa.Removes restrictions to a resource. Questo verbo è associato a Block .This verb is paired with Block . |
Clear, AllowClear, Allow |
Unprotect (up)Unprotect (up) | Rimuove le misure di sicurezza di una risorsa aggiunte per impedirne l'attacco o la perdita.Removes safeguards from a resource that were added to prevent it from attack or loss. Questo verbo è associato a Protect .This verb is paired with Protect . |
Decrypt, UnsealDecrypt, Unseal |
Altri verbiOther Verbs
PowerShell usa la classe System.Management.Automation.VerbsOther per definire i nomi di verbi canonici che non rientrano in una categoria specifica del nome del verbo, ad esempio i verbi comuni, delle comunicazioni, dei dati, del ciclo di vita o di sicurezza.PowerShell uses the System.Management.Automation.VerbsOther class to define canonical verb names that do not fit into a specific verb name category such as the common, communications, data, lifecycle, or security verb names verbs.
Verbo (alias)Verb (alias) | AzioneAction | Sinonimi da evitareSynonyms to avoid |
---|---|---|
Use (u)Use (u) | Usa o include una risorsa per eseguire un'operazione.Uses or includes a resource to do something. |
Vedere ancheSee Also
- System.Management.Automation.VerbsCommonSystem.Management.Automation.VerbsCommon
- System.Management.Automation.VerbsCommunicationsSystem.Management.Automation.VerbsCommunications
- System.Management.Automation.VerbsDataSystem.Management.Automation.VerbsData
- System.Management.Automation.VerbsDiagnosticSystem.Management.Automation.VerbsDiagnostic
- System.Management.Automation.VerbsLifeCycleSystem.Management.Automation.VerbsLifeCycle
- System.Management.Automation.VerbsSecuritySystem.Management.Automation.VerbsSecurity
- System.Management.Automation.VerbsOtherSystem.Management.Automation.VerbsOther
- Dichiarazione di cmdletCmdlet Declaration
- Manuale del programmatore di Windows PowerShellWindows PowerShell Programmer's Guide
- SDK della shell di Windows PowerShellWindows PowerShell Shell SDK