Hi, I installed a xwebAdministration module from powershell gallery and used the xWebsite example with minor changes. When I tried to run the script it resulted to this:
The command Test-TargetResource of the PS module MSFT_xWebsite does not implement the write property
Here's my script below:
# Create a protocol
# Create a port
# Create an IP Address
# Create an Application Pool
# Import the module that defines custom resources
# Install the ASP .NET 4.5 role
# Create the new Website
Start-DscConfiguration -Force -Wait -Verbose -Path .\webSetup
That's odd. I've downloaded the module (v220.127.116.11) from the gallery, and the functions all look correct. Are you sure you haven't somehow got a copy of the psm1 file from an older version, but the newer schema.mof file?
hi Dave, yep. I used "Install-Module -Name xWebAdministration" to get it installed in my ISE. What I actually want to do is to allow the user enter the website name, port, ip address, application pool, and etc. But yea, it appears it doesn't allow me to do that. When I use the old version, it allows me the user input. The problem is it doesn't have authentication which the new version has.
You must be logged in to reply to this topic.