After upgraded the SCCM server got upgrade to a new version, I found some computer upgrade failed after I used the client push installation. The log file showed the authentication error. A client push installation account must be specified that has administrative rights to the intended client computer. So the task is how to check…
Category: PowerShell
Install-WindowsFeature –Name GPMC Run this PowerShell command will install the GPMC on a Windows Server 2016 member server allowing you to edit Group Policy objects without logging into a Domain Controller.
System Center Orchestrator runbook can run PowerShell Script and WMI query to manage remote computer. PowerShell Remoting depends on Windows Remote Management (WinRM), which is Microsoft’s implementation of the WS-Management (WS-Man) protocol. The protocol relies on HTTP or HTTPS and uses the TCP ports 5985 and 5986, respectively. WS-Management encrypts all PowerShell communication even if…
System Center Configuration Manager (SCCM) is a very popular tool to deploy software updates. Usually I can setup a deadline to force the computer to install software updates then reboot automatically. But I have a unique situation that there is another team need to take a long process which includes many maintenance steps to make…
I have different Device Collections for servers in different AD group. One collection called Server Pilot contains a group of pilot servers. I usually deploy security updates to this collection before we deploy updates to production servers. The membership rule is simple which is to query the AD group and put device in the group into…
The PowerShell Active Directory module offers a variety of cmdlets that allow you to remotely manage Active Directory. Many guides exist on the Internet that explain how to install the PowerShell Active Directory module. Unfortunately, I don’t find any guide for Windows Server 2016. I’ve tried the installation procedures in this article, so you shouldn’t run into…
I was working on a PowerShell/PowerCLI script to build a VMware VM from a template, assign IP address, default gateway, DNS, join it into the domain and install some software. I knew Netsh command can be used to configure IP address, default getaway and DNS servers. I did not remember the details how could I…