Desired State Configuration
There is some new and powerful functionality in PowerShell 5.0, provided by something called Desired State Configuration (DSC). DSC is a management platform plugged into PowerShell, which provides some new functions and cmdlets that you can take advantage of in your scripts to enable some really cool features. As the name implies, it allows you to build configurations inside PowerShell that will provided a desired state. What do I mean by that? Well, in a basic sense what DSC does is make sure that the PowerShell scripts you build will always work the same way, across all of the servers where you apply them.
It is quite easy to build a script in such a way that it will work correctly on the server you are currently working from, but if you try to roll that same script out to a different server that might reside in a different OU, or have different items installed on it to begin with, that the script could produce different results than what it was originally...