=== IIS Sites === Get-ChildItem : Cannot retrieve the dynamic parameters for the cmdlet. Filename: redirection.config Error: Cannot read configuration file due to insufficient permissions At D:\Media\v40\d7e4f957.ps1:4 char:1 + Get-ChildItem IIS:\Sites | ForEach-Object { + ~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Get-ChildItem], ParameterBindingException + FullyQualifiedErrorId : GetDynamicParametersException,Microsoft.PowerShell.Commands.GetChildItemCommand === IIS AppPools === Get-ChildItem : Cannot retrieve the dynamic parameters for the cmdlet. Filename: redirection.config Error: Cannot read configuration file due to insufficient permissions At D:\Media\v40\d7e4f957.ps1:11 char:1 + Get-ChildItem IIS:\AppPools | ForEach-Object { $_.Name } + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Get-ChildItem], ParameterBindingException + FullyQualifiedErrorId : GetDynamicParametersException,Microsoft.PowerShell.Commands.GetChildItemCommand === PowerShell profile / env ===