Set-InetpubFolderAcl
1.0
This script sets the security permissions on the directory inetpub. The script is designed to be run as an administrator.
If inetpub directory does not exist, it gets created and default IIS permissions are applied to the directory.
If an empty inetpub directory exists, the default IIS permissions are applied to the directory.
If inetpub directory exists and only cont
If inetpub directory does not exist, it gets created and default IIS permissions are applied to the directory.
If an empty inetpub directory exists, the default IIS permissions are applied to the directory.
If inetpub directory exists and only cont
This script sets the security permissions on the directory inetpub. The script is designed to be run as an administrator.
If inetpub directory does not exist, it gets created and default IIS permissions are applied to the directory.
If an empty inetpub directory exists, the default IIS permissions are applied to the directory.
If inetpub directory exists and only contains the sub-directory DeviceHealthAttestation, default IIS permissions are applied to both directories.
If inetpub directory exists and contains any other sub-directories, the script exits without making any changes.
Show more
If inetpub directory does not exist, it gets created and default IIS permissions are applied to the directory.
If an empty inetpub directory exists, the default IIS permissions are applied to the directory.
If inetpub directory exists and only contains the sub-directory DeviceHealthAttestation, default IIS permissions are applied to both directories.
If inetpub directory exists and contains any other sub-directories, the script exits without making any changes.
Installation Options
Owners
Package Details
Author(s)
- Microsoft
Tags
Functions
script:Test-HasUserData script:Set-FolderAcl script:Set-InetpubAcl
Dependencies
This script has no dependencies.
Release Notes
Version 1.0: Original published version
FileList
- Set-InetpubFolderAcl.nuspec
- Set-InetpubFolderAcl.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
1.0 (current version) | 47 | 5/28/2025 |