PowerShell Scripts

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 พ.ย. 2024

ความคิดเห็น • 72

  • @henton75
    @henton75 4 ปีที่แล้ว +23

    Hey man, you are one hell of a teacher! Your walk-through is extremely clear and thorough! I especially love the way you break down your thinking when planning the structure of the script. Very very good! Keep the videos coming, cause I’m learning a lot.
    I just finished one of my first really useful scripts today and boy, was that satisfying! Can’t get enough of scripting so I look forward to the next lesson.
    THANKS!

  • @abraheemyasin4817
    @abraheemyasin4817 2 ปีที่แล้ว +4

    Amazing video, this series is probably the best on TH-cam. Thank you so much for your hard work

  • @ossahmadrezaazimikohnabi5108
    @ossahmadrezaazimikohnabi5108 ปีที่แล้ว +2

    It's crazy how good this video is.

  • @robwal2048
    @robwal2048 2 ปีที่แล้ว +3

    Thank you for this series. Your presentation is very clear and easy to follow.

  • @miku4j
    @miku4j 3 ปีที่แล้ว +5

    Thank you for including the thought processes

  • @craigdahl155
    @craigdahl155 2 ปีที่แล้ว +2

    Brilliant Course! Best on TH-cam by a country mile

  • @EntertainerOnline
    @EntertainerOnline 4 ปีที่แล้ว +1

    Hands down the best series on Powershell.

    • @abrahamalaniz3468
      @abrahamalaniz3468 3 ปีที่แล้ว

      One of the best, check out don jones. Also other TH-camrs I can't remember their names

  • @rajusudha4751
    @rajusudha4751 4 ปีที่แล้ว +2

    I have never seen like a video like this..it’s a great explanation😊😊😊really really thank you for the video

  • @omarmelendez6868
    @omarmelendez6868 4 ปีที่แล้ว +2

    Great job, This is golden, I hope you are okay, recently discover your channel and your job and you are helping my a lot.
    Sorry English is not my mother language.
    Is very interesting the part you mention about the cronjob and the section with linux, Will be amazing watching you in more videos.

  • @jcmusik7495
    @jcmusik7495 2 ปีที่แล้ว +1

    Excellent video! Talking through your process was very beneficial.

  • @ChewwSkii
    @ChewwSkii ปีที่แล้ว

    Great video! I made the info and errors display in the Powershell command prompt as well with the write-host command and added dates to the logs with $date = Get-Date.

  • @AI-Awakes
    @AI-Awakes 2 ปีที่แล้ว +1

    This is a great Video. I'll follow you and learn from you. PowerShell is now very interesting to me.

  • @TheMostEpicThing
    @TheMostEpicThing 4 ปีที่แล้ว +8

    Amazing lesson, you present this in such a great and simple way, it makes sense and easy to understand, this is coming from a totally brain dead guy, you got me interested in this topic as Im watching all of the videos on your channel now, instantly subscribed and liked for sure, well done sir

  • @johnbruin5031
    @johnbruin5031 2 ปีที่แล้ว +1

    Maybe I missed someone else saying this but at the verify Poshgram section around 19:35 or so, you have the [Error] marked as [Info] in the downloadable documentation. I suppose it really doesn't affect the script but thought I'd mention it.
    TY for the great content.

  • @jeffreybonto4173
    @jeffreybonto4173 3 ปีที่แล้ว

    Very informative, detailed and with good instruction to follow!

  • @vichhaiyserey
    @vichhaiyserey 3 ปีที่แล้ว +2

    interesting lesson, easy to follow along :)

  • @robofski
    @robofski 4 ปีที่แล้ว +5

    Great video, I think you missed one throw! Should there have been one if PoshGram couldn’t be loaded? You logged it but wouldn’t the script have then tried to send the message anyway?

    • @Techthoughts2
      @Techthoughts2  4 ปีที่แล้ว +4

      EXCELLENT catch, and one that speaks to your PowerShell capability! I've corrected it on the course's GitHub: github.com/techthoughts2/Learn-PowerShell-Code-Examples/blob/master/LearnPowerShell/EP10%20-%20PowerShell%20Script.ps1#L121

  • @abangrides
    @abangrides 2 ปีที่แล้ว +1

    Awesome Tutorials....! Thank you very much..... 🤩

  • @brawlmania7544
    @brawlmania7544 3 ปีที่แล้ว +5

    Another thing you could have done was put a time stamp for the errors so you would be know when the error occurred.

  • @pallabba
    @pallabba 4 ปีที่แล้ว +2

    Amazing explanation...Thanks Man..

  • @Diegos79
    @Diegos79 3 ปีที่แล้ว +1

    Wonderful lesson. Thanks for that!

  • @bobpowell9397
    @bobpowell9397 4 ปีที่แล้ว +2

    Great lesson!

  • @alexgraham3529
    @alexgraham3529 ปีที่แล้ว +1

    I've always been better in reading scripts than actually writing, but this has been very useful around the thought process. A bit like requirement gathering 🙂.
    Also, where can we located that splatting module for VS Code? TIA.

    • @Techthoughts2
      @Techthoughts2  ปีที่แล้ว

      Its requires a bit of advanced setup, but here is the tool that allows converting to splat: github.com/SeeminglyScience/EditorServicesCommandSuite

  • @deucecaro
    @deucecaro 3 ปีที่แล้ว +1

    Excellent video here. Love the thoroughness and checking of your logic and “showing your work”. I have a question though... instead of using Param could you also use Read-Host to get the users input? That’s typically how I handle it but I appreciate knowing to use param now.

  • @z3lt0
    @z3lt0 8 หลายเดือนก่อน

    Hello man, this playlist is amazing. Question what's the extension for splatting? tks

  • @jreach4487
    @jreach4487 3 ปีที่แล้ว

    Excellent video, sir!

  • @pseudounknow5559
    @pseudounknow5559 3 ปีที่แล้ว +1

    Crystal clear 💎

  • @RobertoHernandez-xf9et
    @RobertoHernandez-xf9et 4 ปีที่แล้ว +3

    EP9 done! 3:59am, now I'm going to bed for sure. TH-cam autoplay EP10...¿They are gonna script from scratch and message me if any windows or linux server is below 20% space? I will need more soda and more jumping jacks...Damm YT autoplay. I can't get no sleep.

  • @j4v1ber
    @j4v1ber 4 ปีที่แล้ว +1

    Awesome video series. I've truly enjoyed it. Had a question around the [4:11] what is that powershell terminal window and how do you get it configured like that?

    • @svvm.sudhakar
      @svvm.sudhakar 4 ปีที่แล้ว

      He customized his PowerShell profile..
      Hope we will get one video on the same "how he had done that.."

    • @Techthoughts2
      @Techthoughts2  4 ปีที่แล้ว +1

      Windows Terminal.
      There is an excellent series on how to get it customized here:
      www.hanselman.com/blog/how-to-make-a-pretty-prompt-in-windows-terminal-with-powerline-nerd-fonts-cascadia-code-wsl-and-ohmyposh

  • @sunset203
    @sunset203 5 หลายเดือนก่อน

    From a text file I want to import the information into an Excel box to fill in certain set fields. Is it possible to do that?
    Thanks!

  • @daephx
    @daephx 4 ปีที่แล้ว +3

    I like your style. Also what theme is that for vscode?

    • @Techthoughts2
      @Techthoughts2  4 ปีที่แล้ว +2

      marketplace.visualstudio.com/items?itemName=vangware.dark-plus-material

  • @justinhonse
    @justinhonse 2 หลายเดือนก่อน

    Super helpful!!!

  • @XwolfBane18
    @XwolfBane18 2 ปีที่แล้ว +1

    Amazing video thank you

  • @성수-o6h
    @성수-o6h 2 ปีที่แล้ว +1

    감사합니다 선생님

  • @MiDiCur
    @MiDiCur 2 ปีที่แล้ว +1

    Very good thanks

  • @dionysos93120
    @dionysos93120 4 ปีที่แล้ว

    Great explained job Bro

  • @ajdinzutic
    @ajdinzutic 4 ปีที่แล้ว +1

    Hi what's the name for the plugin for ConvertToSplatExtension? Can't find it on VS Marketplace.

    • @Techthoughts2
      @Techthoughts2  4 ปีที่แล้ว

      github.com/SeeminglyScience/EditorServicesCommandSuite

  • @kotikvacia9970
    @kotikvacia9970 4 ปีที่แล้ว +2

    Thank you, bro !)

  • @immortal9929
    @immortal9929 4 ปีที่แล้ว +1

    The install module won't do anything with me why?? I tried to test if it's installed but also nothing only the find module would work

    • @Techthoughts2
      @Techthoughts2  4 ปีที่แล้ว

      What error are you getting?
      Are you running as admin?

    • @immortal9929
      @immortal9929 4 ปีที่แล้ว +1

      @@Techthoughts2 yup as running admin as for errors I'm getting nothing it just won't work 😟

    • @dibyendukar8658
      @dibyendukar8658 3 ปีที่แล้ว

      @@immortal9929 same here

  • @MrRadzor
    @MrRadzor 2 ปีที่แล้ว

    silly question. but what keybind you open the "select command" in vs code

    • @Techthoughts2
      @Techthoughts2  2 ปีที่แล้ว

      I'm not sure I understand the question, can you provide additional detail?

  • @julioc_oliveira
    @julioc_oliveira 2 ปีที่แล้ว

    Why you made a if for windows/linux and used get-volume on windows if Get-PSDrive works just fine on Windows, I just tested on PS 7.3 and 5.1 both works just fine.

  • @mrt9733
    @mrt9733 2 ปีที่แล้ว

    Can't seem to get ConvertToSplat working. Even after installing EditorServicesCommandSuite from gallery and adding it to VSCode Profile. It just doesn't come up after installing and when i search in the Command Palette. Anyone else having same issue?

    • @Techthoughts2
      @Techthoughts2  ปีที่แล้ว

      It can be quite tricky to get working.
      First, as of today you have to install the pre-release version:
      Install-Module EditorServicesCommandSuite -Scope CurrentUser -AllowPrerelease -RequiredVersion 1.0.0-beta4
      Then you have to add this to the VSCode powershell profile:
      if (Get-Module -Name EditorServicesCommandSuite -ListAvailable) {
      Import-Module EditorServicesCommandSuite -ErrorAction SilentlyContinue #workaround
      Import-Module EditorServicesCommandSuite
      Import-EditorCommand -Module EditorServicesCommandSuite
      Import-CommandSuite
      }

  • @christinatopp8204
    @christinatopp8204 3 ปีที่แล้ว

    Get-command _Module Poshgram shows nothing. Please help

  • @azhar8178
    @azhar8178 4 ปีที่แล้ว

    Superb

  • @darrinrodden1012
    @darrinrodden1012 2 ปีที่แล้ว

    what if you do not show Platform in windows at the terminal screen?

    • @Techthoughts2
      @Techthoughts2  2 ปีที่แล้ว

      I'm not sure I understand the question, can you provide additional detail?

    • @robwal2048
      @robwal2048 2 ปีที่แล้ว

      Powershell 5 does not show platform with $psversiontable. This tutorial is based on version 7.

  • @codybayles6574
    @codybayles6574 2 ปีที่แล้ว

    My brain hurts but i am learning

  • @PAUL-eq6ot
    @PAUL-eq6ot 4 ปีที่แล้ว +1

    Life is so much easier if you can get an imsi catcher lol

  • @mikemilkshake205
    @mikemilkshake205 4 ปีที่แล้ว +1

    When new video ?

  • @xrafter
    @xrafter 3 ปีที่แล้ว +2

    wait won't the \ in linux is an escape character ? that won't work in "$logpath\

  • @deserteagleto2780
    @deserteagleto2780 3 ปีที่แล้ว +1

    I found treasure

  • @aspergerhyperactive5528
    @aspergerhyperactive5528 2 ปีที่แล้ว

    is it possible to create a programming language with powershell if possible how to create it

  • @samibenyahia3629
    @samibenyahia3629 4 ปีที่แล้ว

    everytime he says log take a shot