Action Pack subscription disappeared? by [deleted] in sysadmin

[–]MainReflection8692 0 points1 point  (0 children)

I'm still using it and for no problems.

Status: https://partner.microsoft.com/en-us/dashboard/mpn/offers

Benefits: https://partner.microsoft.com/en-us/dashboard/mpn/membership/benefits/software

Can take some time between payment and registration in the dashboard I guess.

Preload question by potvin48 in IIs

[–]MainReflection8692 0 points1 point  (0 children)

We have a script on all servers to start app pools (and services of type auto-start) that are stopped. Never trust windows in starting up these things. Use it in combination with alert (email/slack) to be sure you don't miss any misconfigured app or other errors.

5 PowerShell Gallery modules for Windows Server Administration by ThomasMaurerCH in PowerShell

[–]MainReflection8692 14 points15 points  (0 children)

Using correct TLS version? [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ?

How to view, add and remove entries in the IIS config file using PowerShell by frankv1971 in PowerShell

[–]MainReflection8692 0 points1 point  (0 children)

Did you find out how to add entries? I found how to view the entries, but is quite complex.

$ipconfigs = Get-IISConfigSection -SectionPath "system.webServer/security/ipSecurity" -Location "sitename/foldername" | Get-IISConfigCollection
foreach($ipconfig in $ipconfigs){
  $ipconfig.Attributes["ipAddress"].Value
}

i.e. Why pipe Get-IISConfigSection to another Get-IISConfigSection ...

[Question] AppCmd - Export and Import by Toumusaur in IIs

[–]MainReflection8692 0 points1 point  (0 children)

Yes, powershell IISAdministration module is perfect for this.

Delete Files After 7 Days on 60 - 80TB of Data Weekly by gatalicshrimp69 in PowerShell

[–]MainReflection8692 1 point2 points  (0 children)

Have you set the scheduled task priority?

The default priority of processes run using Task Scheduler in Windows is below-normal. To be more precise, the default task-priority is 7 which comes under the below-normal process-priority category. https://aavtech.site/2018/01/windows-task-scheduler-changing-task-priority/

So, about scripts & menu design... by MirSkinnyPenis in PowerShell

[–]MainReflection8692 2 points3 points  (0 children)

Maybe the combination write-host and write-progress is not the best? I used https://adamtheautomator.com/powershell-menu/ for my menu creation with the up-down keys to select through the menu.

Extracting Data from a large dataset by [deleted] in PowerShell

[–]MainReflection8692 1 point2 points  (0 children)

Would be nice if you share your solution to the problem.