PowerShell Quick Tips : Splatting

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 7

  • @Allion-jl4dd
    @Allion-jl4dd Месяц назад

    Now I finally know the send mail method for a long time using it but not knowing why until now. Thanks pal!

  • @keriT0
    @keriT0 Месяц назад

    Great method!

  • @tubefun71
    @tubefun71 Месяц назад +1

    Awesome !!!

  • @tonymallette8058
    @tonymallette8058 Месяц назад +1

    Great video! It came at the perfect time. I'm writing a script to create a Microsoft Guest AD account. I'm using the MGGraph cmdlet, and everything is working. The problem is you have to enter each parameter individually and then enter. If I were to leave the parameters blank in the hash table, would it prompt for the input? My end goal is to allow users to enter the required user information in a portal and submit the script runs.

    • @jackedprogrammer
      @jackedprogrammer  Месяц назад

      @tonymallette8058 thats great! what you could do is use a loop to loop through the properties/members of the hashtable and use a read-host to prompt the user to input the data or iteratively prompt for each value but id look at the loop method becuse it would simplify the script for you :)

  • @briman113
    @briman113 Месяц назад +2

    👍

  • @TheMarkGross
    @TheMarkGross Месяц назад +1