filmov
tv
Exploring PowerShell Profile Scripts and Best Practices

Показать описание
Like other shells (ie. Bash, zsh), PowerShell offers the ability to hook into shell startup events and initialize your environment by importing modules, setting environment variables, customizing your PowerShell prompt function, and other such desired tweaks.
The difference with PowerShell is that it offers four, unique hooks depending on the scope of users and PowerShell host applications that you want to customize. For example, you might want to create one customization for the PowerShell console host, but have a different customization for Visual Studio Code. You also might want customization to apply to just yourself on a developer laptop, but on a server, apply to all users who login to it.
The goal of this video is to explore the 4 different options that you have available to hook into PowerShell profile scripts. We will also discuss some of the best practices to take into account as you create a PowerShell profile script, to ensure best performance and portability.
Producer: Trevor Sullivan
#PowerShell #DevOps #Microsoft
The difference with PowerShell is that it offers four, unique hooks depending on the scope of users and PowerShell host applications that you want to customize. For example, you might want to create one customization for the PowerShell console host, but have a different customization for Visual Studio Code. You also might want customization to apply to just yourself on a developer laptop, but on a server, apply to all users who login to it.
The goal of this video is to explore the 4 different options that you have available to hook into PowerShell profile scripts. We will also discuss some of the best practices to take into account as you create a PowerShell profile script, to ensure best performance and portability.
Producer: Trevor Sullivan
#PowerShell #DevOps #Microsoft
Exploring PowerShell Profile Scripts and Best Practices
Show and Tell: Share your PowerShell Profile Scripts
How to create Powershell profile and powershell functions
How to Set a PowerShell Profile
Powershell Tutorial - Custom Profiles - CH15
Profile in PowerShell | PowerShell Tutorial
Creating and customizing PowerShell Profile
PowerShell Profile: Location and Examples
#powershell About PowerShell Profiles & Execution Policies
Profiling PowerShell scripts
PowerShell S1E48 (Profiles)
PowerShell 11 - Creating a New Alias and adding it to your PowerShell profile
PowerShell Profile Customization: Learn how to create and use your Profile!
Best Practices on Where to Put PowerShell Scripts
Understanding PowerShell Profiles
PSConfEU MiniCon 2023 - Designing Beautiful APIs with Azure PowerShell Functions - Chrissy LeMaire
Windows Powershell: Creating and Modifying Profiles
New PowerShell Secrets Management Module - Easily use any secret provider
Chapter 24 - Profile Scripts.mov
Creating a PowerShell profile
PowerShell 09 - Creating your first PowerShell profile from scratch
Understanding PowerShell Profiles In Visual Studio Code
PowerShell Core: $profile setup
Chapter 5 - Profile Scripts.mp4
Комментарии