Authenticate to Azure Active Directory using PowerShell
I recently had the need to authenticate as an Azure AD (AAD) application to the oAuth endpoint to return an oAuth token. As this procedure was »
I recently had the need to authenticate as an Azure AD (AAD) application to the oAuth endpoint to return an oAuth token. As this procedure was »
The following script will summarise the ExtentionAttributes in use within an Active Directory Domain. This script uses the ActiveDirectory CMDlets included in the Active Directory Module »
The following function is used to export a user's thumbnail photo from Active Directory (AD) to a JPG file on disk. This function uses the ActiveDirectory »
In order to remotely enable PS remoting we can leverage PSEXEC (http://live.sysinternals.com.au/psexec.exe). psexec \\[computer name] -u [admin account name] -p »
The following is a script leveraging PowerShell and WMI to check DNS entries that are eligible for DNS scavenging: $TotalAgingInterval = 10 #No-Refresh period + Refresh period (in »
I recently had the need to check all VMs in a client's environment for Changed Block Tracking (CBT). To perform this check I used the following »
This procedure requires the ActiveDirectory PowerShell module to be installed and loaded. These commands can be run from either the current or future role holder, or »
The following command requires the ActiveDirectory PowerShell module to be installed (and loaded if using PowerShell 2 or earlier). Get-ADObject -Identity "cn=Schema,cn=Configuration,dc= »