Showing posts with label Powershell. Show all posts
Showing posts with label Powershell. Show all posts

Sunday, November 6, 2022

Install Telnet Client using Command line and PowerShell

Command Line:

pkgmgr /iu:"TelnetClient"

PowerShell:

Install-WindowsFeature Telnet-Client

Set / Remove Extra Registry Settings from GPOs

Set / Remove Extra Registry Settings from GPOs

Solution:

Powershell cmdlet has a useful set of cmdlets that allow you to read and write directly to the underlying storage file–registry.pol— where Administrative Templates settings are stored. These cmdlets are:

Set-GPRegistryValue

Get-GPRegistryValue

Remove-GPRegistryValue

Set-GPRegistryValue

Example:

Get-GPRegistryValue -Name "*GPO Name" -Key "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\"

Search this Blog

Note :

Infolinks In Text Ads