When running a CU on an Exchange hybrid setup the installation failed because services were disabled. This script will make sure every 10 seconds that Exchange services are not disabled during installation.
Opslag
Access Exchange online with Office 365 multi-factor authentication (MFA/2FA)
- Hent link
- X
- Andre apps
I've been having some trouble doing Exchange PowerShell after enabling Office 365 MFA on my account. I did this to gain access from my computer. 1) First save this to a .reg file (e.g. fix.reg ) and run it to allow installing the Exchange Online Remote PowerShell Module on your computer from Internet Explorer: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Security\TrustManager\PromptingLevel] "MyComputer"="Enabled" "LocalIntranet"="Disabled" "Internet"="Enabled" "TrustedSites"="Enabled" "UntrustedSites"="Enabled" 2) Then paste this URL in Internet Explorer to install the module: https://cmdletpswmodule.blob.core.windows.net/exopsmodule/Microsoft.Online.CSE.PSModule.Client.application 3) Now run this command to connect (remember to modify the UserPrincipalName to match your own username): Connect-EXOP
7zip compress files (all or with specific extension) in folder and subfolder and delete original file
- Hent link
- X
- Andre apps
Send email with attached report of computers not reporting WSUS status within the last 30 days (or never)
- Hent link
- X
- Andre apps
Compress all BAK files in folder (and subfolders) with 7-Zip and delete original files
- Hent link
- X
- Andre apps
If Hyper-V replica is not normal, or running, send email warning
- Hent link
- X
- Andre apps