Great info:
How to Move a OneDrive User Sync Folder
article #1340, updated 2033 days ago

GUI Robocopy alternative: FastCopy
article #1339, updated 2033 days ago
There are several attempts, this one I have found to be by far the most reliable:

MMAgent adjustments can give major speed increases
article #1270, updated 2040 days ago
In an administrative Powershell, all of the following. Some OSes will not have all of them, just ignore any errors. Yesterday (10/23), on an older machine running Windows 10 with 8G RAM and a 1/2T platter drive, SATA bandwidth was showing a tad less than 1 megabit in Resource Monitor; afterwards, 10 megabit. Most gains have not been so high.
Enable-MMAgent -ApplicationLaunchPrefetching Enable-MMAgent -ApplicationPreLaunch Set-MMAgent -MaxOperationAPIFiles 8192 Enable-MMAgent -MemoryCompression Enable-MMAgent -OperationAPI Enable-MMAgent -PageCombining Set-Service sysmain -StartupType Automatic Start-Service sysmain
The last two enable and start the service, if necessary. The service is called Superfetch in services.msc, but very clearly, it does a whole lot more than drive fetching. It is not clear how the observed drive bandwidth increase is achieved. One theory has it that, with appropriate configuration, the service reorders OS disk reads and writes for maximum sequentiality, minimum seeks.

Get Windows version info in Powershell
article #1338, updated 2041 days ago
Here’s a great place to start:
Get-CimInstance -Class Win32_OperatingSystem | ForEach-Object -MemberName Caption
This gets profoundly useful strings like “Microsoft Windows 10 Enterprise”. If you need the numeric version, the best so far has been:
(Get-ItemProperty -Path c:\windows\system32\hal.dll).VersionInfo.FileVersion
which, right now on this machine, gets us “10.0.18362.387 (WinBuild.160101.0800)”. And for the Windows 10 build:
(Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' -Name ReleaseID -ErrorAction Stop).ReleaseID
which gets “1903”. All of these are fast, do not depend on systeminfo, and appear to be nice and reliable.

Lightweight, clean, simple Windows package manager and application installer
article #1337, updated 2046 days ago
Here:
Its silent install actually works well for Adobe Reader:
appget update adobe-reader --silent

ESET installer command line parameters
article #1336, updated 2046 days ago
These reportedly work for the EXE, MSI, and server-based push install settings:
https://help.eset.com/era/53/en-US/idh_ra_remoteinst_commandline.html

Turn Off Azure AD Sync via Powershell
article #1334, updated 2049 days ago
- Connect to Azure AD, and disable sync:
Set-MsolDirSyncEnabled –EnableDirSync $false
- Check status, repeatedly, until it returns False. It can take 72 hours for sync to be fully deactivated.
(Get-MSOLCompanyInformation).DirectorySynchronizationEnabled

Provisioning Packages in Windows 10
article #1333, updated 2053 days ago
These packages bundle configurations, even domain joins, and other items. Native to Windows 10:

Manually correct Office 365 logins in AD Sync'd domains
article #1332, updated 2060 days ago
It can happen fairly easily, that one or more user’s Office 365 login is wrong, and AD Sync fails to correct it. Here is a manual override, courtesy of the excellent Joe Busby.
- On a domain controller, verify the AD username and proxy addresses is set correctly.
- Connect to O365 Powershell on any machine with Powershell 5.1, and run this command:
Set-MsolUserPrincipalName -UserPrincipalName "user@old.address" -NewUserPrincipalName "user@new.address"
- On the user’s PC:
- Navigate to Settings > Accounts > Access work or school
- Disconnect from any accounts linked to the new or old username
- Hit the [ + ] Connect button and provide the credentials to sign in to Office 365
- If their password has been changed since their account was synced up with the wrong username, the password may need to be reset.
- Remove any credentials from windows credential manager that match the old username.
- Check Outlook, you may have to create a new profile.
