Skip to main content
Jorge Bernhardt Jorge Bernhardt

PowerShell

2018

How to set primary and secondary DNS server addresses with PowerShell
·221 words·2 mins· 100 views · 5 likes
DNS Enter-PSSession Get-DnsClientServerAddress Get-Help
In this post, I want to show how to configure your computer’s primary and secondary DNS servers using PowerShell. In this case, we will use the Set-DnsClientServerAddress cmdlet. The workaround in a local computer: The Get-NetAdapter cmdlet obtains the basic properties of the network adapter.
How to rename a computer with PowerShell
·317 words·2 mins· 100 views · 5 likes
Microsoft Microsoft Windows PowerShell Rename-Computer
In this post, I want to show you how to rename a local or remote computer with the PowerShell cmdlet: Rename-Computer. To rename a computer with PowerShell, use the Rename-Computer cmdlet with the following syntax: