Showing results for PowerShell - Developer Support

Aug 17, 2017
0
0

Nailing it: Making Sense of Vague PowerShell Errors

Pam Lahoud
Pam Lahoud

This post on troubleshooting PowerShell errors comes to us from Premier Developer consultant Rob Vettor.PowerShell is a “must-know” for Azure cloud development. Yes, it’s a scripting language, but moreover, it’s an automation engine that can execute complex tasks with minimal effort. The vast majority of Azure administrative functionality is availa...

PowerShellRob Vettor
Apr 20, 2017
0
0

Automating SQL Azure Server Firewall Rule Creation

Developer Support
Developer Support

For this installment of the Premier Developer Blog, Application Development Manager Herald Gjura shares some PowerShell scripts from his toolbox to help automate Azure SQL DB Server firewall rules. Problem to solve This is the problem I am trying to solve. I usually work with multiple Azure clients, who have granted me access to their subsc...

AzurePowerShellAzure SQL
Feb 21, 2017
0
0

When using SharePoint, don’t use $

Pam Lahoud
Pam Lahoud

In the latest post on his blog, Senior Premier Developer Consultant Brian Gregor discusses an error when using Distributed Cache PowerShell cmdlets with a user account that includes a $ in the name. https://blogs.msdn.microsoft.com/briangre/2017/01/24/when-using-sharepoint-dont-use/

TeamSharePointPowerShell
Apr 13, 2016
0
0

Tips for Writing PowerShell Scripts to Use in Build and Release Tasks

Developer Support
Developer Support

Premier Developer ALM Consultant Dave Burnison brings us this awesome collection of tips and tricks for using PowerShell in VSTS and TFS. You can now do almost anything in your build and release definitions in VSTS and TFS 2015. One of the most powerful ways to add your specific logic is to use the PowerShell task or the PowerShell on Target...

ALMVSTSVisual Studio
Oct 12, 2015
0
0

Install Android SDKs using Powershell

Andrew Arnott
Andrew Arnott

The Android SDK Manager requires a GUI and tedious searching for the SDKs that you want to install. There is a command line android.bat script that lets you install and uninstall these without the GUI but it's based on an ordinal index for each SDK so you have to run the script once, note the index(es) of the SDKs you want to install, then run anot...

andarnoPowerShellAndroid
Jul 9, 2007
0
0

How to sort the console output of a hashtable in PowerShell

Andrew Arnott
Andrew Arnott

Hashtables are inherently unsorted, but when you're printing a hashtable's contents to the console, it can certainly be helpful to sort its contents by key.  Although it's not obvious, the way to do it is pretty easy. Let's start with defining a hashtable and play with it until it's obviously unsorted. Great. Now let's sort it: Ergh! Wh...

andarnoPowerShell
Jul 9, 2007
0
0

Getting doskey macros to work in PowerShell

Andrew Arnott
Andrew Arnott

As much as I love to work with PowerShell, it was hard to give up the doskey macros I had defined for CMD.exe.  But I just found out that doskey can work all its magic for PowerShell too, so here's the trick... Doskey defaults to working only with cmd.exe, but by passing the /exename= parameter to it, you can set macros for PowerShell as we...

andarnoPowerShell