Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Any Powershell learning recommendations?

Options
  • 13-07-2017 5:11am
    #1
    Registered Users Posts: 37,295 ✭✭✭✭


    As per the title, looking to start using Powershell, as I'm seeing it's a lot more useful in a network environment than command line, especially when you consider how you can use it for getting data from the likes of AD and SCCM.


Comments

  • Moderators, Arts Moderators, Regional Abroad Moderators Posts: 11,023 Mod ✭✭✭✭Fysh


    the_syco wrote: »
    As per the title, looking to start using Powershell, as I'm seeing it's a lot more useful in a network environment than command line, especially when you consider how you can use it for getting data from the likes of AD and SCCM.

    There are a lot of videos on the Microsoft Virtual Academy site that can help get you started, as well as blogs like Microsoft's Scripting Guys that generally deal with single questions. But on the whole, the best thing to do is just make yourself start using it. Pick a task (say, getting a user's details from AD) and find out how you do it in PS. Then build from there.

    A few things to note:
    • It helps if you're familiar with object-oriented programming.
    • Be aware of versioning - Each major Windows release has its own version of PS. A lot of functions and commands in PS are actually references to functions in underlying dlls or OS components. So while you can install PowerShell 5 on Windows 7, that does not mean that you can assume every command available in PS5 on Windows 10 will be available in PS5 on Windows 7.
    • The previous point goes double when writing scripts for managing remote systems.
    • If you're looking to manage pre-2012 editions of Windows Server with PS, you'll need to manually create the required firewall rules for them.


Advertisement