question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Powershell script in Deployment Helper

See original GitHub issue

The Deployment Helper web app currently provides the AZ CLI commands to be run in a bash script.

It would be nice if we could add a toggle option for powershell users.

eg.

Bash;

az deployment group create -g innerloop  --template-uri https://github.com/Azure/AKS-Construction/releases/download/0.8.8/main.json --parameters \
	resourceName=az-k8s-fat1 \
        authorizedIPRanges="[\"1.2.3.4/32\"]"

Pwsh;

az deployment group create -g innerloop  --template-uri https://github.com/Azure/AKS-Construction/releases/download/0.8.8/main.json --parameters `
   resourceName=az-k8s-fat1 `
   authorizedIPRanges="['1.2.3.4/32']"

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
Jaykulcommented, Nov 13, 2022

Speaking as a PowerShell MVP, I want to see this in PowerShell with the Az modules, but you’ve got four or five hundred lines of bash in postdeploy/scripts! Assuming you’re not going to ditch bash and tell everyone to install pwsh – I don’t think you want anyone to put effort into porting that to PowerShell – you’ll just end up with two copies of the same functionality that you have to maintain…

1reaction
fireblade95402commented, Oct 3, 2022

Thinking of something like this:

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create and run scripts - Configuration Manager - Microsoft Learn
Create and run PowerShell scripts on client devices.
Read more >
Using PowerShell scripts in deployment - Documentation
PowerShell is a powerful scripting language which can be used to customize the behavior of your package deployments. For useful examples of ...
Read more >
Deployment Scripts - Microsoft Open Source
A number of PowerShell scripts are provided in the Virtual Assistant Template to help deploy and configure your different resources.
Read more >
Deploying Powershell Scripts - DeployCentral
I want to know if you can deploy powershell scripts to client computer ... Is there a log file I can view to...
Read more >
Best Way To Deploy Powershell Script Using Intune
The Intune PowerShell script deployment is done using Intune management extension agent. This is an additional agent that gets automatically ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found