Skip to content

Instantly share code, notes, and snippets.

@psycalc
Last active June 5, 2018 11:52
Show Gist options
  • Save psycalc/5f74482a534f0c70d3bb544e887961a7 to your computer and use it in GitHub Desktop.
Save psycalc/5f74482a534f0c70d3bb544e887961a7 to your computer and use it in GitHub Desktop.
powershell WebAdministration (Windows Browser-Sync alternative)
new-website -PhysicalPath "D:\work\testIISPS\" -Name "MySiteName"
# list of all available (added earlier) websites Get-Website
start-website MySiteName
#stop-website
@margani
Copy link

margani commented Jun 5, 2018

Are you sure the newly created website is not started already?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment