![PowerShell Engineer](/img/default-banner.jpg)
- Видео 61
- Просмотров 371 258
PowerShell Engineer
США
Добавлен 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
Просмотров: 292
Видео
21 One Line PowerShell Networking Commands
Просмотров 3,3 тыс.7 месяцев назад
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"
Просмотров 5 тыс.7 месяцев назад
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...
スクリプトを毎日自動的に実行する方法
Просмотров 4797 месяцев назад
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
스크립트를 매일 자동으로 실행하는 방법
Просмотров 898 месяцев назад
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
Просмотров 1898 месяцев назад
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
किसी स्क्रिप्ट को दैनिक रूप से स्वचालित रूप से चलाने का तरीका
Просмотров 1308 месяцев назад
$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
Просмотров 748 месяцев назад
$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 में कनवर्ट करें
Просмотров 1119 месяцев назад
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,3 тыс.9 месяцев назад
#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
Просмотров 3349 месяцев назад
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
Просмотров 29910 месяцев назад
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
Просмотров 16210 месяцев назад
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,2 тыс.10 месяцев назад
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,2 тыс.10 месяцев назад
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,3 тыс.11 месяцев назад
Set Up a Windows Server 2022 Test Active Directory Environment
Splatting Variables with PowerShell
Просмотров 32811 месяцев назад
Splatting Variables with PowerShell
How to Make Custom PowerShell Modules
Просмотров 3,1 тыс.11 месяцев назад
How to Make Custom PowerShell Modules
Parsing HTML Files with PowerShell
Просмотров 2,1 тыс.11 месяцев назад
Parsing HTML Files with PowerShell
How to Connect to APIs with PowerShell
Просмотров 5 тыс.Год назад
How to Connect to APIs with PowerShell
Learn PowerShell with Active Directory in Less Than 2 Hours
Просмотров 11 тыс.Год назад
Learn PowerShell with Active Directory in Less Than 2 Hours
Learn PowerShell Automation in Less than 1 Hour
Просмотров 29 тыс.Год назад
Learn PowerShell Automation in Less than 1 Hour
My New PowerShell Book is #1 in Windows Administration!
Просмотров 360Год назад
My New PowerShell Book is #1 in Windows Administration!
Secuencia de comandos del limpiador de disco de PowerShell
Просмотров 97Год назад
Secuencia de comandos del limpiador de disco de PowerShell
My 9 Year Old Learns How to Program With PowerShell
Просмотров 293Год назад
My 9 Year Old Learns How to Program With PowerShell
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.
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.
que al darle click solo se abra el bat y inicie todo como podria hacer
Thank you, that was very easy to follow & made a lot of Sense! Thanks!
Good job Mr
WOW just wow! I got chat gpt to make a script that outputs a template for me based on my answers and I've been struggling to edit it as I don't know much, I'm only 18 minutes into this video and i was able to understand my script and make the correct edits!
Hands down, the best tutorial on youtube (on the market for that matter lol) thanks bro!
Not only get a get a nice refresh in PowerShell, but I also got to learn about the Pokémon regions.
As a new PowerShell user this was super helpful and you presented it in a fun easy to understand way. Thanks
Try doing something like this using VS CODE PowerShell extension.
Thanks man
Truly amazing tool !
Brother this is very informative and helpful! Thanks heaps!
At 00:40, how does your powershell already know that? mine doesn't do that....
Yes, but only because I had previously typed it. In PowerShell 7 (or possibly just Windows/Microsoft Terminal) it autocompletes from history.
Awesome! Just awesome!
Great watch sir, What book would you recommend for o365/Azure consultant to learn powershell? Thanks
i hate working with windows power shell since it has the c:/User/{name}/etc/etc/ which feels slower to write then ~\etc\etc the c: is really a turn off idk why
thx dude
So easy, well done. I have to keep upgrading my skills anyway, so I might just as well use the built-in teacher. Thanks so much for this.
1:25 2:15 testing port