Skip to content

RENDEZVOUS

Explore-Share-Contribute

  • AI
  • Agile
  • Atlassian
  • Automation
  • CloudOps
  • DevOps
  • IAC
  • VSM
  • Toggle search form

Scripts in PowerShell ISE – Chapter 2

Posted on January 20, 2020January 20, 2020 By ramz

The last chapter was a quick intro to PowerShell ISE and the commonly used cmdlets. Now lets take a look at creating and executing scripts in ISE.

Example -> Reading file contents

Step (a): Open PowerShell ISE application

Step (b): Type in the below cmdlet in the script window-

Get-Content “C:\Users\Documents\sampledocument.txt”

Step (c) : Save the file as “samplefile.ps1”

Step (d): Select the content of the script and click on “RUN” button on toolbar or press “F5”

Step (e): View file contents in the bottom panel

Isn’t it easy ?? Try out creating scripts with the cmdlets shared in Chapter 1.

Happy Scripting !!

Technical Documentation Tags:#create scripts in powershell ise;, #ramz, #ramz#powershellscripts;, #rendezvous;

Post navigation

Previous Post: Introducing PowerShell ISE – Chapter 1
Next Post: PowerShell in Azure DevOps – Chapter 3

Related Posts

Automated Testing with CA DevTest- Chapter 2 Technical Documentation
MySQL Data in Grafana Technical Documentation
DevOps or Agile – which one to choose? Technical Documentation
Jenkins User Administration – Chapter 2 Technical Documentation
Agile & Jira- Chapter 1 Technical Documentation
Authoring infra-as-code with Azure Bicep – Chapter 4 Automation

Copyright © 2025 RENDEZVOUS.

Powered by PressBook Grid Dark theme