PowerShell Tutorial - Introduction


PowerShell Tutorial Enstine.

PowerShell Tutorial for beginners. Windows PowerShell instruction thought-out for those new to PowerShell. In the next few weeks I will be posting a series of PowerShell basics that will provide a good start for a solid foundation.

Here is what I have slated:

  • The Windows PowerShell Console - Configuration and Customization.
  • PowerShell Basics - Cmdlets, Parameters, Command Types, Command Information, etc…
  • Output using the PowerShell Format command.
  • Engaging the Windows File System.
  • WMI and .NET primer (real basic)
  • Variables in PowerShell
  • Taking what you have learned and applying it.

The initial lessons are concentrated around PowerShell as a Command Shell.  The commands and syntaxes you learn will be utilized in script writing. An enormous feature of PowerShell is the ability to build and test code at the command prompt. If you have experience in VBScript you understand. VBScript doesn't have a command line, you write the script, test it, and make adjustments. With PowerShell you can test functionality within the command line before writing it to your script, very powerful!

Enjoy the Tutorials!

Email This Page Email This Page 

5 Comments

  1. foo-bar:

    Good stuff, thank you.

  2. Patrick:

    Well done Mr. Hamrick. I would like to add a comment to your Introduction section. When one runs a script at the PS command line, the syntax calls for .\script.ps1. Hmmm? It still won’t run because one’s ExecutionPolicy is installed with a default of Restricted. Do a Get-ExecutionPolicy, PS shows Restricted. Do Set-ExecutionPolicy RemoteSigned , retry the .\script and Voila! There are some reasons for this that have mostly to do with security & hack prevention. Get-Help -detailed will tell you more as well as Jesse’s many pages and examples.
    I had a heck of a time starting out because I didn’t “get this” subtle syntax. Hope this helps those who are being introduced.

  3. Jesse Hamrick:

    Patrick,
    That is correct, the Execution Policy is Restricted by default. For those of you who are interested in Patrick’s comment, we discuss Execution Policy and how to set it in the “PowerShell Aliases” tutorial under the “User-Defined Aliases using PowerShell Profiles” section.

    foo-bar,
    you are welcome…

  4. arshad:

    How can i view tutorials, i couldn’t find? or is it paid, kindly let me know as i am intrested to start my scripting for the first time and have zerod on powershell as i have only windows GUI experience.

  5. Jesse Hamrick:

    Tutorials are free and accessible from the sidebar.

Leave a comment