Difference between revisions of "PowerShell"
From DevOps Notebook
| Line 6: | Line 6: | ||
<pre> | <pre> | ||
C:\ Powershell.exe -executionpolicy remotesigned -File C:\Scripts\myScript.ps1 | C:\ Powershell.exe -executionpolicy remotesigned -File C:\Scripts\myScript.ps1 | ||
| + | </pre> | ||
| + | |||
| + | === How to Install AWS.Tools on Windows === | ||
| + | <pre> | ||
| + | PS > Install-Module -Name AWS.Tools.Installer -Force | ||
| + | PS > Install-AWSToolsModule AWS.Tools.EC2,AWS.Tools.S3 -CleanUp | ||
| + | </pre> | ||
| + | |||
| + | === How to install AWS PowerShell module === | ||
| + | <pre> | ||
| + | PS > Install-Module -Name AWSPowerShell | ||
</pre> | </pre> | ||
Revision as of 13:09, 2 November 2020
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