ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

How PowerShell Differs From the Windows Command Prompt?

user-image
تم إضافة السؤال من قبل Tayyab Arif , IT Network Engineer , Huawei Technologies
تاريخ النشر: 2013/05/17
Ahmed Amin
من قبل Ahmed Amin , SENIOR CYBER THREAT ANALYST , Confdential

Briefly, the CMD is a simple shell introduced with Windows NT with the same basic syntax and functionality as DOS.
It has relatively limited capabilities, especially when compared to Unix shells.
PowerShell is a modern shell implementation with all sorts of extra goodies.
The Power Shell scripting language designed especially for system administration.
Built on the .NET Framework, Windows PowerShell™ helps IT professionals and power users control and automate the administration of the Windows operating system and applications that run on Windows.

Mohammad Oweis
من قبل Mohammad Oweis , End User Support Country Lead , Lafarge Cement Jordan

In addition to Ahmad Amin answer, there are some advanced tasks that can only be done from PowerShell.
It can't be done from GUI or CLI.
Also, when you are managing very large number of servers, instead of wasting your time clicking on every server to do the task, you can run a PowerShell script to remotely change the settings on all servers at once, regardless if its only one small change, or hundreds of changes.

Hazhir yadegari
من قبل Hazhir yadegari , IT advisor , Marpich Bakhtar Company

Power shell is more usable and more powerfull than CMD .
In other side CMD is simple but power shell is advanced

Syed Asgar Mahmood Zaidi
من قبل Syed Asgar Mahmood Zaidi , Senior System Engineer , Royal Hospital

Windows PowerShell™ is a task-based command-line shell and scripting language designed especially for system administration. Built on the .NET Framework, Windows PowerShell™ helps IT professionals and power users control and automate the administration of the Windows operating system and applications that run on Windows.

Built-in Windows PowerShell commands, called cmdlets, let you manage the computers in your enterprise from the command line. Windows PowerShell™ providers let you access data stores, such as the registry and certificate store, as easily as you access the file system. In addition, Windows PowerShell™ has a rich expression parser and a fully developed scripting language.

 

Windows PowerShell™ includes the following features:

 

Cmdlets for performing common system administration tasks, such as managing the registry, services, processes, and event logs, and using Windows Management Instrumentation.

 

A task-based scripting language and support for existing scripts and command-line tools.

 

Consistent design. Because cmdlets and system data stores use common syntax and naming conventions, data can be shared easily and the output from one cmdlet can be used as the input to another cmdlet without reformatting or manipulation.

 

Simplified, command-based navigation of the operating system, which lets users navigate the registry and other data stores by using the same techniques that they use to navigate the file system.

 

Powerful object manipulation capabilities. Objects can be directly manipulated or sent to other tools or databases.

 

Extensible interface. Independent software vendors and enterprise developers can build custom tools and utilities to administer their software.

 

abdur rasheed
من قبل abdur rasheed , Network Administrator , Warid Telecom (Al-Khalej Telecom)

power shell is more advance then the commmad prompt.
It is easy to use as compare to cmd.
Its interface is user friendly

Adeel Ilyas Hinjrah
من قبل Adeel Ilyas Hinjrah , Sr. Infrastructure Engineer , Malomatia

Powershell is a strong tool used for bulk/advanced administrative tasks in Windows.
cmd is not basically a admin's utility you can say it's just a powerful DOS or DOS++ inside windows.

Emad Mohammed said abdalla
من قبل Emad Mohammed said abdalla , ERP & IT Software, operation general manager . , AL DOHA Company

I agree with the answer added by: Mohammad Oweis

Saber Haroon
من قبل Saber Haroon , Senior Technical Supports and Network Administrator , SAMACO

From my experience, i used all of those and here are my finding Sony Dell Toshipa Asus

المزيد من الأسئلة المماثلة