title: Hosting WCF service using powershell
body: <p>I have about 3 WCF services to be hosted in IIS and  2 as Windows Service in the same server. </p>
  
  <p>In order to make the deployment automated, I am thinking of using Powershell which will read the configuration from a file (json, or xml) containing all the required information for the service to be hosted (type of host, port etc). And also write to log file about the steps that it executed and status of service.</p>
  
  <p>Is it technically possible to do it in Powershell ? I'm sure from where to start with, and searching over internet did not give me a proper clue/direction.</p>
  
  <p>Please advice with links or samples. Thanks.</p>