by Edward van Biljon | Nov 14, 2023 | PowerShell, PowerShell V7, Windows Server 2016 PowerShell, Windows Server 2019 PowerShell
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...
by Edward van Biljon | Nov 6, 2023 | PowerShell, Windows Server 2016 PowerShell, Windows Server 2019 PowerShell, Windows Server 2022 PowerShell
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...
by Edward van Biljon | Apr 9, 2021 | PowerShell, Window Server 2012 R2 PowerShell, Windows Server 2016 PowerShell
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...
by Edward van Biljon | Mar 26, 2021 | Windows Server 2016 PowerShell, Window Server 2012 R2 PowerShell, Windows Server 2012 PowerShell, Windows Server 2019 PowerShell
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...
by Edward van Biljon | Mar 25, 2021 | Windows Server 2016 PowerShell, Window Server 2012 R2 PowerShell, Windows Server 2012 PowerShell, Windows Server 2019 PowerShell
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...
by Edward van Biljon | Jan 21, 2021 | PowerShell, Window Server 2012 R2 PowerShell, Windows Server 2012 PowerShell, Windows Server 2016 PowerShell, Windows Server 2019 PowerShell
I had a request to check connectivity to a SQL server and to email the results, however I thought of doing something different. Have the application check the connectivity but create an Event ID and Event Log entry on Success and Failure and you can monitor that with...