The full guide of PowerShell that any developer needs to know – PowerShell Fundamentals – Installation or Setup

The full guide of PowerShell that any developer needs to know – Index

On the lastest Windows versions is not required install PowerShell (PS) because is part of Windows Management Framework.

Updating WMF you can update and install last PS version.

First, check PS version:


(download latest version installer here)

From version 6, you can install PS on another platforms, like Ubuntu.

For security reasons, by default, PS only accept signed scripts to execute.

To check current policy type: Get-ExecutionPolicy

Common policy settings:

** Restricted: No scripts are allowed. This is the default setting.
** AllSigned: Run scripts signed by a trusted developer (will ask you to confirm that you want to run it)
** RemoteSigned: You can run your own scripts or scripts signed by a trusted developer.
** Unrestricted: You can run any script you want.

If you want to run unsigned scripts you have several alternatives to do that (In all cases you need to run PS as administrator):


— Start your scripts with:
Set-ExecutionPolicy RemoteSigned


— Run PS script file with:
powershell.exe -ExecutionPolicy ByPass -File "c:\script.ps1"


— Run from PS console or ISE session:
Set-ExecutionPolicy ByPass Process


— Run PS console with:
C:\> powershell -ExecutionPolicy RemoteSigned


Exists multiple policies availables.  Also, the execution policy may be enforced by Group Policy (who may revert your execution setting).


Extra documentation:


The full guide of PowerShell that any developer needs to know – Index

About the author:

Matías Creimerman

Matías Creimerman
I’m a specialist in design, development and management of software solutions with almost 20 years of experience. Microsoft Certificated Professional (MCP). Expert in dot net and Microsoft technologies. Experience and skills in designing solutions in a wide range of commercial, industrial and production areas. Design of architectures, software applications and processes. Skills in leadership and team management. Tech trainer. Technology researcher. Self-taught and dedicated to continuous learning. Skills in estimation, quotation, projects proposals and solutions design. Entrepreneurial spirit. Strong Tech profile but also customer oriented. I perform roles as fullstack dev, tech consultant, technical referent, development leader, team leader, architect, cross leader, tech manager, tech director, trainer, ramp-up & follow-up teams, software factory manager, DevOps and release manager. Regular chess player and musician.

Professional Website




About Me


Wordpress - Arquitectura y desarrollo de software

Wordpress - Personal Blog

Microsoft - Youracclaim Badges

Microsoft - Tech Profile

Microsoft - ASP.NET Forum

Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License
Creative Commons License
This content is property of Matias Creimerman Any misuse of this material will be punishable
This work is licensed under a International Copyright Law protects “original works of authorship”
including photographs, videos, and blog posts posted on social media sites
The content has no rights to be shared without authorization or citation to the author.
This content cannot be sold be adapted or modified partially or totally.
All content shared outside this blog that doesn’t belong to the author must have citations to the author.


Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de

Estás comentando usando tu cuenta de Cerrar sesión /  Cambiar )

Google photo

Estás comentando usando tu cuenta de Google. Cerrar sesión /  Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión /  Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión /  Cambiar )

Conectando a %s