Artwork

תוכן מסופק על ידי Dustin Reybrouck: IT System Administrator. כל תוכן הפודקאסטים כולל פרקים, גרפיקה ותיאורי פודקאסטים מועלים ומסופקים ישירות על ידי Dustin Reybrouck: IT System Administrator או שותף פלטפורמת הפודקאסט שלהם. אם אתה מאמין שמישהו משתמש ביצירה שלך המוגנת בזכויות יוצרים ללא רשותך, אתה יכול לעקוב אחר התהליך המתואר כאן https://he.player.fm/legal.
Player FM - אפליקציית פודקאסט
התחל במצב לא מקוון עם האפליקציה Player FM !

SAS 025 – In the Lab – Intro to PowerShell

44:43
 
שתפו
 

Fetch error

Hmmm there seems to be a problem fetching this series right now. Last successful fetch was on November 25, 2024 00:29 (9M ago)

What now? This series will be checked again in the next day. If you believe it should be working, please verify the publisher's feed link below is valid and includes actual episode links. You can contact support to request the feed be immediately fetched.

Manage episode 238948825 series 1751234
תוכן מסופק על ידי Dustin Reybrouck: IT System Administrator. כל תוכן הפודקאסטים כולל פרקים, גרפיקה ותיאורי פודקאסטים מועלים ומסופקים ישירות על ידי Dustin Reybrouck: IT System Administrator או שותף פלטפורמת הפודקאסט שלהם. אם אתה מאמין שמישהו משתמש ביצירה שלך המוגנת בזכויות יוצרים ללא רשותך, אתה יכול לעקוב אחר התהליך המתואר כאן https://he.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 פרקים

Artwork
iconשתפו
 

Fetch error

Hmmm there seems to be a problem fetching this series right now. Last successful fetch was on November 25, 2024 00:29 (9M ago)

What now? This series will be checked again in the next day. If you believe it should be working, please verify the publisher's feed link below is valid and includes actual episode links. You can contact support to request the feed be immediately fetched.

Manage episode 238948825 series 1751234
תוכן מסופק על ידי Dustin Reybrouck: IT System Administrator. כל תוכן הפודקאסטים כולל פרקים, גרפיקה ותיאורי פודקאסטים מועלים ומסופקים ישירות על ידי Dustin Reybrouck: IT System Administrator או שותף פלטפורמת הפודקאסט שלהם. אם אתה מאמין שמישהו משתמש ביצירה שלך המוגנת בזכויות יוצרים ללא רשותך, אתה יכול לעקוב אחר התהליך המתואר כאן https://he.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 פרקים

כל הפרקים

×
 
Loading …

ברוכים הבאים אל Player FM!

Player FM סורק את האינטרנט עבור פודקאסטים באיכות גבוהה בשבילכם כדי שתהנו מהם כרגע. זה יישום הפודקאסט הטוב ביותר והוא עובד על אנדרואיד, iPhone ואינטרנט. הירשמו לסנכרון מנויים במכשירים שונים.

 

מדריך עזר מהיר

האזן לתוכנית הזו בזמן שאתה חוקר
הפעלה