PowerShell Automation

jansi rani krishnan 601 Reputation points
2021-08-25T19:21:35.987+00:00

Hi All,

I would like to learn PowerShell Automation related tasks for a project requirement. Please share me any useful links or any document if available through internet. Please suggests if any lab available to learn and practice in online.

Your inputs are highly appreciated.

Regards,
Jansi

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,463 questions
0 comments No comments
{count} votes

Accepted answer
  1. Benjamin Pinter 76 Reputation points
    2021-08-25T19:44:11.07+00:00

    Jansirani,

    There are a lot of great resources to help you learn about the capabilities of Powershell, I recommend starting right here on MSDN.

    There's the standard powershell documentation;
    https://learn.microsoft.com/en-us/powershell/

    There's access to the fantastic WMI library already built in, which you can read about here;
    https://learn.microsoft.com/en-us/powershell/scripting/learn/ps101/07-working-with-wmi?view=powershell-7.1

    To bolster the power of powershell, you can write your own cmdlets in .NET languages. Basically allowing you to execute custom, business-specific code through simple powershell commands;
    https://learn.microsoft.com/en-us/powershell/scripting/developer/cmdlet/how-to-write-a-simple-cmdlet?view=powershell-7.1

    And on the learn platform, there are many free classes that can help you learn about automating business tasks with powershell. For example, this class here;
    https://learn.microsoft.com/en-us/learn/paths/powershell/


3 additional answers

Sort by: Most helpful
  1. Limitless Technology 39,516 Reputation points
    2021-08-26T11:12:53.937+00:00

    Hello Jansi ,

    I can see your interest in learning PowerShell , I would always advice to start the learning from the foundation
    https://learn.microsoft.com/en-us/learn/modules/introduction-to-powershell/

    Once it it done you can get all the resources from here
    https://learn.microsoft.com/en-us/powershell/scripting/learn/more-powershell-learning?view=powershell-7.1

    If an Answer is helpful, please click "Accept Answer" and upvote it : )

    Happy helping

    Mukesh S

    1 person found this answer helpful.
    0 comments No comments

  2. Rich Matheisen 45,906 Reputation points
    2021-08-25T21:11:21.157+00:00

    When you say "PowerShell Automation" are you asking about learning to write scripts, or about some particular aspect of PowerShell or an associated technology? Microsoft products usually have their own sets of cmdlets (MS Exchange, SQL, IIS, Teams, Azure, etc.). 3rd-party products may also have their own cmdlets.

    If it's about learning to create scripts to automate repetitive tasks, extract information, etc., a good starting point would be this free PDF file: Windows-PowerShell-4. Yes, it only covers up to version 4 of PowerShell, but the differences at your stage of learning are not that great. Work through the first half of the book. Do the exercises. Then you can move on to the second half of the book which cover discrete topics rather than concepts.

    This is another good place to start: GetStartedPowerShell3. Again, it's dated material, but watch the videos. Also more-powershell-learning. And 1768889

    0 comments No comments

  3. Chendrayan Venkatesan 11 Reputation points
    2022-03-10T02:05:45.547+00:00

    PowerShell 101 is the best book for beginners.
    https://leanpub.com/powershell101

    0 comments No comments