Showing posts with label Lifecycle. Show all posts
Showing posts with label Lifecycle. Show all posts

Saturday, October 20, 2018

What verb-noun pairs are available in PowerShell?

In PowerShell, verb-name pair refers to naming of Cmdlets.

Here is an example:
---------------
Verb-Noun
Get-Command

---------------

Get is the verb and Command is the noun. This cmdlet retrieves all commands registered in PowerShell

PowerShell has an extensive set of Cmdlets to cover various aspects of Management.
These are the principle high-level verbs.

Common Verbs
  
System.Management.Automation.VerbsCommon enumeration class to define generic actions that can apply to almost any cmdlet.

Communication Verbs
System.Management.Automation.VerbsCommunications class to define actions that apply to communications.

Data Verbs
System.Management.Automation.VerbsData class to define actions that apply to data handling.

Diagnostic Verbs
System.Management.Automation.VerbsDiagnostic class to define actions that apply to diagnostics

Lifecycle Verbs
System.Management.Automation.VerbsLifeCycle class to define actions that apply to the lifecycle of a resource

Security Verbs

System.Management.Automation.VerbsSecurity class to define actions that apply to security.

Other Verbs
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.

Read more here:
https://docs.microsoft.com/en-us/powershell/developer/cmdlet/approved-verbs-for-windows-powershell-commands

Thursday, June 5, 2014

How do I see lifecycle events toolbar item in Visual Studio 2013 Express for Windows Update 2?

Normally you would see the Debug menu item which has three options:
  • Debug
  • Release
  • Configuration Manager
Debug Location toolbar may not be available by default.

However, you can enable it from Toolbar menu item as shown.


The Lifecycle events can only be displayed if an app is running. Now no app is running.
 


Now start an application and you will see that the Lifecycle events gets displayed.


The drop-down shows the different events that you can choose.