- 61
- 443 614
PowerShell Engineer
United States
เข้าร่วมเมื่อ 19 ต.ค. 2010
Author of PowerShell for Systems Engineers, Former Amazon Engineer
A Custom GPT Trained on My PowerShell Book
My new, custom PowerShell GPT trained on my book: chatgpt.com/g/g-QvqZeqUjK-powershell-engineer
Check out my course on Udemy, PowerShell for Systems Engineers: www.udemy.com/course/powershell-for-systems-engineers/
...which is based on my book, PowerShell for Systems Engineers, available on Amazon:
www.amazon.com/PowerShell-Systems-Engineers-Leveraging-Automation-ebook/dp/B0C12DPZ2C
GitHub: GitHub: github.com/jimrtyler/
Twitter: JimRTyler
Check out my course on Udemy, PowerShell for Systems Engineers: www.udemy.com/course/powershell-for-systems-engineers/
...which is based on my book, PowerShell for Systems Engineers, available on Amazon:
www.amazon.com/PowerShell-Systems-Engineers-Leveraging-Automation-ebook/dp/B0C12DPZ2C
GitHub: GitHub: github.com/jimrtyler/
Twitter: JimRTyler
มุมมอง: 690
วีดีโอ
21 One Line PowerShell Networking Commands
มุมมอง 4.3K10 หลายเดือนก่อน
Check out my Udemy course - PowerShell for Systems Engineers - exclusively on Udemy: www.udemy.com/course/powershell-for-systems-engineers/ Check out my book, PowerShell for Systems Engineers on Amazon: www.amazon.com/PowerShell-Systems-Engineers-Leveraging-Automation-ebook/dp/B0C12DPZ2C Retrieve the IP configuration of all network adapters. Get-NetIPAddress Retrieve a list of all network inter...
Fix for Script "cannot be loaded because running scripts is disabled on this system"
มุมมอง 11K10 หลายเดือนก่อน
Set-ExecutionPolicy Unrestricted Note also that PowerShell must be run as administrator. Check out my Udemy course - PowerShell for Systems Engineers - exclusively on Udemy: www.udemy.com/course/powershell-for-systems-engineers/ Check out my book, PowerShell for Systems Engineers on Amazon: www.amazon.com/PowerShell-Systems-Engineers-Leveraging-Automation-ebook/dp/B0C12DPZ2C GitHub: GitHub: git...
スクリプトを毎日自動的に実行する方法
มุมมอง 52310 หลายเดือนก่อน
Check out my book, PowerShell for Systems Engineers on Amazon: www.amazon.com/PowerShell-Systems-Engineers-Leveraging-Automation-ebook/dp/B0C12DPZ2C GitHub: github.com/jimrtyler/ Twitter: JimRTyler
스크립트를 매일 자동으로 실행하는 방법
มุมมอง 11211 หลายเดือนก่อน
Check out my book, PowerShell for Systems Engineers on Amazon: www.amazon.com/PowerShell-Systems-Engineers-Leveraging-Automation-ebook/dp/B0C12DPZ2C GitHub: github.com/jimrtyler/ Twitter: JimRTyler
Cómo hacer que un script se ejecute automáticamente todos los días
มุมมอง 30011 หลายเดือนก่อน
Check out my book, PowerShell for Systems Engineers on Amazon: www.amazon.com/PowerShell-Systems-Engineers-Leveraging-Automation-ebook/dp/B0C12DPZ2C GitHub: github.com/jimrtyler/ Twitter: JimRTyler
किसी स्क्रिप्ट को दैनिक रूप से स्वचालित रूप से चलाने का तरीका
มุมมอง 14511 หลายเดือนก่อน
$Trigger = New-JobTrigger -Daily -At 1am $Scriptblock = { C:\Scripts\Backup.ps1 } Register-ScheduledJob -Name "Backup Job" -ScriptBlock $Scriptblock -Trigger $Trigger Get-ScheduledJob Check out my book, PowerShell for Systems Engineers on Amazon: www.amazon.com/PowerShell-Systems-Engineers-Leveraging-Automation-ebook/dp/B0C12DPZ2C GitHub: github.com/jimrtyler/ Twitter: JimRTyler
So sorgen Sie dafür, dass ein Skript täglich automatisch ausgeführt wird
มุมมอง 9211 หลายเดือนก่อน
$Trigger = New-JobTrigger -Daily -At 1am $Scriptblock = { C:\Scripts\Backup.ps1 } Register-ScheduledJob -Name "Backup Job" -ScriptBlock $Scriptblock -Trigger $Trigger Get-ScheduledJob Schauen Sie sich mein Buch „PowerShell for Systems Engineers“ auf Amazon an: www.amazon.com/PowerShell-Systems-Engineers-Leveraging-Automation-ebook/dp/B0C12DPZ2C GitHub: github.com/jimrtyler/ Twitter: twitter.com...
फ़ाइलों को JSON और CSV में कनवर्ट करें
มุมมอง 123ปีที่แล้ว
Check out my book, PowerShell for Systems Engineers on Amazon: www.amazon.com/PowerShell-Systems-Engineers-Leveraging-Automation-ebook/dp/B0C12DPZ2C GitHub: github.com/powershelleng/ Twitter: JimRTyler
Making PowerShell Code with AI Using Github Copilot
มุมมอง 2.9Kปีที่แล้ว
#githubcopilot #powershell #powershellscripting Download the Github Copilot for Visual Studio Code extension here: marketplace.visualstudio.com/items?itemName=GitHub.copilot Check out my Udemy course - PowerShell for Systems Engineers - exclusively on Udemy: www.udemy.com/course/powershell-for-systems-engineers/ Check out my book, PowerShell for Systems Engineers on Amazon: www.amazon.com/Power...
PowerShell Data Types
มุมมอง 397ปีที่แล้ว
Check out my book, PowerShell for Systems Engineers on Amazon: www.amazon.com/PowerShell-Systems-Engineers-Leveraging-Automation-ebook/dp/B0C12DPZ2C GitHub: github.com/jimrtyler/ Twitter: JimRTyler
PowerShell Arrays
มุมมอง 432ปีที่แล้ว
Check out my book, PowerShell for Systems Engineers on Amazon: www.amazon.com/PowerShell-Systems-Engineers-Leveraging-Automation-ebook/dp/B0C12DPZ2C GitHub: github.com/jimrtyler/ Twitter: JimRTyler
Using Get-Help with PowerShell
มุมมอง 195ปีที่แล้ว
Check out my book, PowerShell for Systems Engineers on Amazon: www.amazon.com/PowerShell-Systems-Engineers-Leveraging-Automation-ebook/dp/B0C12DPZ2C GitHub: github.com/jimrtyler/ Twitter: JimRTyler
Understanding the $PSItem ($_) Variable in PowerShell
มุมมอง 1.5Kปีที่แล้ว
Check out my book, PowerShell for Systems Engineers on Amazon: www.amazon.com/PowerShell-Systems-Engineers-Leveraging-Automation-ebook/dp/B0C12DPZ2C GitHub: github.com/jimrtyler/ Twitter: JimRTyler
How to Set a PowerShell Profile
มุมมอง 1.6Kปีที่แล้ว
Check out my book, PowerShell for Systems Engineers on Amazon: www.amazon.com/PowerShell-Systems-Engineers-Leveraging-Automation-ebook/dp/B0C12DPZ2C GitHub: github.com/jimrtyler/ Twitter: JimRTyler
Set Up a Windows Server 2022 Test Active Directory Environment
มุมมอง 1.6Kปีที่แล้ว
Set Up a Windows Server 2022 Test Active Directory Environment
Learn PowerShell with Active Directory in Less Than 2 Hours
มุมมอง 15Kปีที่แล้ว
Learn PowerShell with Active Directory in Less Than 2 Hours
Learn PowerShell Automation in Less than 1 Hour
มุมมอง 38Kปีที่แล้ว
Learn PowerShell Automation in Less than 1 Hour
My New PowerShell Book is #1 in Windows Administration!
มุมมอง 373ปีที่แล้ว
My New PowerShell Book is #1 in Windows Administration!
Secuencia de comandos del limpiador de disco de PowerShell
มุมมอง 99ปีที่แล้ว
Secuencia de comandos del limpiador de disco de PowerShell
My 9 Year Old Learns How to Program With PowerShell
มุมมอง 327ปีที่แล้ว
My 9 Year Old Learns How to Program With PowerShell
Thank you so much bro. It worked😍
Thank you so much!!!
how about Set-ExecutionPolicy RemoteSigned ?? i am a web developer, i want to run powershell and work in python virtual environment UPDATE: i just did *Set-ExecutionPolicy RemoteSigned* then clicked *Y* for Yes Works well
W thanks
Great content indeed!
Great video, thanks!
Great content indeed!
Hey James, Great video. at the 50 minute mark you are doing some if elseif stuff with Pokemon regions. I tried it and found that any number <100 causes no output and >=100 causes proper output. I believe your variables are strings, would this cause this type of error?
Thanks a lot Sir.. I am now able to run script. GBU..
they blocked timedate.cpl 😭 I guess I'm gonna be stuck an hour and 3 minutes in the past forever now :(
this is not a PowerShell course it is a programming course, you joking??
Amazing, now my VSCODE commands are working, thanks a lot!
Helpful
hey is it possible to embed tmux status line into powershell?
This is what one could look like; I'm not sure how to keep it present on the shell though: while ($true) { # Get current time $time = Get-Date -Format "HH:mm:ss" # Get CPU usage $cpuUsage = (Get-WmiObject Win32_Processor).LoadPercentage # Get memory usage $mem = Get-WmiObject win32_operatingsystem $memFree = "{0:N1}" -f ($mem.FreePhysicalMemory/1MB) $memTotal = "{0:N1}" -f ($mem.TotalVisibleMemorySize/1MB) $memUsage = "{0:N1}" -f (($memTotal - $memFree) / $memTotal * 100) # Build the status bar string $status = "Time: $time | CPU: $cpuUsage% | Memory: $memUsage% used ($memFree MB free of $memTotal MB total)" # Clear the current line and write the status Write-Host -NoNewline "`r$status" # Sleep for a second before updating Start-Sleep -Seconds 1 }
@@PowerShellEngineer really appreciate it thank you but seems like icons are missing 😁😁
Amazing video!! Thank you!
Absolutely, no problem!
great video man ,great content.. i am begginer with basic python knowledge yet i was able to understand everything thanks a lot
No problem! I'm glad you enjoyed it.
i am having an issue to connect it keeps on saying issue with SSL
This is amazing. How could someone get access to this? Or even begin to learn how to do this themselves
can i send you a script to query dynamic groups to find users and os version?
how do you make a key press thing like: if plus pressed, press h
20:40
damn i didnt know powershell engineer lore goes deep
Thanks for the great video! Would you be able to add a link to the next lesson in the description just to make it easier to find?
For execution policy, I got this error: PS C:\Users\hssna\music> Get-ExecutionPolicy Restricted PS C:\Users\hssna\music>
So, you want to run Set-ExecutionPolicy Unrestricted That will allow you to run scripts on the system.
This was lovely, thanks
How can i change the properties i different color i see you have it green
Thank You!!!!
I found the best way to fix all errors in PowerShell. Change the font color of errors to match your background color. If you can't see the errors, they don't exist.
😂
Lmao! 😂
😂😂😂
Helpful Thanks
So, a lot of my options are blurred out. What does that mean? i cant run anything, even though I am admin, and set policy to remotesigned?
Set the policy to unrestricted and you should be good :)
@@PowerShellEngineer ahh okay, thank you sensei.
Thank you so much
This was great, my first VM for learning AD! Thanks!
No problem! So glad to help :)
... PowerShell is so powerfull that it could ruin... your entire life (in case if wrong scripts were executed...)
Finally got my script running! Thank you!
please add chapters to the video so it'll be easy to navigate
--- great video. I looked at your other videos but there wasn't an example of PowerShell using an access key to call an API. can it do that? --- 07JUL24
1:04:00 you wrote "Foreach ($peep in $HaloPeeps)", why did you use "$peep" as the value? It's part of the array $HaloPeeps; how does Powershell know to use each value in $HaloPeeps when calling $peeps for "Write-Host $peep 'has arrived' "? Is $peep a built in mechanism in PowerShell?
From Microsoft Learn, it gives this example: "foreach ($<item> in $<collection>){<statement list>} The part of the foreach statement inside parenthesis represents a variable and a collection to iterate. PowerShell creates the variable $<item> automatically when the foreach loop runs. At the start of each iteration, foreach sets the item variable to the next value in the collection. The {<statement list>} block contains the commands to execute for each iteration." It's just implicit to the way that a foreach loop works in PowerShell. There always has to be a placeholder item variable to represent the current value as it iterates through the collection.
hello
Very good!!
your repo has a dead link
Thanks
Please make more videos!!!! Powershell and your tutorials are amazing.
Can't agree more about using ChatGPT to help with writing PowerShell. It has speded up my work massively. Not that it's code always works or is 100% correct, but it does give me some hint and give me something to start or to compare with when i got stuck. Thanks for the training video.
Thank you!
Hi, can you try dos attack other device connect the router and without your device connect that router?
annoying but useful
nice video, might be good to add a few bookmarks
Thank you! There are a few in the description: Table of Contents/Chapters: 0:10 - Introduction 0:32 - Introduction to James Tyler 1:20 - What is PowerShell? 1:41 - How to open PowerShell 1:55 - Adjust the font size of PowerShell 2:13 - Check the version of PowerShell 2:45 - Comparing PowerShell with Command Prompt (CMD) 4:04 - Tips on using the shell itself (up arrow, tab completion) 4:50 - Getting & Setting Execution Policy (so you can actually run scripts!) 6:46 - Open PowerShell ISE 7:46 - Adjust Zoom in PowerShell ISE 8:14 - Write First PowerShell Script 9:06 - Run Your First PowerShell Script 9:22 - Note about PowerShell file extension 9:40 - PowerShell Coding Comments 11:14 - What are Cmdlets? 12:50 - Cmdlet Parameters 14:20 - Clearing the shell 14:29 - Use Get-Command to find Cmdlets 16:08 - PowerShell Modules 16:22 - Get-Help (similar to man in Unix systems) 18:50 - Pipeline (piping - or combining - commands) 20:48 - Variables 21:45 - Pipe a variable 22:29 - PowerShell Variable/Data Types 24:17 - Arithmetic with variables 25:09 - Objects - Chris Thomas shoutout 26:24 - Object properties 26:47 - Get all properties of an object with Select-Object 27:32 - Use Get-Member to get all of the different possible methods of an object 29:18 - Arrays 33:52 - Hashtables 39:42 - Collecting user input with Read-Host 43:44 - If... then... else conditionals 52:47 - Switch Statements 56:24 - For Loops 1:02:58 - Foreach Loops 1:04:07 - While Loops 1:09:08 - Do While Loops 1:10:25 - Defining Custom Functions 1:14:14 - Defining Custom Advanced Functions 1:17:01 - Error Handling 1:22:40 - Create a file with New-Item 1:24:05 - Create a folder with New-Item 1:24:43 - Copy file with Copy-Item 1:25:55 - Move file with Move-Item 1:26:44 - Delete file with Remove-Item 1:27:35 - Confirm if a file is there with Test-Path 1:28:35 - Rename something with Rename-Item 1:29:29 - Active Directory 1:30:20 - Load AD Cmdlets with Import-Module ActiveDirectory 1:30:41 - Get user information with Get-ADUser 1:33:46 - Change user information with Set-ADUser 1:35:30 - Add a user to a group with Add-ADGroupNumber 1:36:55 - Remove a user from a group with Remove-ADGroupMember 1:37:27 - Turn on advanced features in Active Directory Users & Computers 1:38:26 - Add a new user with New-ADUser 1:43:24 - Reset a password of a user 1:46:50 - Wrap up & conclusion
This is why I'm here! IT can't help me all the time at work so. I'm just a maintenance engineer...
great stuff thanks. was in bash world for so long and as soon as wsl2 and powershell v6 became a thing i was like "ok windows is now my machine - and i can build stuff easily cross platform too"
using -eq and -ge etc is so dumb. We already have symbols for these, why make things different in a worse way? Really, at this stage, I just want C# scripting.