Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##[section]Starting: Configure IIS AppPool & Website
- ==============================================================================
- Task : IIS Web App Manage
- Description : Create or update a Website, Web App, Virtual Directories, and Application Pool
- Version : 0.5.4
- Author : Microsoft Corporation
- Help : [More Information](https://go.microsoft.com/fwlink/?linkid=839731)
- ==============================================================================
- ##[command]"C:Windowssystem32inetsrvappcmd.exe" list apppool /name:"Example - AppPool Name"
- ##[command]"C:Windowssystem32inetsrvappcmd.exe" set apppool /apppool.name:"Example - AppPool Name" -managedRuntimeVersion:v4.0 -managedPipelineMode:Integrated -processModel.identityType:ApplicationPoolIdentity
- APPPOOL object "Example - AppPool Name" changed
- ##[command]"C:Windowssystem32inetsrvappcmd.exe" list site /name:"Example - Website Name"
- ##[command]"C:Windowssystem32inetsrvappcmd.exe" add site /name:"Example - Website Name" /physicalPath:"D:TestExample - Website Name"
- SITE object "Example - Website Name" added
- APP object "Example - Website Name/" added
- VDIR object "Example - Website Name/" added
- ##[command]"C:Windowssystem32inetsrvappcmd.exe" set site /site.name:"Example - Website Name" -applicationDefaults.applicationPool:"Example - AppPool Name" -[path='/'].[path='/'].physicalPath:"D:TestExample - Website Name" -[path='/'].[path='/'].userName: -[path='/'].[path='/'].password:
- SITE object "Example - Website Name" changed
- ERROR ( hresult:80070008, message:Failed to commit configuration changes.
- Not enough storage is available to process this command.
- )
- ##[error]Process 'appcmd.exe' exited with code '8'.
- ##[section]Finishing: Configure IIS AppPool & Website
Add Comment
Please, Sign In to add comment