I love the format of your videos. I've been learning PowerShell for a few months and your teaching style works so much better than other courses I've learned from. After watching your other videos, I was able to understand how to create the first foreach loop before you explained it. Keep up the good work and thank you!
Could you do a future video on a foreach loop that includes if else statements and PnPBatch? I've been scouring the internet for help with a script I'm writing to no avail.
Hi Jack I have a question I have folder I want to synce for 15 users in sharepoint site , I have there username and password how do I go about scripting from my machine to make sure that folder is there when they sign into a device I’m new to script but I want to learn how to do it any guide would be appreciated
I don't speak English well, sorry, I use a Google translator. I didn't understand where the $name came from here: foreach($name in $folderNames){... Tell me, please, what is $name means? I mean, we didn't set it as a variable before.
I tested it and shows first one is the fastest #Fastest (1.13s) foreach($no in 1..1000000){$no} # (4.5s) (1..1000000).ForEach( {$_} ) #slowest (9s) 1..1000000 | ForEach-Object { $_ } i used measure-command to test it.
This is correct, if I were to make this again i would be recommeding the foreach($x in $array) as the fastest, measure-command is super useful good catch! :)