Blog by: Dmitry Sotnikov
Find him on LinkedIn or Twitter.Scripting in the Microsoft world has evolved significantly in the last few decades.
For a long time Microsoft administrators were stuck with MS-DOS command line and batch files for any scripting around it. While the batch language included some basic capabilities such as parameters, if clauses and goto instructions, it was too limited for any complex scripting and the set of commands was miniscule. In most of the systems — be it for the local Windows server or network services such as Active Directory or Microsoft Exchange — administrators had to use various command-line tools. Each tool working in a different fashion and not integrating with other tools led to steep learning curves and painful scripting experience. In 2006, Microsoft made a bold move to overcome these issues by introducing Windows PowerShell. PowerShell tried to strike a balance between being compatible with MS-DOS-style command line and providing full modern programming language, pipe integration between commands, and unified approach and extensibility to cover all Microsoft systems. In 2018, Microsoft made another bold move by going cross-platform and releasing PowerShell Core 6.0 cross-platform (Windows, MacOS, Linux) and open source.![PowerShell Core 6.0 cross-platform (Windows, MacOS, Linux) and open source](https://www.cayosoft.com/wp-content/uploads/2020/06/Screen-Shot-2020-06-16-at-4.15.51-PM-300x174.png)
![a unified set of APIs providing a consistent data model and programmability approach across all Microsoft cloud offerings](https://www.cayosoft.com/wp-content/uploads/2020/06/Screen-Shot-2020-06-16-at-4.17.24-PM-300x196.png)
![Graph Explorer](https://www.cayosoft.com/wp-content/uploads/2020/06/Screen-Shot-2020-06-16-at-4.19.20-PM-300x185.png)
![PowerShell cmdlets](https://www.cayosoft.com/wp-content/uploads/2020/06/Screen-Shot-2020-06-16-at-4.12.04-PM-300x40.png)
Read our Active Directory Management Tools guide to learn about managing Active Directory with native and third-party tools.