Tag: cmdlet
Active Directory – Changing UPNs for all Domain Users
There are situations, specially if dealing with hybrid domain configurations, typically using Azure and on-premise Active Directory, where it will be needed to do a mass UPN suffix change for all domain users. A typical change in these cases it to change a domain name suffix which end with .local to a public domain name which ends with .com (usually): this change is necessary mainly for two reasons. Read More …
Powershell – How to use Transcripts to keep history of commands and output
The primary tool for logging Powershell activity has been the Start-Transcript cmdlet. Simply enter this cmdlet followed by a path and filename for the log file that you want to create. PowerShell will populate the log file with every subsequent command that is entered. Read More …
Active Directory – Recycle Bin Feature
If an object has been deleted in your Active Directory, and you want it recovered, there are a number of things you can do. Simply put, ADRB allows you to recover objects immediately, without the need to use your System State backups, latent sites, or 3rd party add-ons. Read More …
Powershell – Find computer name and domain
Sometimes it’s useful to know the computer name and domain you are working on. The first of the following commands returns the FQDN of the computer on the format whereas the second one returns a list of information about the system. Read More …