Skip to content

This repository contains PowerShell Scripts related to Basic Coding and General Concepts.

License

Notifications You must be signed in to change notification settings

anupam-sy/powershell-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerShell-Lab

This repository contains PowerShell scripts related to different usecases.

Prerequisite:

Powershell version must be 5.1 or greater. To check the powersehll version, use the following command:

$PSVersionTable.PSVersion

Execution policy of the user (thru which you want to execute the script) must be set to unrestricted for the uninterrupted execution. To check the execution policy, run the following command in powershell terminal:

get-executionpolicy -list

To define/set the execution policy to unrestricted, Run the following command in powershell window:

set-executionpolicy unrestricted

Execution:

To run the script, go to command prompt and then run the following command:

powershell -file <script_name_with_complete_path>

About

This repository contains PowerShell Scripts related to Basic Coding and General Concepts.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published