One of my favorite part was to create scripts that are somewhat different and I have succeeded at that as well. Today I must say I have lost the count how many scripts I have created under me. This Powershell scripts repository are created apart from AD, DNS and DHCP ad hence have lot of other scripts which are must to have. From GPO to DFS Powershell script and to many other related powershell scripts that has made my and my working team experience to the 9th cloud.
These scripts are created for obviously automation and keeping them with me was supposed to be crime and hence displaying in this category. While we know the group policies tend to paly a major role in any environment for setting up some rules and DFS plays an important role too then why not you learn more about them by checking out the books below.
Useful Powershell commands for You
Get all commands for group policy
Get-command -Module grouppolicy
Get GPO report
Get-GPOReport -All -Domain xyz.com
Restore-GPO -Name "GPOname" -Path \\Server1\Backups
Backup-Gpo -All -Path \\Server1\GpoBackups
Get DFS replication groups
Get-DfsReplicationGroup -GroupName RG02
Get DFS replication member
Get-DfsrMember -GroupName "RG07" -ComputerName "SRV01"
Restart Multiple Computer
Restart-computer -computername A,B,C
Get All the services
Powershell Script Repository