Maand: augustus 2021

robocopy \\sourceserver\ShareName \\destinationfileserver\ShareName /e /b /copyall /PURGE /r:5 /w:5 /MT:64 /tee /log+:D:\Shares\log_ShareName_%date:~-10,2%”-“%date:~7,2%”-“%date:~-4,4%.txt /v     LET’S BREAK THAT DOWN. Robocopy Initiates the command. \\sourceserver\ShareName The first parameter is always the source location. I typically always run Robocopy from the new file server as: It will likely have a newer version of Robocopy installed; and I will […]

Meer lezen

The error message : WARNING: Unable to download from URI ‘https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409’ to ”. WARNING: Unable to download the list of available providers. Check your internet connection. Set Powershell to accepts TLS 1.2 connections.   https://www.powershellgallery.com/packages/PSWindowsUpdate/2.1.1.2 To test this : 1. Open Powershell (As Admin) 2. [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 3. Try it again!   From now […]

Meer lezen

First you need to install the PowerShell module. # Install-Module -Name PSWindowsUpdate -Force Then check if there are windows update for your machine. # Get-WindowsUpdate Then if you want to install all the updates you can run the following command. # Get-WindowsUpdate -AcceptAll -Download -Install -MicrosoftUpdate Now you can reboot the machine with Y   […]

Meer lezen