Windows PowerShell in Windows Server AppFabric

Many management tasks in AppFabric are performed by Windows PowerShell cmdlets. Windows PowerShell provides a consolidated management interface across all components of AppFabric. This interface includes cmdlets and a cmdlet framework that are specific to AppFabric, in addition to the standard Windows PowerShell infrastructure and cmdlets. When the Windows PowerShell infrastructure executes an AppFabric cmdlet, it prompts the AppFabric runtime to perform the management operations.

AppFabric provides the following basic ways to access the functionality in the AppFabric cmdlets:

  • In the UI. The Windows PowerShell runtime has been embedded within AppFabric tools. As a result, AppFabric provides a user interface layer on top of the Windows PowerShell interface, enabling you to exercise AppFabric cmdlets by selecting properties and running commands in the UI. The UI can be exercised either locally or remotely. For more information about the remote case, see Windows Server AppFabric Remote Management Architecture.

  • Interactively. You can run the AppFabric cmdlets by executing code in the Windows PowerShell command-line console, either locally or remotely.

  • Scripted. You can create and run a script that contains one or more AppFabric cmdlets. For more information about scripting, refer to Windows PowerShell Getting Started Guide and Scripting with Windows PowerShell.

  • Executed within C#. Some AppFabric cmdlets can be executed from within managed code.

The AppFabric management UI enables you to run AppFabric cmdlets without having to write cmdlet code or even know cmdlet syntax or parameters. However, running cmdlet code in the Windows PowerShell console gives you more power and flexibility in executing the cmdlets. Running scripts gives you the additional capability of doing so in an automated fashion. Most actions that you can perform in UI or interactively in an AppFabric cmdlet can be fully scripted.

In This Section