Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Any Powershell learning recommendations?

  • 13-07-2017 05:11AM
    #1
    Registered Users, Registered Users 2 Posts: 37,308 ✭✭✭✭


    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, Paid Member Posts: 11,202 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