共用方式為


Wednesday Featured Forums: PowerShell

Greetings Everyone

Welcome to another Wednesday featured forum, today we will be looking at the PowerShell Forums.

Before we dive into this, let's just focus on PowerShell. In Windows, Azure, Active Directory, Exchange , VMM, etc. and many other technologies, PowerShell is where you get the simple but also the most complex things done.

This scripting engine is so awesome, you will be amazed of what you can get from PowerShell with even a simple command. Taking this a step further, you are not tied down to a single server, you can for example, Import the Active Directory Module on Server and run commands, same with Microsoft Exchange.

If you not comfortable using Windows PowerShell by standard on the Server Operating Systems, you are able to other engines that will make programming or scripting in the language easier for you, here are a few:

  • Windows PowerShell ISE
  • Quest
  • PowerShell Studio by Sapien

The last 2 examples have modules in that make your life very simple. To take this a step further, you can also create GUI (Graphical User Interfaces) applications.

I only use PowerShell in any work I do as you have everything at your fingertips.

You can also go as far as writing scripts to change colours on lines, exporting to CSV or HTML formats. You can also hide headings, format as a table so the information is readable, present the information to a RichText Box or TextBox etc. Just some of the many things you can do in PowerShell.

Lets come back to the PowerShell Forums. You can find the link here for the Windows PowerShell Forum but if you go to the other technologies there are questions as well about PowerShell.

I will use an example here where a person wanted to check if SMB is enabled on his/her AD servers, the community help is awesome, giving big advice on what to try and what modules to import etc.

While there are so many examples, I would like you to take a look at the Scripting Guys Blog page, they have the simplest of commands and the complex ones. Head over here and take a look:

That is all for now folks, happy scripting!!

All the best

Edward

Comments

  • Anonymous
    June 14, 2017
    Great post Edward :-)