Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

A parameter cannot be found that matches parameter name 'bindings'. while creating a website using powershell script

$
0
0

I get the error "A parameter cannot be found that matches parameter name 'bindings' "while trying to create a website using the below power shell script. The strange part is, the same script was working couple of days ago.

New-Item IIS:\Sites\DemoSite -bindings @{protocol='http';bindingInformation=':801:DemoSite'} -PhysicalPath C:\inetpub\DemoSite


Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>