Powershell
Web | IIS Website and App Pool Setup
2024-09-17
Script Summary: This PowerShell script automates the configuration of a new IIS (Internet Information Services) website and its associated application pool. It leverages the `WebAdministration` module to streamline setup tasks, ensuring consistency and reducing manual effort. Key operations include: Application Pool Configuration- Creates a new App Pool named "MyWebsite Pool"- Sets idle timeout to 1 […]
Powershell | Verify if the script is running as Administrator
2024-09-16
Sometimes it is useful to verify if a running script is running under Administrator privileges, here is how to do it.