PowerShell

From DevOps Notebook
Revision as of 13:09, 2 November 2020 by MilosZ (talk | contribs)

Set DNS with powershell
Rename multiple files with powershell
Windows Command Line snippets
How to check .NET version using PowerShell

Run powershell script from bat file

C:\ Powershell.exe -executionpolicy remotesigned -File  C:\Scripts\myScript.ps1

How to Install AWS.Tools on Windows

PS > Install-Module -Name AWS.Tools.Installer -Force
PS > Install-AWSToolsModule AWS.Tools.EC2,AWS.Tools.S3 -CleanUp

How to install AWS PowerShell module

PS > Install-Module -Name AWSPowerShell