diff --git a/src/System.Management.Automation/utils/Verbs.cs b/src/System.Management.Automation/utils/Verbs.cs index 7103a526f9..a7d3c343da 100644 --- a/src/System.Management.Automation/utils/Verbs.cs +++ b/src/System.Management.Automation/utils/Verbs.cs @@ -71,6 +71,11 @@ namespace System.Management.Automation /// public const string Hide = "Hide"; + /// + /// Combines resources into one resource + /// + public const string Join = "Join"; + /// /// Lock a resource. /// @@ -107,6 +112,11 @@ namespace System.Management.Automation /// public const string Pop = "Pop"; + /// + /// Act on a resource again. + /// + public const string Redo = "Redo"; + /// /// Remove a resource from a container /// @@ -127,17 +137,22 @@ namespace System.Management.Automation /// public const string Resize = "Resize"; - /// - /// Set the contents/object/properties/relations... of a resource - /// - public const string Set = "Set"; - /// /// Get a reference to a resource or summary information about a resource by looking in a specified collection. /// Does not actually retrieve that resource. /// public const string Search = "Search"; + /// + /// To take as a choice from among several; pick out + /// + public const string Select = "Select"; + + /// + /// Set the contents/object/properties/relations... of a resource + /// + public const string Set = "Set"; + /// /// Makes visible, or displays information. Combines get, format, and out verbs. /// @@ -148,36 +163,21 @@ namespace System.Management.Automation /// public const string Skip = "Skip"; - /// - /// Move to the next point or resource - /// - public const string Step = "Step"; - - /// - /// Join - to unite so as to form one unit - /// - public const string Join = "Join"; - - /// - /// Act on a resource again. - /// - public const string Redo = "Redo"; - /// /// Split an object into portions. parts or fragments /// public const string Split = "Split"; + /// + /// Move to the next point or resource + /// + public const string Step = "Step"; + /// /// /// public const string Switch = "Switch"; - /// - /// To take as a choice from among several; pick out - /// - public const string Select = "Select"; - /// /// Reverse an action or process. /// @@ -240,6 +240,11 @@ namespace System.Management.Automation /// public const string ConvertTo = "ConvertTo"; + /// + /// To dismount - to get off. To detach. + /// + public const string Dismount = "Dismount"; + /// /// Performs an in-place modification of a resource. /// @@ -280,6 +285,16 @@ namespace System.Management.Automation /// public const string Merge = "Merge"; + /// + /// To mount - to attache a named entity to a hierarchy at the pathname location. To set in position. + /// + public const string Mount = "Mount"; + + /// + /// Out - direct to a port. Output something to a port. + /// + public const string Out = "Out"; + /// /// Make known and accessible to another /// @@ -310,21 +325,6 @@ namespace System.Management.Automation /// Update a resource with new elements or refresh from a source of truth /// public const string Update = "Update"; - - /// - /// To mount - to attache a named entity to a hierarchy at the pathname location. To set in position. - /// - public const string Mount = "Mount"; - - /// - /// To dismount - to get off. To detach. - /// - public const string Dismount = "Dismount"; - - /// - /// Out - direct to a port. Output something to a port. - /// - public const string Out = "Out"; }//VerbsData /// @@ -347,6 +347,11 @@ namespace System.Management.Automation /// public const string Assert = "Assert"; + /// + /// Creates an artifact (usually a binary or document) out of some set of input files (usually source code or declarative documents) + /// + public const string Build = "Build"; + /// /// Finalize an interruptable activity. Makes pending changes permanent. /// @@ -362,6 +367,11 @@ namespace System.Management.Automation /// public const string Deny = "Deny"; + /// + /// 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. + /// + public const string Deploy = "Deploy"; + /// /// Stop and/or configure something to be unavailable (e.g unable to not start again) /// @@ -498,16 +508,6 @@ namespace System.Management.Automation /// public static class VerbsCommunications { - /// - /// Convey by an intermediary to a destination - /// - public const string Send = "Send"; - - /// - /// Take or acquire from a source - /// - public const string Receive = "Receive"; - /// /// Associate subsequent activities with a resource /// @@ -518,15 +518,25 @@ namespace System.Management.Automation /// public const string Disconnect = "Disconnect"; - /// - /// TO write - communicate or express. Display data. - /// - public const string Write = "Write"; - /// /// To read - to obtain (data) from a storage medium or port /// public const string Read = "Read"; + + /// + /// Take or acquire from a source + /// + public const string Receive = "Receive"; + + /// + /// Convey by an intermediary to a destination + /// + public const string Send = "Send"; + + /// + /// TO write - communicate or express. Display data. + /// + public const string Write = "Write"; }//VerbsCommunications /// @@ -539,35 +549,35 @@ namespace System.Management.Automation /// public static class VerbsSecurity { + /// + /// Prevent access to or usage of a resource. + /// + public const string Block = "Block"; + /// /// Gives access to a resource. /// public const string Grant = "Grant"; - /// - /// Removes access to a resource. - /// - public const string Revoke = "Revoke"; - /// /// Guard a resource from attack or loss /// public const string Protect = "Protect"; /// - /// Remove guards from a resource that prevent it from attack or loss + /// Removes access to a resource. /// - public const string Unprotect = "Unprotect"; - - /// - /// Prevent access to or usage of a resource. - /// - public const string Block = "Block"; + public const string Revoke = "Revoke"; /// /// Allow access to or usage of a resource. /// public const string Unblock = "Unblock"; + + /// + /// Remove guards from a resource that prevent it from attack or loss + /// + public const string Unprotect = "Unprotect"; }//VerbsSecurity /// @@ -635,7 +645,6 @@ namespace System.Management.Automation s_recommendedAlternateVerbs.Add("boot", new string[] { "Start" }); s_recommendedAlternateVerbs.Add("break", new string[] { "Disconnect" }); s_recommendedAlternateVerbs.Add("broadcast", new string[] { "Send" }); - s_recommendedAlternateVerbs.Add("build", new string[] { "New" }); s_recommendedAlternateVerbs.Add("burn", new string[] { "Backup" }); s_recommendedAlternateVerbs.Add("calculate", new string[] { "Measure" }); s_recommendedAlternateVerbs.Add("cancel", new string[] { "Stop" }); @@ -645,13 +654,13 @@ namespace System.Management.Automation s_recommendedAlternateVerbs.Add("clone", new string[] { "Copy" }); s_recommendedAlternateVerbs.Add("combine", new string[] { "Join", "Merge" }); s_recommendedAlternateVerbs.Add("compact", new string[] { "Compress" }); + s_recommendedAlternateVerbs.Add("compile", new string[] { "Build" }); s_recommendedAlternateVerbs.Add("concatenate", new string[] { "Add" }); s_recommendedAlternateVerbs.Add("configure", new string[] { "Set" }); s_recommendedAlternateVerbs.Add("create", new string[] { "New" }); s_recommendedAlternateVerbs.Add("cut", new string[] { "Remove" }); //recommendedAlternateVerbs.Add("debug", new string[] {"Ping"}); s_recommendedAlternateVerbs.Add("delete", new string[] { "Remove" }); - s_recommendedAlternateVerbs.Add("deploy", new string[] { "Install", "Publish" }); s_recommendedAlternateVerbs.Add("detach", new string[] { "Dismount", "Remove" }); s_recommendedAlternateVerbs.Add("determine", new string[] { "Measure", "Resolve" }); s_recommendedAlternateVerbs.Add("diagnose", new string[] { "Debug", "Test" });