Tag Archives: powershell

How to install IIS features on SCCM 2012 Distribution Point with command line

Hi SysAdmins

Did you ever wonder how SCCM 2012 install a DP remotely from the CM console?

DISM.exe (Deployment Image Servicing and Management tool) is a command line tool that you can use to enable or disable Windows features.

In this case we use it to install all the necessary IIS features for a SCCM 2012 DP.

Command line to install IIS on DPs:

Continue reading How to install IIS features on SCCM 2012 Distribution Point with command line

How to Add Hebrew to Powershell or Command (CMD) Console

Hi SysAdmins

Did you ever ran into a situation where you need to add a foreign language to the powershell or Command console? let’s say for script output purpose.

It seems that the process of adding Non-Latin characters is not widely documented.

In this example I will demonstrate how to add Hebrew writing to Powershell. This will also affect the Command (CMD) console.

Continue reading How to Add Hebrew to Powershell or Command (CMD) Console

How to get a remote servers’ TCP/IP configuration: IP, DNS, GW via PowerShell

Hi

When you need to know the DNS configurations of a remote machine without logging in to that machine.  Using a script that can do the job on remote computers is the answer.

There are some very good Ebooks online that can teach you how to do this.

This nice Powershell script will do the work. The source I found on this web site and changed it for my needs.

Continue reading How to get a remote servers’ TCP/IP configuration: IP, DNS, GW via PowerShell