POWERSHELL SCRIPT:: DHCP BACKUP SCRIPT WITH NOTIFICATION

This script can be scheduled from a remote machine to execute across DHCP servers Below command to find list of Authorized DHCP servers, (Get-ADObject -SearchBase "cn=configuration,dc=domain,dc=net" -Filter "objectclass -eq 'dhcpclass' -AND Name -ne 'dhcproot'").name, this can be incorported instead of  [array]$lists = @(“DHCP01″,”DHCP02″,”DHCP03”). Like [array]$lists = (Get-ADObject -SearchBase "cn=configuration,dc=domain,dc=net" -Filter "objectclass -eq 'dhcpclass' -AND Name -ne 'dhcproot'").name Below … Continue reading POWERSHELL SCRIPT:: DHCP BACKUP SCRIPT WITH NOTIFICATION

Advertisements