Browsed by
Tag: script

QuickTip – PowerShell – Scripts to Remotely Rename an Active Directory Computer Object

QuickTip – PowerShell – Scripts to Remotely Rename an Active Directory Computer Object

If you are deploying new systems or otherwise need to rename an AD computer object, you can use this script to make the change- Rename-Computer -ComputerName CURRENNTName -NewName NEWName –DomainCredential ADDomain\admin Make the changes, inline, to modify the current and new name parameters. As well as, change the “ADDomain\admin” to the AD domain and account that has the necessary permissions to change the name of the computer object. If you would like to make the script more interactive, you can…

Read More Read More

QuickTip – PowerShell – Script to Reset AD User’s Password

QuickTip – PowerShell – Script to Reset AD User’s Password

If you manage systems and services that allow users access with a their Active Directory username and password, you have probably dealt with password reset issues. Sometimes, you are setting up new systems or services with a test account. Here is an easy PowerShell “script” to reset an AD user’s password. $sAMAccountName = Read-Host -Prompt “sAMAccountName” $SecurePW = Read-Host -Prompt “Enter a Password” -AsSecureString Set-ADAccountPassword -Identity $sAMAccountName -Reset -NewPassword $SecurePW The first line prompts you to enter the sAMAccount name…

Read More Read More

Using Ninite Pro in Conjunction with Group Policy to Automate Third-Party Application Patching

Using Ninite Pro in Conjunction with Group Policy to Automate Third-Party Application Patching

In my quest, as the lone Sys Admin for an SMB, to automate third-party application patching and installation, I have found the inexpensive yet invaluable tool, Ninite Pro. This article assumes that you have a Microsoft Active Directory domain, have the permissions necessary to create GPOs and have subscribed to or are trialing Ninite Pro. Also, I am assuming you know basic server administrative tasks, such as sharing a folder, using GPMC, etc. Introduction to Ninite Pro Ninite Pro is…

Read More Read More