PowerShell 7 Tutorials for Intermediates #2 : Methods (Part 2 of 2)

แชร์
ฝัง

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

  • @super-ibby
    @super-ibby 4 หลายเดือนก่อน

    Sick tutorials dude thanks

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

    Great playlist! Quick suggestion: is it possible to reduce your window size, sometimes terminal results are not visible, maybE reduce it just enough so terminal is visible!

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

    Nice course... it would be nice to explain some of the parameters you use like i.e. NoteProperty with the Add-Member cmdlet...

    • @nicok.2751
      @nicok.2751 3 หลายเดือนก่อน

      You can find them in his Beginner PowerShell 7 Tutorial serie :) th-cam.com/video/rxafOc0tA_o/w-d-xo.htmlsi=kMJEo6qENFtFtfUN

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

    I am new to your channel. If you can do a short video on using an open array @() when importing a CSV if you haven't done so already. Thanks

    • @c-LAW
      @c-LAW 2 ปีที่แล้ว +2

      $x = @()
      @() instantiates the variable as an array.
      $x = cat my.csv | ConvertFrom-CSV # overwrites your array
      $x += cat my.csv | ConvertFrom-CSV # appends to your array
      another example of appending results to an array:
      get-childitem *many*.csv | ForeachObject { $x += cat $_ | ConvertTo-CSV }
      or you could just do this
      $x = get-childitem *many*.csv | ForeachObject { cat $_ | ConvertTo-CSV }
      or you could just do this
      $x = dir *many*.csv | cat | ConvertFrom-CSV

  • @chaospheremk
    @chaospheremk 6 หลายเดือนก่อน

    I was under the impression that "Methods" were something distinct from a function or cmdlet. Am i missing something?