Powershell – Using Invoke-Command to run commandlets that you do not have locally

With Powershell you have the ability to run commands from remote computers, having the remote hosts installed modules at your disposal. This means that you no longer have to install modules locally and have the freedom to do your work from any machine that has Powershell installed. In the below example the requirement is to remote to… Continue reading Powershell – Using Invoke-Command to run commandlets that you do not have locally

Powershell – AD – GetADUser filtered by certain properties

You may need to find a set of AD users filtered by certain identifying features. Eg, “Can you please find me all users that belong to Company A, that either have a Title containing “Manager” or “Supervisor”, and are enabled in AD. Notes The Active Directory Module will be required. You can install that by… Continue reading Powershell – AD – GetADUser filtered by certain properties