How to use powershell windows 10 7, open run as administrator.

Windows 10 comes with the classic command prompt and the newer PowerShell. But where is the difference and what is this “PowerShell” program actually? And what do you do with it?
- What is Windows PowerShell?
- What can I do with PowerShell?
- What’s the difference between PowerShell and the classic command prompt?
What is Windows PowerShell?
Microsoft’s PowerShell is a program to enter commands into the computer. Some functions can be activated in PowerShell by a simple command, while this is complicated by a mouse click in the Windows setting or not at all possible.
To start PowerShell simply enter ” PowerShell ” in the start menu. Then click on the entry, the PowerShell will start normally. Right-click on it and select “Run as administrator ” to use all features of this input panel.
What can I do with PowerShell?
For using Windows PowerShell, you can type commands directly into an input window. We’ve put together some of the most useful features and tricks:
get-command
+ [Enter]
This command is very important, especially for beginners. You can get a (very long) overview of all commands.- [F7]
If you press the [F7] key, the last lines entered will be displayed. clear
+ [Enter]
This will hide the last lines you entered. Only the current command line is displayed.&&
+ [Enter]
If you want to enter more than one command at a time, just separate them with a double & sign. It is important that you do not use spaces before, between and after the ampersand.- Drag file paths directly into PowerShell
There is a possibility to open Windows Explorer and drag the file path directly from the header in PowerShell. This will save you a lot of typing and can also make sure that you definitely use the correct path name. dir [file name]
+ [enter]
With this command you can easily search for files. For [file name], enter the name of your file. If you do not know the full name, you can also replace unknown parts with an asterisk *. The star can stand for a single or several letters. So, if you want to search for a file called “file”, it does not matter if you enter “Date *” or “Dat *”. For details on the dir command, type in ”dir /?
“.
Many of our tips are based on the use of PowerShell. For example, you can use PowerShell to uninstall preinstalled programs or permanently shut down Cortana . In addition, you can fix your Start menu, repair your Windows update and do a lot more with it.
What’s the difference between PowerShell and Classic Command Prompt?
Although the difference between the classic command prompt and PowerShell is rather small, it’s important: PowerShell is a newer version of the classic command prompt. This means that all Command Prompt commands work without problems in Windows PowerShell. Because the PowerShell input is newer, the exclusive, newer commands do not work in the classic command prompt. For example, you can create If commands in PowerShell.
Another insignificant difference is the background color: While the command prompt uses white text on a black background, PowerShell uses white text on a blue background. In itself, this color has no meaning. But it can help you to find out which command entry you are currently in.
The classic command prompt and the PowerShell are very intertwined: typing ” cmd ” or ” cmd.exe” in PowerShell still displays the blue background, but the command prompt is the same as the classic command prompt.