TechRepublic's Microsoft Weekly newsletter
Subscription | Read Online Twitter Facebook Google+

Windows tip of the week

PowerShell or Command Prompt?


By Ed Bott


Every version of Windows includes a full-strength command-line interpreter you can use to perform a wide range of tasks. It supports a full set of built-in commands and also allows you to run third-party programs by typing the name of an executable file, with or without switches.


In Windows 7, the native command-line interface is the Windows Command Processor, which you get to by typing Cmd in the Run dialog box. In Windows 10, beginning with version 1703, the native command-line interface is Windows PowerShell. You can run PowerShell, with or without administrative credentials, by right-clicking Start (or pressing Windows key + X) and then choosing the appropriate option from the Quick Links menu.


For system administrators, it's worth spending the time to learn PowerShell's complexities, but for everyday tasks, the older Cmd.exe environment is still available. From a PowerShell window, just type cmd and press Enter. That runs a Command Prompt session directly inside PowerShell.


If you want to replace PowerShell in Windows 10 with the older Windows Command Processor, go to Settings > Personalization > Taskbar and slide the Replace Command Prompt With Windows Powershell switch to Off.

Latest on Microsoft

How to segment virtual machine network traffic by using VLANs in Hyper-V

Virtualized systems are subject to the same network security protocols as the traffic generated by physical devices. They too should be segmented using VLANs, allowing only authorized traffic to access your VMs.

More TechRepublic stories

Microsoft delivers a foundation for developing intelligent edge computing applications

Cyberattacks most likely to happen in these 10 states on Cyber Monday

How to use VBA to sum Excel values by fill color

Why the Jelly phone is the best option for employees in the field

Posts from ZDNet

Microsoft's Visual Studio Live Share to improve developer collaboration

Microsoft Windows 10 Redstone 4 test build 17040: Lots of fixes, plus a few minor features

Windows 10 tip: Move your default data folders to a different drive

A Windows 10 alternative: Microsoft should embrace, extend Linux on the desktop

Featured multimedia

Five talents you need when applying for a game tester job

The gaming industry is expected to grow past $20 billion in annual revenue by the year 2020. TechRepublic's Bill Detwiler shares how to start your career in game testing.

Photos: The world's 25 fastest supercomputers

Today's recommended downloads

Semantics For Dummies, MarkLogic Special Edition

(MarkLogic)

Enterprise NoSQL For Dummies, MarkLogic Special Edition

(MarkLogic)

Beyond Relational - MarkLogic Report

(MarkLogic)

Building on Multi-Model Databases - MarkLogic Report

(MarkLogic)

Plan for Success With High-Stakes Data Projects - MarkLogic Report

(MarkLogic)

Survey: Do you have concerns about the rise of autonomous transportation?

Are you worried that autonomous transportation will kill jobs? Do you have concerns about the safety of autonomous transportation? Take this quick survey.

A special feature from ZDNet and TechRepublic

The future of Everything as a Service

Software as a Service has set off a revolution in the way companies consume services on-demand. We look at how it's spreading to other IT services and transforming IT jobs.

Connect with TechRepublic

Visit the Subscription Center to get other free newsletters, manage your account settings or to be removed from TechRepublic communications.

Unsubscribe | Send Feedback | FAQ | Advertise | Privacy Policy

© 2017 CBS Interactive, Inc. All rights reserved.

TechRepublic is a registered service mark of CBS Interactive, Inc.

TechRepublic

235 Second Street

San Francisco, CA 94105

U.S.A.