More and more companies are moving to the cloud. Subscribing cloud services means less hardware maintenance, more comfort, and an “always-on” feeling. As an administrator, you have to get familiar with the […]
The goal for this blog post is to demystify the usage of PowerShell brackets for scripters and PowerShell enthusiasts. You can find braces everywhere, in scripts, in the PowerShell help and in […]
PowerShell automatic variables are stored and maintainanced by PowerShell. This applies to Windows PowerShell that is shipped with every Windows operating system as well as PowerShell downloaded via GitHub.
The $LASTEXITCODE variable returns a code that tells you whether the last operation was successful or not. There’s another variable that is similiar and it is called $?. $? tells us if […]
This write up should give you a basic understanding how pipeline objects are processed. The piping technique allows a kind of connection between commands. Piping is a key technologie in PowerShell. In […]
Understanding the differences between a do-while, do-until and while loop could be confusing. Is it the same? Why then two different techniques?
If you look up how a ping can be done endlessly with Test-Connection, you will usually find solution with a while loop or something else complicated. The dilemma is that ping provides […]
Retired employees are usually reported to the IT department, but for whatever reason this is not always the case. As an Office 365 administrator, you might want to know which user haven’t […]
Working with PowerShell is usually a serious and demanding job. PowerShell is powerful, you can destroy your system by running the wrong commands. However, in this blog post we take a look […]
PowerShell Data Types Cheat Sheet: String, Char, DateTime, Bool, Array, Hashtable, PSObject, Void, Math, TimeSpan
This blog posts is all about PowerShell data types. What is a PowerShell data type? Data Types define what you can do with a PowerShell object. For example, a datetime object supports […]
Have you always wanted to make your script more professional? A progress bar adds professionalism to your work. And it gives the user information how long your script will run and what […]
Default Domain Policy password policies determine the complexity and minimum length of Active Directory domain passwords. Because the preconfigured default settings are suboptimal, many administrators decide to change the default policy settings. […]
The function covered in this blog post is part of my Active Directory Domain Services Section tool, which has been published in 2018. After some time, I decided to create an explicit […]
As an administrator, you should have an overview of your Active Directory environment. Of course, this also includes user and computer accounts . In this blog post I will carry out some […]
Recently, I discovered three PowerShell Core variables that could be very helpful when it comes to determining the operating system in PowerShell. PowerShell has become a cross-platfrom tool and can be installed […]