Other Articles
Active Directory:- Get members of a group with PowerShell
Graphical User interfaces (GUI) are nice but I also prefer working in PowerShell as you can just get so much more info than the GUI. Recently I was working with groups and it was a bit of a pain to keep having to open the window in Active Directory Users and Computers...
PowerShell:- Keeping my session alive with keyboard strokes
When running installations, some systems are set to lock after a certain period of inactivity even though the installation is running in the background. Recently I was testing CIS Group Policy policies and my labs kept locking and it becomes frustrating to keep having...
PowerShell:- Find a keyword in an Event Log
As an Admin, looking at Event Viewer becomes a normal thing, especially when you have issues or simply looking for intrusion like in my case where events are written to the different logs. To manually go through hundreds of thousands of logs is time consuming so I...
PowerShell:- Finding your Public IP on Server Core
PowerShell has the ability to perform so many functions, from WMI queries to fetching information etc. On Windows Server Core, whether it is Windows Server 2022, 2019 2016, because many of the GUI features are not available, you cannot just open a browser to do...
Exchange 2019 / Active Directory :- Update mobile numbers using PowerShell
I was tasked with updating a number of mobile numbers in Active Directory and the easiest way that this was accomplished was by using a CSV file and PowerShell. The CSV consisted of two columns. One for the UPN and another for the mobile number. With any script, I...
Exchange online:- Find all mailboxes that have ActiveSync enabled.
As many of you have seen that starting 1 October 2022, Microsoft will start disabling Basic Auth on Tenants. This means disruption for many users that make use of EAS and are using the native mail applications on Android and iOS. I put together a script that will help...
Exchange 2019:- Find which ActiveSync Policy is assigned to all mailboxes
For many organizations, ActiveSync plays a big part in terms of communication where end users either have email on company owned devices or personal devices. Policies can be applied to certain users, for example, Executives or Senior Management may have a different...
PowerShell:- Enable Active Directory Recycle Bin gives error
In Active Directory, you have the ability to enable the Recycle bin option, not only from the Active Directory Admin Center but also from PowerShell. Let's say that you have just setup a new domain or you have an existing one and when you use PowerShell to enable the...
PowerShell:- Get properties of a user account/s in Active Directory.
In a previous article we looked at group membership for accounts in Active Directory that you can pull using PowerShell. In this short article we will look at extracting certain information for a user account or for all users in Active Directory. For all users, you...
PowerShell: Get all Active Directory users membership
In PowerShell, you can do many things and this includes reporting on items or updating information but specifically in Active Directory, you can pull information about users and groups etc simply by using PowerShell. Below is a script that allows you to get membership...