Add Zone For You

SITE123 - Website Builder

How to Create and Run Powershell on Windows 10 from marierobert's blog

PowerShell command is designed for Windows 10 that used to manage scripts and commands. It can also use to change custom settings and do automatic tasks. It is an extremely capable command-line interface that gives you an extensive tool and offers to get more control and flexibility on special scripting.

The script can be considered the group of commands that are stored in a text format; this command only understands by the PowerShell that can perform multiple actions and separately. PowerShell command has a quick power task that manages the Linux, Windows, and macOS operating system. It can manage all your commands in your computers and access your data. It can access registry, certificate as well as all the files storage in your system.

Creating Script via Notepad

  1. Launch Start.
  2. Find the Notepad
  3. Tap on the first result to start the application.
  4. Paste your script or create a new script in the given text field.
  5. Tap on “”
  6. Choose “Save As.”
  7. Enter the File title like — the second script.ps2.
  8. Tap the Save icon.

Creating a Script With the Integrated Scripting Environment

You can also use PowerShell ISE to identify your scripts in Microsoft windows 10. Here are the steps on how you create scenarios:-

  1. Launch Start.
  2. Find the “Windows PowerShell” (ISE)
  3. Right-click on the result.
  4. Choose to “Run as administrator” section.
  5. Tap File.
  6. Choose “New” to generate a new vacant .ps2
  7. Paste your script or create a new one in the text field.
  8. Tap on “”
  9. Hit Save.
  10. Enter the File title, like Second script.ps2.
  11. Choose folder’s location where you want to save the script.
  12. Tap the Save option.

How to Control Powershell Script Data on Windows 10

  1. Launch Start.
  2. Find the “PowerShell”
  3. Click on the result.
  4. Choose the “Run as administrator” section.
  5. Enter the given command below to permit the script to run.
  6. Set-ExecutionPolicy RemoteSigned
  7. Click Enter.
  8. Enter “A” and click on Enter.
  9. Enter the given command below to permit the script to run.

& “C:\PATH\TO\SCRIPT\first_script.ps1”

  1. Remember to change “PATH\TO\SCRIPT” within the aforementioned command to locate scripts.
  2. There are four policy by PowerShell as follow:-
  • Restricted:- It can stop any running script.
  • AllSigned:- All the scripts run long signed by the trusted publisher.
  • Unrestricted:- Run any script with no restrictions.
  • RemoteSigned:- Runs scripts on the created device.

In the above troubleshoot, you can learn how to command all the local scripts to run in the windows 10. If you are not sure to do them regularly, then you can restore your windows default setting. On step four, remember to use the Set-ExecutionPolicy Restricted command.

Ava Williams is a Norton product expert and has been working in the technology industry since 2002. As a technical expert, Ava has written technical blogs, manuals, white papers, and reviews for many websites such as

Source url:-

Previous post     
     Next post
     Blog home

The Wall

No comments
You need to sign in to comment

Sabyasachee Koun Hai ?

Alexa Global Rank 99000

google ranking checker

Website Page View Hit