Artwork

Indhold leveret af Dustin Reybrouck: IT System Administrator. Alt podcastindhold inklusive episoder, grafik og podcastbeskrivelser uploades og leveres direkte af Dustin Reybrouck: IT System Administrator eller deres podcastplatformspartner. Hvis du mener, at nogen bruger dit ophavsretligt beskyttede værk uden din tilladelse, kan du følge processen beskrevet her https://da.player.fm/legal.
Player FM - Podcast-app
Gå offline med appen Player FM !

SAS 025 – In the Lab – Intro to PowerShell

44:43
 
Del
 

Arkiveret serie ("Inaktivt feed" status)

When? This feed was archived on November 18, 2025 14:09 (26d ago). Last successful fetch was on November 25, 2024 00:29 (1y ago)

Why? Inaktivt feed status. Vores servere kunne ikke hente et gyldigt podcast-feed i en længere periode.

What now? You might be able to find a more up-to-date version using the search function. This series will no longer be checked for updates. If you believe this to be in error, please check if the publisher's feed link below is valid and contact support to request the feed be restored or if you have any other concerns about this.

Manage episode 238948825 series 1751234
Indhold leveret af Dustin Reybrouck: IT System Administrator. Alt podcastindhold inklusive episoder, grafik og podcastbeskrivelser uploades og leveres direkte af Dustin Reybrouck: IT System Administrator eller deres podcastplatformspartner. Hvis du mener, at nogen bruger dit ophavsretligt beskyttede værk uden din tilladelse, kan du følge processen beskrevet her https://da.player.fm/legal.

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”

  continue reading

58 episoder

Artwork
iconDel
 

Arkiveret serie ("Inaktivt feed" status)

When? This feed was archived on November 18, 2025 14:09 (26d ago). Last successful fetch was on November 25, 2024 00:29 (1y ago)

Why? Inaktivt feed status. Vores servere kunne ikke hente et gyldigt podcast-feed i en længere periode.

What now? You might be able to find a more up-to-date version using the search function. This series will no longer be checked for updates. If you believe this to be in error, please check if the publisher's feed link below is valid and contact support to request the feed be restored or if you have any other concerns about this.

Manage episode 238948825 series 1751234
Indhold leveret af Dustin Reybrouck: IT System Administrator. Alt podcastindhold inklusive episoder, grafik og podcastbeskrivelser uploades og leveres direkte af Dustin Reybrouck: IT System Administrator eller deres podcastplatformspartner. Hvis du mener, at nogen bruger dit ophavsretligt beskyttede værk uden din tilladelse, kan du følge processen beskrevet her https://da.player.fm/legal.

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”

  continue reading

58 episoder

Alle episoder

×
 
Loading …

Velkommen til Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Hurtig referencevejledning

Lyt til dette show, mens du udforsker
Afspil