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.
@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 :)
Now I finally know the send mail method for a long time using it but not knowing why until now. Thanks pal!
Great method!
Awesome !!!
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.
@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 :)
👍