PowerShell

PowerShell: Remove Windows Server role from a list of servers

2024-03-13T23:35:50+01:00

This script removes the Windows Server Backup role from the servers listed in a text file. One server name on each row. The script can easily be edited to remove other roles as well. This script reads the list of servers to remove the Windows Server Backup role from from a text file [...]

PowerShell: Remove Windows Server role from a list of servers2024-03-13T23:35:50+01:00

PowerShell: Check firewall status on all servers in a domain

2024-03-13T23:35:50+01:00

To check the status of the firewall on all servers in the domain using PowerShell, following script can be used. This script will remotely query each server in the domain to check the status of the Windows Firewall service.Make sure to run the script with appropriate administrative privileges. Replace -SearchBase with the name of your [...]

PowerShell: Check firewall status on all servers in a domain2024-03-13T23:35:50+01:00