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 | Mar 17, 2021 | Exchange 2019 PowerShell, Exchange 2010 PowerShell, Exchange 2013 PowerShell, Exchange 2016 PowerShell
In Exchange, whether it is Exchange 2010, Exchange 2013, Exchange 2016 or Exchange 2019, you may come across the request to set an Out off Office (OOF or OOO) for users. Generally when you set OOF for a user, they can do this from Outlook directly but there may come...
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 20, 2021 | Exchange 2019 PowerShell, Exchange 2013 PowerShell, Exchange 2016 PowerShell
In Exchange, you may notice that when you try and book a meeting room, you cannot go higher than 180 days. This is by default. To change this, you can run a simple PowerShell command and increase the value, take note you cannot go higher than 1080 days. The command to...
by Edward van Biljon | Jan 7, 2021 | Exchange 2019 PowerShell, Exchange 2013 PowerShell, Exchange 2016 PowerShell
In Exchange 2016 or even Exchange 2019, when you run cmdlets like Get-TransportServer you will receive a nice yellow warning to use the newer cmdlets. So Get-TransportServer has changed to Get-TransportService. If you head over to the event logs, the application log,...
by Edward van Biljon | Jan 6, 2021 | Windows Server 2016 PowerShell, Windows 10 PowerShell, Windows Server 2012 PowerShell, Windows Server 2019 PowerShell
Task schedular is brilliant because you can schedule things to run on certain days and times but what about if you looking for a scheduled task but there are so many folders to sift through to find them? PowerShell is the answer, you can run a single command to find...
by Edward van Biljon | Jan 5, 2021 | Exchange 2019 PowerShell, Exchange 2013 PowerShell, Exchange 2016 PowerShell
If you have backups in Exchange, you know that you can go to the backup and recover items, either by creating a recoverable mailbox database or performing item level restore to a mailbox or PST file. In Exchange 2016, can also be Exchange 2019 or Exchange 2013, you...
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...