
Invoke-Command -ComputerName client01 disable-ssl-2.0 disable-ssl-3.0 disable-tls-1.0 enable-tls-1.1 enable-tls-1. Enabling Remote Desktop with PowerShell Remotely Disable Windows Reboot Schedule (Active hours)ġ) Open Windows Powershell by right click > run as administrator 2) Type: SCONFIG and hit enter 3) Press 5 (Windows Update Settings) 4) Press D (Download Only mode) 5) Close Powershellĭisabling Windows Server Active Hours for Automatic Reboot Schedule Set-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU -Name AUOptions -Value 1 Default Execution Policy - set to unrestricted You can also run Get-ADDomain on a locally joined workstation. # Look for your ObjectGUID in the results.

Obtain your Active Direcotry Globally Unique Identifier (GUID) for your Office 365 domain

Please note that many of our PowerShell commands listed below will also work for Windows 10 operating systems. TLS 1.2 has improvements over previous versions of the TLS and SSL protocol which will improve your level of security. As we find more commands that are practical for the more common scenarios we will add them to the list below. Below is a preferred list of PowerShell commands we use on Microsoft Windows Server 20 operating systems.Īs a Managed IT Services Provider (MSP) we can save hours using PowerShell commands, especially when provisioning tens of servers for our data center or customer infrastructure.

Sometimes using Windows PowerShell versus the GUI interface saves time and headaches. Find some of the most useful PowerShell commands and scripts for Windows Server 20
