Skip to content

xWebVirtualDirectory: Must specify '/' for WebApplication when virtual directory is under the website #366

@Davidsod

Description

@Davidsod

Hello,

When running the resource with 'Absent' flag, I'm getting the following error:
##[error]PowerShell Desired State Configuration does not support execution of commands in an interactive mode. Please ensure that the underlying command is not prompting for user input, such as missing mandatory parameter, confirmation prompt etc. + CategoryInfo : NotSpecified: (:) [], CimException + FullyQualifiedErrorId : System.NotSupportedException,Microsoft.IIs.PowerShell.Provider.RemoveVirtualDirectoryCom mand + PSComputerName : IPAddress

'Ensure' works perfectly but when I run it with 'Absent' it brings up the above error.

Appreciate your assistance,
David

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationThe issue is related to documentation only.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions