Exploring Windows PowerShell 5.0
In this section, we will cover the following topics:
- Basics of Desired State Configuration
- Parsing structured objects using PowerShell
- Exploring Package Management
- Exploring PowerShellGet
- Exploring other enhanced features
Windows PowerShell 5.0 has many significant benefits; to know more about them, refer to the following link:
http://go.microsoft.com/fwlink/?LinkID=512808
Here are a few highlights of Windows PowerShell 5.0:
- Improved usability
- Backward compatibility
Class
andenum
keywords are introduced- Parsing structured objects is easy using the
ConvertFrom-String
command - We have a few new modules introduced in Windows PowerShell 5.0, such as
Archive
,Package Management
(formerly known asOneGet
), and so on - ISE supports transcriptions
- Using
PowerShellGet
, we can find, install, and publish modules - Debugging at runspace is possible using the
Microsoft.PowerShell.Utility
module
The basics of Desired State Configuration
Desired State Configuration, also known as DSC, is...