s
sri kanth

Posted on 23rd April 2024|104 views

0
votes

How To Run PowerShell Script?

Can anyone explain how to run a PowerShell script

Answers
P
Anusha V

Posted on 23rd April 2024

A)   To run the Powershell scripts, we have to follow the below steps:

 

  1. First create the script in a text editor like notepad and save that file with “.PS1” extension.

 

  1. Execute the script by typing the complete path of the script, or if we are in the current directory, attach the current directory with a period pursued by a backslash.

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos