PowerShell Input & Output

Опубликовано: 12 Сентябрь 2019
на канале: TechThoughts
25,562
501

Learn how to take in more dynamic PowerShell input and generate various types of PowerShell output. Take more control of your PowerShell Input & Output in this short video demo. See examples of how to prompt for user input, retrieve information from the web, and use PowerShell to get file content as your input. Wrap up with various demos on how to output to console and file.

Corresponding TechThoughts write-up:
https://www.techthoughts.info/powersh...

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
00:00 - Intro
00:27 - Dynamic input using native cmdlets
06:00 - Input using Read-Host
07:50 - Input from files using Get-Content
13:03 - Input from csv using Get-Content
14:18 - Output using Write-Host
16:52 - Output using Write-Output
18:12 - Output using Out-File
20:31 - Outro

Learn PowerShell - Episode 7 - PowerShell Input & Output

Reference PowerShell code examples from this episode:
https://github.com/techthoughts2/Lear...

Check out the complete Learn PowerShell YouTube Playlist:
   • Learn PowerShell  

~
  / jakemorrison  

My recommended books for learning PowerShell:
(these affiliate links cost you nothing extra and help support this channel)
Learn PowerShell in a Month of Lunches: https://amzn.to/3mlbizz
Learn PowerShell Scripting in a Month of Lunches: https://amzn.to/3MtxJxe
Windows PowerShell in Action: https://amzn.to/3xkjGp4
PowerShell Cookbook: https://amzn.to/3tgCq6F

If you are able, and found this content valuable, please consider a secure donation in the link below. Your contribution helps offset the costs of producing this PowerShell series. Much appreciated!
https://www.paypal.com/cgi-bin/webscr...

Learn PowerShell online free in this operationally focused PowerShell series. These PowerShell tutorials are designed to get you ramped up and using PowerShell quickly. Each episode provides practical PowerShell examples for using PowerShell in the real world. Whether you are a PowerShell beginner or seeking advance PowerShell training, this Learn PowerShell series covers the topics you'll need to be effective with PowerShell!

These videos were recorded on a lot of my older equipment.
My newer videos use the following equipment:
Camera: https://amzn.to/3MsjQPu
Lens: https://amzn.to/3NrsKhJ
Teleprompter: https://amzn.to/3monqQc
Mic: Audio-Technica AT2035
Mic Preamp: https://amzn.to/3tlOvY6
Mic Arm: https://amzn.to/3NXJTiP
Audio Interface: https://amzn.to/3xqPqJu
Lighting: https://amzn.to/3O1Z2zR
Rear color lighting: https://amzn.to/3H5MIMI

#learnPowerShell #PowerShell #PowerShelltraining #PowerShellTutorial


Смотрите видео PowerShell Input & Output онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь TechThoughts 12 Сентябрь 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 25,562 раз и оно понравилось 501 людям.