Powershell Getting Started for Network & Security Engineer

Ajaz Akhtar Nawaz 1 Reputation point
2022-06-30T12:50:42.087+00:00

I come from a Network Security background working with routers and firewalls.

I find myself now in Azure world where things are a little different. I miss the CLI, it can be powerfull.

So I see the closest thing in Azure is Powershell CLI, but where do I start...?

I don't mind at all learning commands etc. I wish to view the 'network rules' for instance of a certain Azure firewall, how can I go about locating this information using Powershell. I do have adm rights and access to PS CLI.

Any help would be appreciated.

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,462 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Newbie Jones 1,331 Reputation points
    2022-06-30T13:22:33.7+00:00

    Need to learn PowerShell?
    The following download is free.

    https://www.sapien.com/books_training/Windows-PowerShell-4

    Start with the first half of the book and do the exercises to cover the basics.
    Then work through the 2nd half of the book which covers common tasks.

    Once you have the basics learnt, its usually just a case of learning the cmdlets specific to the area you are involved in. AD, Exchange, etc. They all have their own commands.
    In Azure, the move is towards the Graph API. You can access the API using tools like Postman\SoapUI, etc, but there are a bunch of cmdlets that you can install that wrap around the API, so its very close to the previous cmdlets.

    The advantage is that you don't need to install lots of different modules which you traditionally have to do. (Please note: some commands are not available via graph yet).
    Learn the basics first though.

    0 comments No comments

  2. Limitless Technology 39,511 Reputation points
    2022-07-03T12:15:46.49+00:00

    Hi there,

    It is good if you have started learning from the basics. The below article is compiled to help get helpdesk, system admins/ engineers, and security personnel started on a set path to not just learn PowerShell but to maintain that knowledge.

    Powershell: How to get started https://social.technet.microsoft.com/wiki/contents/articles/24724.powershell-how-to-get-started.aspx

    Get started with Azure PowerShell

    https://learn.microsoft.com/en-us/powershell/azure/get-started-azureps?view=azps-8.0.0

    Common PowerShell commands for creating and managing Azure Virtual Machines

    https://learn.microsoft.com/en-us/azure/virtual-machines/windows/ps-common-ref

    -----------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments