Production and Development Environments in PowerShell Universal using Git

  Рет қаралды 234

Adam Driscoll

Adam Driscoll

Күн бұрын

In this video, I walk through the steps to setup a production and development environment for PowerShell Universal using git for configuration file storage. We'll setup a GitHub repository and configure 2 instances of PowerShell Universal. One instance uses the main, or production, branch and one uses the dev branch. From there we'll make some changes in dev and promote them to prod through pull requests.

Пікірлер: 3
@kristofstroobants3429
@kristofstroobants3429 Ай бұрын
Say I write a script that targets Exchange O365, I'll have a tenant for LAB and one for PROD. The code of the script would then be identical across environments but the underlying configuration (the credential vaults for instance) would be unique to their environment. I assume, as long as you build up those vaults the same way (variable names), your code should function correctly? To add to your example of the Title. What if i would chose different colors per environment? Since I would start out at the LAB env, it would automatically find itself into PROD. So how do you go about that? Write if statements per domain in each of the settings files? But what about schedules? The schedules in LAB will differ from PROD. I guess what I'm asking is, how to go about these things best?
@WindosNZ
@WindosNZ 2 ай бұрын
Apologies if I missed it in the video. Are there licensing implications of running multiple instances of PSU like this?
@AdamDriscoll
@AdamDriscoll 2 ай бұрын
Yes. You will need a license for each instance of PSU.
Quickly Run PowerShell Universal in Azure
4:21
Adam Driscoll
Рет қаралды 211
PowerShell Basics - Variables
13:14
Adam Driscoll
Рет қаралды 1,5 М.
This mother's baby is too unreliable.
00:13
FUNNY XIAOTING 666
Рет қаралды 41 МЛН
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 25 МЛН
Synyptas 4 | Арамызда бір сатқын бар ! | 4 Bolim
17:24
What is GitOps, How GitOps works and Why it's so useful
11:33
TechWorld with Nana
Рет қаралды 355 М.
I reverse engineered Next to find what they are hiding
29:48
Theo - t3․gg
Рет қаралды 12 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,2 МЛН
PowerShell Universal v5 - PowerShell Universal Agents
7:24
Adam Driscoll
Рет қаралды 447
PowerShell Universal Training - APIs - Security
14:08
Adam Driscoll
Рет қаралды 1 М.
Why Agent Frameworks Will Fail (and what to use instead)
19:21
Dave Ebbelaar
Рет қаралды 75 М.
The only Cloud services you actually need to know
17:17
NeetCodeIO
Рет қаралды 176 М.
git rebase - Why, When & How to fix conflicts
9:45
Philomatics
Рет қаралды 54 М.
PowerShell Basics - Strings
24:20
Adam Driscoll
Рет қаралды 2,7 М.
This mother's baby is too unreliable.
00:13
FUNNY XIAOTING 666
Рет қаралды 41 МЛН