SAS 025 – In the Lab – Intro to PowerShell episode artwork

EPISODE · Jul 30, 2019 · 44 MIN

SAS 025 – In the Lab – Intro to PowerShell

from SysAdmin Show

In this lab episode I run through a recent PowerShell project.  This is a very basic example will give you an idea what can be done with PowerShell.  The YouTube video for this episode can be found at https://youtu.be/SXv-ZVV9ioc.   As promised I have included the final scripts below. ##########################demo.ps1##################### #Define variables $webdata = “” $complete = “” #scrape website content to variable $webdata = Invoke-WebRequest “www.sysadminshow.com” while ($complete -ne “1”) { if($webdata -like “*SysAdmin Show*”) # check for specific string { write-host “Found it!” $complete = “1” Start-Process calc.exe } else { write-host “Not Ready” } Start-Sleep -Seconds 1 } ####################launch.bat##################### powershell -WindowStyle Hidden “c:\scripts\demo.ps1”  

Episode metadata supplied by the publisher feed · Published Jul 30, 2019

Embed this episode

Ready to play

SAS 025 – In the Lab – Intro to PowerShell

0:00 44:43

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of SysAdmin Show?

This episode is 44 minutes long.

When was this SysAdmin Show episode published?

This episode was published on July 30, 2019.

Can I download this SysAdmin Show episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!