To change the execution policy to run PowerShell scripts on Windows 11 (or 10), use these steps: Open Start. Search for PowerShell, right-click the top result, and select the Run as administrator ...
function getstaffdirectoryraw { #download staff directory from sharepoint by mapping a drive temporarily net use $tempdrive $staffdirectorysharepointroot Start-Sleep ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results