Powershell Script:: Check Possible Security update or Server reboot Failure:: SCCM

Powershell script to check last reboot status, Remote desktop connection and/or ping response status The script will retrieve the list of servers that not rebooted in last 15 days (assuming the last windows update happened a month or 2 back), check the ping status, to verify the server still online, and check RDP connection (to … Continue reading Powershell Script:: Check Possible Security update or Server reboot Failure:: SCCM

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

Powershell Script to Send Password expiry notification to users

Folks I am looking for a good script to send a password change notification users whose password is expiring in less than 15 days time. Hope somebody can use below script. #************************************************************************** # # PowerShell script to gather Password expiry date for all users and --- # send e-mail notification to user with Password expiry … Continue reading Powershell Script to Send Password expiry notification to users