Session time-out while running a loop, help?
Hi AllWhile running a script I do a connection to SkypeOnline so I can set some policies on potentially thousands of students in a tenant:Import-Module SkypeOnlineConnector $SfBsession =...
View ArticlePowershell scripts won't run from a network drive
Dear Scripters,I'm a bit astonished, that my Powershell scripts won't run on my new company (office) computer, if they are located on a network drive, which is mapped to a local (intranet) server...
View Articlemulti hierarchy folder create
Hi Scripting Guys! In some case i want Create multi hierarchy folder in a RootPath such as "E:\Test" And the structure of multi hierarchy folder get from a Folder_structure.csv file with two...
View ArticleNeed help to correct WSUS Updates Approval script
Hi everyone,I am not good with powershell scripting. I was just trying to write something below to approve WSUS updates but getting failed. Please help me to correct. specially to bind the $updates...
View ArticleIf Then Go Statement - Did I do this correctly?
Hello, I use a batch script to backup select folders from our Windows computers. It works but my last change did not work all too well. I have gone through the trouble shooting and figured out what I...
View ArticleUnexpected behavior from -notLike operator
I was under the impression that -like/notLike and -match/notMatch were the preferred comparison operators for strings. But:'C:\Users\Keith\Sandbox\TestRoot\nested (1)[2]' -notlike...
View ArticleUpgrade Powershell on Win2008r2
HiI am following the procedure on this kb downloading the package named "Win7AndW2K8R2-KB3191566-x64.ZIP" for Windows Server 2008 R2 and the installer states that the update is already installed but...
View Article-join $null value to Powershell script
Hello,Using Powershell, I've constructed the following:-join (($var1 +$var2+$var3|%{[char]$_})+$var4 | Get-Random)I need some of the variables to disappear from time to time.If I add $var1 = $null and...
View ArticleManage 365Exchange Device Quarantine From PowerShell
Hello All. I want to thank you in advance for your time and assistance. ultimately I would like to run a script (more importantly have helpdesk do it) that removes allowed devices from Quarantine in...
View Articletest path for remote registry in power shell
I am trying to use test path to see if a registry key exist and if so display that key Get-ItemProperty "hklm:\SOFTWARE\Updates\Microsoft Update - Slow Login Fix" The above command works fine on mine...
View ArticleQuestion about this script "Write to HKCU from the system account"
So this is the original script: https://gallery.technet.microsoft.com/scriptcenter/Write-to-HKCU-from-the-3eac1692#contentMy question is, can you help me add reverse function to this script, to export...
View Articlevbs login script over vpn does not exit
Greetings,we are using a vbs script over VPN to map the network drives for users . the script works well for some users and for other users the script keep hanging in processes background and...
View ArticleScript Modification for Top 10 Senders
Hello,First of all Thank You for Richard L. Mueller as he helped me for this script very long back.I have following script which I've been using manually in daily basis. But how to modify and make it...
View ArticleHow to change StrongAuthenticationRequirements.State using PowerShell (MSOL)
Hi, According to this article: https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-mfa-userstates#use-powershell I should be able to disabling MFA using PowerShell with simple...
View ArticleLost in $result
hello,Whenever I think, "yeaaah I get it"I am no longer een Noob..:) A new issue pops up that cracks my brains... It makes me learn more and that is good, only now I am confused, and start to think in...
View ArticleATTO Disk Benchmark
https://survey.dingwei.netease.com/htmls/pbuco4/paper.html https://survey.dingwei.netease.com/htmls/hhiv2h/paper.html https://survey.dingwei.netease.com/htmls/6mp9yo/paper.html...
View ArticleCanvio Premium系列升级版2TB
https://survey.dingwei.netease.com/htmls/puukc7/paper.html https://survey.dingwei.netease.com/htmls/hv1jr7/paper.html https://survey.dingwei.netease.com/htmls/iuocgz/paper.html...
View Article