5
PowerShell – Install Telnet Client – Windows Feature i | Page Table of Contents Overview ....................................................................................................................................................... 1 Applies To...................................................................................................................................................... 1 Pre-requisites ................................................................................................................................................ 1 Get Modules Available .............................................................................................................................. 1 Install Windows Feature – Telnet Client ....................................................................................................... 1 Install – Import Module ............................................................................................................................ 2 Install – Validate Installation Status.......................................................................................................... 2 Install – Add Windows Feature ................................................................................................................. 2 Install – Progress ....................................................................................................................................... 3 Install – Status ........................................................................................................................................... 3 List – All Windows Feature............................................................................................................................ 4

PowerShell install Windows Feature

Embed Size (px)

Citation preview

Page 1: PowerShell install Windows Feature

PowerShell – Install Telnet Client – Windows Feature

i | P a g e

Table of Contents Overview ....................................................................................................................................................... 1

Applies To ...................................................................................................................................................... 1

Pre-requisites ................................................................................................................................................ 1

Get Modules Available .............................................................................................................................. 1

Install Windows Feature – Telnet Client ....................................................................................................... 1

Install – Import Module ............................................................................................................................ 2

Install – Validate Installation Status .......................................................................................................... 2

Install – Add Windows Feature ................................................................................................................. 2

Install – Progress ....................................................................................................................................... 3

Install – Status ........................................................................................................................................... 3

List – All Windows Feature............................................................................................................................ 4

Page 2: PowerShell install Windows Feature

PowerShell – Install Telnet Client – Windows Feature

1 | P a g e

Overview

This guide will help in installing Windows Feature “Telnet Client” with PowerShell.

Applies To

Windows 2008, Windows 2008 R2

Pre-requisites

Server Manager Module

Get Modules Available

List the modules available for the Operating system. To list the available modules, run the below

command.

Get-Module -ListAvailable

Install – Telnet Client

Installing Windows Feature with PowerShell in this guide we would be installing telnet-client for

localhost.

Page 3: PowerShell install Windows Feature

PowerShell – Install Telnet Client – Windows Feature

2 | P a g e

Install – Import Module

From the available modules, import the module “ServerManager”, to import the module run the below

command.

Import-Module ServerManager

Install – Validate Installation Status

Before you install check if the “Telnet-Client” feature is installed or not. To check run the below

command.

Get-WindowsFeature –Name "telnet*"

Note: In this case Feature “Telnet Client” is not installed.

Install – Add Windows Feature

After importing the server manager module; to install telnet client feature on the localhost, run the

below command.

Add-WindowsFeature Telnet-Client

Page 4: PowerShell install Windows Feature

PowerShell – Install Telnet Client – Windows Feature

3 | P a g e

Install – Progress

After executing the add windows feature command, progress bar will be displayed as shown below.

Install – Status

Upon successful installation windows feature; installation status is displayed as shown below.

Additionally, you can run below command to check if installation is successful. Check mark will be

marked against the installed windows feature.

Get-WindowsFeature –Name "telnet*"

Page 5: PowerShell install Windows Feature

PowerShell – Install Telnet Client – Windows Feature

4 | P a g e

List – All Windows Feature

To list of all the windows feature on the specific operating system.

Get-WindowsFeature