In this video, we explore the ins and outs of creating and customizing PowerShell profiles. Learn to import modules, define aliases, customize prompts, set default parameters and more. Whether you're a PowerShell beginner or an experienced user, this video will give you handy tips to streamline your scripting experience.
Code: https://github.com/AndrewPla/PowerShe...
00:04 Intro
00:18 What is a profile?
00:24 Execution Policy
00:49 $Profile variable
01:20 Create profile
1:45 Example profile
1:55 Set Window Title
2:15 Prompt + PSReadline
2:35 $PSDefaultParameterValues
3:05 OutDefault OutVariable LastOut
3:32 $ThisProfile
3:39 Aliases
3:49 Functions
4:04 GetMyPublicIP
4:08 GetPowerShellPodcast
Can't get enough PDQ? Subscribe and enable notifications!
• The PowerShell Podcast: https://powershellpodcast.podbean.com/
• Our blog: https://www.pdq.com/blog/
• Reddit: / pdq
• Twitter: @admarsenal
• Facebook: / pdqlive
• LinkedIn: / pdq.com
• Instagram: @pdqlife
• TikTok: @pdqlife