PowerShell is a very easy to use tool in Win10, this tool can easily realize a variety of Windows
depth operation, won the favor of the great gods . However, some users have reported that it is better if they can directly create a new PowerShell script file. However, Windows
10 does not provide a one-click service that is ready-made. You need to do it yourself. Download it, Xiaobian will bring you the Win10 right-click menu to add a PowerShell script to create a new item graphic step.
Win10
In general, users can create script files with a .ps1 extension directly through PowerShell ISE. They can also create code by writing common code tools such as Notepad and then changing the extension. But these methods are a bit of a hassle, it is better to create them directly. Want to add a new item to the right-click menu PowerShell script, just add a registry value, the operation is relatively easy, the specific steps are as follows:
1, enter regedit in the Cortana search bar, press Enter to enter the registry editor
2, positioning (this time is short? Short and short benefits ~)
HKEY_CLASSES_ROOT\\\\.ps1
3, new item ShellNew
Win10
4, create a new string value NullFile, leave the value data blank, indicating that the new project is an empty file, as shown below — —
Win10
Win10
5, in the file resource management Or right click on the desktop, there should be "Windows PowerShell script" in the new project,
Win10
Win10
The modification will take effect immediately. If it is not brushed out for the first time, it should be more than a few times. It’s coming out. Double-click the newly created script file and open it with Notepad by default. Of course you can also use PowerShell ISE to edit, it might be better to use some, but the startup is a bit slow.
Win10
There are users reflected in the use of win10 process encountered no response to the problem, today
Win7 users can only upgrade by manually downloading the IE10 installation package, but some users ca
This afternoon is very troublesome, the 360 anti-virus optimization software prompt version can be
After setting the default input method, it is more convenient to open the default input method direc
In win10 Build 10565, Edge browser adds playback control for HTML5 video and downloads
Apple mac system can not connect to the wifi solution
What should I do if the old CAD cursor is blinking in the win7 system?
Win10 system IE browser can not open html solution
What should I do if the troubleshooting tool in the Win10 control panel cannot be used?
Change the system font size under Win10 to make the font look more comfortable
Do you make it? Win10 hides huge benefits! Native support for MKV video
How to update win10 9879? win10 update upgrade 9879
Win7 system uses the media player to play MP4 video only sound no image reason and solution
Win7 system connection vpn failed and prompted error code 868 2 solutions
How to backup computer files before the upgrade of win10 official version?
Linux CPU real-time monitoring command mpstat introduction
Windows10 10074 enables the start menu Aero effects method
Win8.1 system reloading (teaching you to reload without activation)
How to run Modern version of IE browser
MSN can't log in directly to Hotmail. What should I do?
Win7 local http://localhost can not open how to solve?
Win8.1 software compatibility problem solving method
IE browser automatically close how to solve
Maxthon Browser How to Set Auto Refresh Maxthon Auto Refresh Setting Method