powershell

Home Forums Scripting PowerShell powershell

This topic contains 3 replies, has 4 voices, and was last updated by Avatar wullieb1 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Avatar
    vickynet
    Participant
    #614505

    Hi,

    I am new to powershell script so please help me how to start and where can i get the documents and video.

     

    Thanks,

    Vignesh

    Avatar
    Ossian
    Moderator
    #614520

    PowerShell is a very big area as it reaches across almost every Microsoft product and even (via add-ins like PowerCLI) non-Microsoft ones.

    There are no particular starting points, but a quick reference to :google: for PowerShell Tutorials would probably be a good place.    You may just want to use simple cmdlets and pipe them together, or you may want to go into scripting your own PowerShell programs and functions.      Once you have the basics, you can head off into, for example, managing AD, or HyperV, or SCCM….

    Michael Otey
    Michael Otey
    Participant
    #614537

    As Ossian pointed out there are a lot of good PowerShell resources on the Internet that you can find by googling. Two official Microsoft resources that are a good (and free) place to start are:

    Microsoft Docs: Getting Started with Windows PowerShell
    https://docs.microsoft.com/en-us/powershell/scripting/getting-started/getting-started-with-windows-powershell?view=powershell-6

    And the Microsoft Virtual Academy (MVA)Course: Getting Started with Microsoft PowerShell
    https://mva.microsoft.com/en-us/training-courses/getting-started-with-powershell-3-0-jump-start-8276?l=r54IrOWy_2304984382

    The MVA course may be moving in the near future but the link should be active until 4/30/2019

     

     

    Avatar
    wullieb1
    Moderator
    #614539

    I would highly recommend the Month of Lunches book by Don Jones and Jeffery Hicks, pretty sure Jeffery writes for Petri. I’ve used it and found it invaluable for learning powershell.

    If you don’t want to purchase any books then learn by using. Add the following to your powershell profile and it will pop up with a different command that you can learn about.

    Get-Random -input (Get-Help about*) | Get-Help -ShowWindow

    Get-Command -Module Microsoft*,Cim*,PS*,ISE | Get-Random | Get-Help -ShowWindow

    Here’s the Petri link

    https://www.petri.com/category/powershell

    and the MVA

    https://mva.microsoft.com/learning-path/powershell-beginner-12

    PluralSight have videos if your learning method is based around that.

    But in all seriousness read the Lunches book and start using by automating some tasks that you do repetitively.

    An example i have is using plink to connect to a firewall and pull out the current tunnel statistics to make sure they are up.

    Another is using plink to connect to the firewall and backup to a location on my local system.

    Both use an external tool but are done in powershell.

    For a more powershell centric look at looping through your servers and getting the disks sizes of them.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.