Citrix Workflow Studio unlocks the potential in Microsoft PowerShell and the Windows Workflow Foundation by providing an easy to use, graphical interface for workflow composition that virtually eliminates scripting. Citrix WFS can now leverage the use of PowerShell to manage IIS7 7.0 through the use of the IIS 7.0 PowerShell Provider.
If you want to use the IIS 7.0 PowerShell Provider in an existing PowerShell command window you have to register the IIS snap-in manually. You can do this by simply executing the IISConsole.PSC1 file located in the “$env:programfiles\IIS\PowerShellProvider” directory:
PS C:\> & “$env:programfiles\IIS\PowerShellProvider\iisConsole.psc1”
The IIS 7.0 PowerShell Provider is a PowerShell Snap-In that allows you to manage IIS7 configuration and run-time data. It gives easy access to Web-Sites, Application Pools, Web Applications, Virtual Directories, request in flight, Worker Processes and .NET Application Domains within Worker Processes.
• Create Web-Sites, Web Applications, Virtual Directories and Application Pools
• Change Simple Configuration Properties on Web-Sites, Application Pools, Web Applications and Virtual Directories
• Add and Change Complex Configuration Settings
• Query Run-time Data (Web-Site State, Application Pool State, Currently Executing Requests)
• Execute Advanced Configuration Tasks, Scripting, Integration with other PowerShell Snap-Ins and features
• Search and Discover Configuration Settings
You can use the IIS 7.0 PowerShell Provider in Citrix Workflow Studio through the use of the built in task support for Windows PowerShell. The “Add-PSSnapin”, “PowerShell Command”, and “PowerShell Script” tasks are provided as out of the box tasks for the use of interacting with Windows Powershell in Citrix Workflow Studio.