Learn PowerShell: Episode 11 FINALE, Parametered Scripts + Scoping + Modules

Поділитися
Вставка
  • Опубліковано 10 січ 2025

КОМЕНТАРІ • 48

  • @proxeh9871
    @proxeh9871 Рік тому +2

    I'm on Episode#3 .... ive searched for a million powershell guides so far and they all bore the life out of me.... its either so basic or pointless its unreal but since i found episode #1 mate its been a god send.... explaining | made it so friendly it was pog. I can use Where and ForEach now without issue.... i havent gotten to episode #11 yet apart from this recommendation from YT but i want to thank you in advance for the content... i can see its been 6 months but please dont lose interest in posting... the way you break stuff down is the best ive seen. Thank you.

    • @ABCo-ABMedia
      @ABCo-ABMedia  Рік тому +1

      That's awesome! I'm glad you're enjoying the series so far this much, and I hope you continue to enjoy it! I am working on another video for the channel, but it's not PowerShell related, it's on a very advanced programming topic (since the overall channel theme is the general topic of programming and it covers a whole broad range of stuff) - this is by design the final episode of this particular series, though I could make some more PowerShell content in the future for sure

  • @rmpd10
    @rmpd10 Рік тому +4

    Thanks man... I've seen other powershell tutorials, but never really got why most of the stuff works as it works, but I've finished all your videos and I really got the feeling that I know much more know. Best powershell video tutorial I've seen so far. And I've been looking....

    • @ABCo-ABMedia
      @ABCo-ABMedia  Рік тому +1

      That's great to hear!

    • @rmpd10
      @rmpd10 Рік тому

      @@ABCo-ABMedia Without trying to be annoying, do you know any good source to practice building powershell scripts ? Like exercises or stuff like that, so in a way we can get to practice after ending the series. Thanks.

    • @ABCo-ABMedia
      @ABCo-ABMedia  Рік тому

      @@rmpd10 Unfortunately, off the top of my head, not really - but I'm sure there is stuff out there

  • @CarlosLopez-mx8hq
    @CarlosLopez-mx8hq Рік тому +2

    Hey bro just wanted to thank you for your content, i went from knowing absolutely nothing in PS to being able create my own scripts, this content is golden.

  • @kimroyph
    @kimroyph Рік тому +2

    Thanks Alex!! - I am very Impressed with your visual presentation style - by far the best on UA-cam! - I will watch your PowerShell series again - I found the in-depth detail went 'over my head' first time through - 'Learn to Program in PowerShell' by Niklas Borson, must be mentioned, Absolutely invaluable stepping stone to grasping detail before re-watching certain tutorials. Viewpoint of a 76 year old of dubious intellectual stature.

    • @ABCo-ABMedia
      @ABCo-ABMedia  Рік тому

      The series can definitely get a little tricky in places for sure, hopefully you got a bit out of it at least! Glad you've found books and other content to complement your learning, always a good idea!

  • @ikn0wn0thing.
    @ikn0wn0thing. Рік тому +2

    Dear Alex, Thank you for your time and help. This is by far the best powershell Learning Series i have ever watched. this has all the things that a beginner needs to know about powershell. I have just finished watching, all of your eleven episodes.The way you teach, the knowledge you share make you the best.I appreciate you unique teaching style. all the best....

    • @ABCo-ABMedia
      @ABCo-ABMedia  Рік тому

      Hi! Thanks for the kind words, I'm glad you found the series helpful!

  • @rolfohman5046
    @rolfohman5046 Рік тому +2

    Absolutely great!. The very 101 stuff about Powershell core components that is missing in other tutorials or videos are so well explained here. Makes you now understand stuff that you've done for years without really understanding why and more importantly why it sometimes "mysteriously" doesn't work.

    • @ABCo-ABMedia
      @ABCo-ABMedia  Рік тому

      That's what I hoped for, I'm very glad it helped fill in a lot of gaps!

  • @evaodum7286
    @evaodum7286 Рік тому +2

    Thank you so much. I feel happy to see this last episode drop

    • @ABCo-ABMedia
      @ABCo-ABMedia  Рік тому

      Happy to hear it! Hope the series was helpful

  • @michaelrafferty660
    @michaelrafferty660 Рік тому +2

    Thank you so much. I have much to learn but feel like I have a much better understanding of PowerShell now.

  • @ABCo-ABMedia
    @ABCo-ABMedia  Рік тому +1

    It's funny comparing the quality of the graphics/editing on this video compared to the first, what a step-up it all is, the difference 2 years can make eh.

  • @luismarrero9293
    @luismarrero9293 Рік тому +2

    best explanation ever about powershell . thank you

  • @barrykendrigan7725
    @barrykendrigan7725 8 місяців тому +1

    Thank you! This was an awesome series! I really appreciate your time and effort on this!

    • @ABCo-ABMedia
      @ABCo-ABMedia  8 місяців тому

      Thank you for watching it all the way through!

  • @emmanuelmuokwe2199
    @emmanuelmuokwe2199 3 місяці тому +1

    Thank you for the series. It was really helpful and easy to understand.

  • @kelvinchua2720
    @kelvinchua2720 Рік тому +2

    Thanks finally comleted this series and it's a good reference for us.

  • @sunilsjk
    @sunilsjk Рік тому +3

    It is been a long waiting episode...
    Your course content is great and easy to get along...
    Thank you and appreciate your efforts ❤

  • @dilludillsYT
    @dilludillsYT Місяць тому +1

    Enjoyed this PowerShell series.
    Thanks a ton.
    Great work!
    You are a natural teacher! 🫡

  • @emmanuelpaniagua8983
    @emmanuelpaniagua8983 Рік тому +2

    you did explained it really really good, i totally enjoyed your PS series

  • @TlatoaniItzcoatl
    @TlatoaniItzcoatl 8 місяців тому +1

    This the best PowerShell series, I tried learning it through other series and methods but this has been the most useful one by far. I think you absolutely suceeded in your goal of making the best powershell content on youtube.
    edit: would it be too much to ask for a bloopers video on this series ^_^

    • @ABCo-ABMedia
      @ABCo-ABMedia  8 місяців тому +1

      Thank you so much - glad you enjoyed the series! I do have all the media for a bloopers video, and a _very_ briefly-worked-on-then-left-collecting-dust project file for it, so _someday_ - one day - you should get your long-awaited bloopers video :) Just very, very, very busy with non-channel work unfortunately!

  • @edwardaragon915
    @edwardaragon915 Рік тому +2

    Thank you for making it easy for us to learn.

  • @RPG_ash
    @RPG_ash Рік тому +3

    Fantastic series 👌🏻 thanks for all the videos. The graphical PowerShell idea video sounds good 👍🏻

    • @ABCo-ABMedia
      @ABCo-ABMedia  Рік тому +1

      Thanks! Yeah it's an interesting idea for sure haha

  • @j4cki3-j4cki3
    @j4cki3-j4cki3 3 місяці тому +1

    Thanks for taking the time to create the series, Its one of the best tutorials I've seen on the subject of PowerShell and I now understand how I can incorporate it into my skillset for personal and work projects. I really hope you get some time to create some new videos on other programming topics as you make things easy to understand. Kudos to you..

    • @ABCo-ABMedia
      @ABCo-ABMedia  3 місяці тому

      You're welcome, thanks for sticking through the whole series! I definitely plan on making videos on other topics, my latest vid is precisely that (allbeit at quite a higher level than this)

  • @ozilmatrix6334
    @ozilmatrix6334 11 місяців тому +1

    Thank you! Really good series!

  • @vedanshsushilshrivastav5357
    @vedanshsushilshrivastav5357 7 місяців тому +1

    Maybe I was lucky enough to find it on the first try but this made me a lot comfortable with power shell

  • @andrewshi6176
    @andrewshi6176 Рік тому +3

    Thanks a million !!!

  • @ventin75
    @ventin75 Рік тому

    Hi, can you explain why at the 26:00, you don't need to have the param block for $name?

    • @ABCo-ABMedia
      @ABCo-ABMedia  Рік тому +1

      Hi! Functions can access variables made _outside_ them, and I'm taking advantage of that here, it's what the video is all about, how functions behave when you try to access variable made outside them. So if we look at the code here, yes, as you said I'm not _giving_ it $name through a parameter, but *$name* is set to something _outside_ the function (just after), and there's nothing stopping functions from accessing variables outside them. Functions don't live in their own little world, they can see what's happening _around_ them, and that's exactly what I'm doing here. All the variables you've set are the _same_ no matter whether you're inside a function or just in the script or whatever. There's protection that stops a function from changing a variable to everything outside it, but beyond that, functions aren't separated from everything else.
      If I was using a Param block to get the name in, then the calls would look something like this: Set-Name -Name 'Alex'. But because I'm not using parameters and I'm literally just accessing the variable made outside _directly_, that's not a thing here and there's no Param block. If it helps, in practice you would rarely have a function access variables outside it like this, you'd almost always use parameters because it's just so much more flexible.
      Think of it like this: Imagine you're in a house, and you want to get something _into_ the house. You have two options to do this. The first is the parameters way - you bring the thing in through the _designated_ door designed for it, the door designed to let you get stuff into your house. That's the parameter way, that's what the door is there for, getting things into your home. But, there are other ways of getting stuff into there too. You could also throw something through a window! Your home isn't _separated_ from the outside world, the outside world can still influence it if it tries hard enough (or if your home isn't designed well enough and lets that happen easily). See how there's *two* ways of getting stuff into your home. Same thing with functions. Parameters are the ideal way to get data in, but functions still live in the same world as all the rest of the code, so if the _rest_ of the code goes changing variables around, the function can _see_ those changes too. So here we're specifically accessing a variable that's made outside the function, to see how it behaves - there's no reason I couldn't _also_ add a parameter in addition to this or get the name in through the parameter (the ideal way), but then that's not the point of this example, because functions have some protection to stop them messing up the outside world that I wanted to show

  • @mohamedosman3120
    @mohamedosman3120 6 місяців тому +2

    Thank You

  • @dronacharya6527
    @dronacharya6527 Рік тому +2

    Thanks 🙏

  • @curiousredpand90
    @curiousredpand90 4 місяці тому +1

    thanks for the videos!!! they are very well explained and easy to understand.