Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Configuration IIS
- {
- Import-DscResource -ModuleName 'PSDesiredStateConfiguration'
- Import-DSCResource -moduleName 'xWebAdministration'
- node localhost
- {
- xWebApplication PI
- {
- Name = "PI"
- Website = "Default Web Site"
- WebAppPool = 'DefaultAppPool'
- PhysicalPath = 'c:\inetpub\wwwroot\content\'
- Ensure = 'Present'
- }
- }
- }
- IIS -Outputpath .\BasicIIS
- Start-DscConfiguration -Wait -Verbose -Path .\BasicIIS -Force
Add Comment
Please, Sign In to add comment