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 | Sep 1, 2022 | Exchange 2019 PowerShell, Exchange Online PowerShell, Office 365 PowerShell, PowerShell
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...
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 | 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...
by Edward van Biljon | Jan 4, 2021 | PowerShell, Window Server 2012 R2 PowerShell, Windows Server 2012 PowerShell, Windows Server 2016 PowerShell, Windows Server 2019 PowerShell
In PowerShell you have a few options to increase the values of certain settings, in this example we will be looking at MaxMemoryPerShellMB setting that needs to be increased. The default value of 150mb might be fine in a small environment but in a larger environment...
by Edward van Biljon | Jan 3, 2021 | PowerShell, PowerShell V7, Windows 10 PowerShell
If you are running PowerShell V7 like I am, when you launch it you will see a white box similar to the one below: In this article, we will be upgrading using the command line and below is the command: iex “& { $(irm https://aka.ms/install-powershell.ps1) }...