This can be considered the least interesting usage of PowerShell and in many ways a source of unwanted interruption, but there are situation where been able to show a toaster or pop-up can be handy.
Compress folders / archives are usually the easiest way to save disk space, to achieve a more efficient usage of network bandwidth and when moving data or files across different nodes.
Every application offers some sort of logging feature and different ways to configure it. It’s a cornerstone the software life-cycle from the moment the app is developed, tested, deployed, even more on a daily production usage and support. One characteristic of the logging process is for how much time do I need to keep my log files, in three words the retention period.
A common method to investigate for Active Directory authentication issues is inspecting logs and event viewer, it’s simple and effective. But it’s a reactive thinking and it isn’t unusual for me to check if all user credentials provided were correct, most of the time for a large number of users and that’s the reason why I wrote this simple (proactive) script to automate the testing process and the efficiency of an on-boarding process. It also works with local users, not just ActiveDirectory users.
Maintain good documentation, especially up-to-date and readable, it’s a very important requirement in every workplace. So why don’t focus some of the automation or scripting on this subject? Starting with a basic PowerShell script that generate a big part of it can be really precious, save time and bring value on a daily basis.