Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

PowerShell – Add Windows Feature

Posted on December 15, 2015 By David Kittell

First figure out what features are installed

Import-Module ServerManager -Verbose
Get-WindowsFeature

To add a feature look at the listing from Get-WindowsFeature and it will have something like XPS-Viewer or Web-Http-Redirect

Import-Module ServerManager -Verbose
Add-WindowsFeature Web-Http-Redirect
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code PowerShell

Post navigation

Previous post
Next post

Related Posts

Mac OSX – Update DNS Based On WiFi

Posted on June 8, 2016June 8, 2016

I often have to bounce between WiFi at the office and the public WiFi so I finally put this script together. You will need to get the BSSID of your WiFi connection to replicate this but here is the code, of course you need to run this with sudo privileges…

Read More

Embarcadero Delphi – Get Internet Connection Type

Posted on January 5, 2017

unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, WinInet; type TForm1 = class(TForm) procedure FormCreate(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation const MODEM = 1; LAN = 2; PROXY = 4; BUSY = 8; function…

Read More

Red Hat – Failed to initialize NSS library

Posted on August 8, 2017

If you recently updated or recently installed a Red Hat server and get a message like this when trying to run yum the below will help. # yum repolist error: Failed to initialize NSS library There was a problem importing one of the Python modules required to run yum. The…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes