Overview

This namespace hosts tasks that interact with IIS7

Helpful Links

IIS

Classes

  ClassDescription
Public classHttpWebRequest
Valid TaskActions are:

GetResponse (Required: Url Optional: ContentType, Timeout, SkipSslCertificateValidation, Retries, RetryInterval, UseIntegratedAuthentication Output: Response, Status)

Post (Required: Url Optional: ContentType, Timeout, RequestContent, SkipSslCertificateValidation, Retries, RetryInterval, UseIntegratedAuthentication Output: Response, Status)

Remote Execution Support: NA

Public classIis6AppPool
Valid TaskActions are:

Create (Required: Name Optional: Properties)

CheckExists (Required: Name Output: Exists)

Delete (Required: Name)

GetMetabasePropertyValue (Required: Name, MetabasePropertyNameOutput: MetabasePropertyValue)

Modify (Required: Name, Properties)

Recycle (Required: Name)

Start (Required: Name)

Stop (Required: Name)

Remote Execution Support: Yes. Please note that the machine you execute from must have IIS installed.

Public classIis6ServiceExtensionFile
Valid TaskActions are:

Add (Required: Path Optional: Deletable, Force Description, GroupId, Permission)

CheckExists (Required: Path Output: Exists)

Delete (Required: Path

Remote Execution Support: Yes. Please note that the machine you execute from must have IIS installed.

Public classIis6VirtualDirectory
Valid TaskActions are:

CheckExists (Required: Website Optional: Name

Create (Required: Website Optional: Name, Parent, RequireApplication, DirectoryType, AppPool, Properties)

Delete (Required: Website Optional: Name, Parent

Remote Execution Support: Yes. Please note that the machine you execute from must have IIS installed.

Public classIis6Website
Valid TaskActions are:

Create (Required: Name Optional: Force, Properties, Identifier OutPut: Identifier)

CheckExists (Required: Name Output: Exists)

Continue (Required: Name)

Delete (Required: Name)

GetMetabasePropertyValue (Required: Name, MetabasePropertyNameOutput: MetabasePropertyValue)

Start (Required: Name)

Stop (Required: Name)

Pause (Required: Name)

Remote Execution Support: Yes. Please note that the machine you execute from must have IIS installed.

Public classIis7Application
Valid TaskActions are:

CheckExists (Required: Website, Applications Output: Exists)

Delete (Required: Website, Applications)

Remote Execution Support: Yes

Public classIis7AppPool
Valid TaskActions are:

CheckExists (Required: Name Output: Exists)

Create (Required: Name Optional: Force, IdentityType, UseDefaultIdentity, PoolIdentity, IdentityPassword, ManagedRuntimeVersion, AutoStart, Enable32BitAppOnWin64, PipelineMode, QueueLength, IdleTimeout, PeriodicRestartPrivateMemory, PeriodicRestartTime, MaxProcesses, RecycleRequests, RecycleInterval, RecycleTimes)

Delete (Required: Name)

GetInfo (Required: Name)

Modify (Required: Name Optional: Force, ManagedRuntimeVersion, AutoStart, Enable32BitAppOnWin64, QueueLength, IdleTimeout, PeriodicRestartPrivateMemory, PeriodicRestartTime, MaxProcesses, RecycleRequests, RecycleInterval, RecycleTimes)

Recycle (Required: Name)

SetIdentity (Optional: UseDefaultIdentity, IdentityType, PoolIdentity, IdentityPassword)

SetPipelineMode (Optional: PipelineMode)

Start (Required: Name)

Stop (Required: Name)

Remote Execution Support: Yes

Public classIis7Binding
Valid TaskActions are:

Add (Required: Name, BindingInformation or (CertificateHash and CertificateStoreName) Optional: BindingProtocol)

CheckExists (Required: Name, BindingInformation Optional: BindingProtocol Output: Exists, BindingProtocol

Modify (Required: Name, BindingInformation, PreviousBindingProtocol, PreviousBindingInformation)

Remove (Required: Name Optional: BindingProtocol)

Remote Execution Support: Yes

Public classIis7Website
Valid TaskActions are:

AddApplication (Required: Name, Applications Optional: Force)

AddMimeType (Required: Name, MimeTypes)

AddResponseHeaders (Required: Name, HttpResponseHeaders)

AddVirtualDirectory (Required: Name, VirtualDirectories Optional: Force)

CheckExists (Required: Name Output: Exists)

CheckVirtualDirectoryExists (Required: Name, VirtualDirectories Output: Exists)

Create (Required: Name, Path, Port Optional: Identifier, Force, Applications, VirtualDirectories, AppPool, EnabledProtocols, LogExtFileFlags, LogDirectory, LogFormat, AnonymousAuthentication, BasicAuthentication, DigestAuthentication, WindowsAuthentication, ServerAutoStart)

Delete (Required: Name)

DeleteVirtualDirectory (Required: Name, VirtualDirectories)

GetInfo (Required: Name Output: SiteInfo, SiteId)

ModifyPath (Required: Name, Path Output: SiteId)

ModifyLogDirectory (Required: Name, LogDirectory)

Start (Required: Name)

Stop (Required: Name)

Remote Execution Support: Yes

Public classWebClient
Valid TaskActions are:

DownloadFile (Required: Url, FileName Optional:Proxy, BypassOnLocalOutput: Response)

OpenRead (Required: Url Optional: DisplayToConsole, Proxy, BypassOnLocalOutput: Data)

Remote Execution Support: NA