No subscription found in the context.
Jason Yoder, MCT
by Jason Yoder, MCT
4y ago
FRUSTRATION!!! Don’t you just love it when you change nothing and then something breaks?  Working with VSCode and Azure, I do a lot of Infrastructure as Code.  I love the idea of being able to write code that builds exactly what I want, every time.  The problem is that on occasion, things change outside the scope of my code and now I am trying to solve a mystery.  The latest one involves whenever I run a simple Azure command.  For exam, Get-AZVM. This should not be hard.  Well, here is the result in VSCode. No subscription found in the context. Please ensure tha ..read more
Visit website
Registering an Azure Resource Provider with PowerShell
Jason Yoder, MCT
by Jason Yoder, MCT
4y ago
Azure seems to be the cloud that just keeps building and building. Resource providers allow Azure to provide services.  For example, virtual machines utilize the Microsoft.Compute resource provider to provide services to Azure so you can have a virtual machine.  Checkout this article to see what the Microsoft.Compute exposes to Azure: https://docs.microsoft.com/en-us/azure/role-based-access-control/resource-provider-operations#microsoftcompute It is not that exciting to look at.  What is exciting is what resource providers can do.  Azure acts as an orchestrator.  The resource providers tell ..read more
Visit website
My Advanced PowerShell Class has just been updated!
Jason Yoder, MCT
by Jason Yoder, MCT
4y ago
First of all, thank you to my fellow presenters at PowerShell Conference Asia 2019.  All of you really helped me to update the content of my advanced PowerShell class.  Content will be delivered in PowerShell 7.  We will be addressing compatibility with your pre-exiting scripts when running in PSv7 as well as providing a few new tricks. As you can see, I am also adding in content on some of the experimental features that I think are going to be a hit.  If you are interested, drop me an email and I'll help get you into a physical class or join me on an online class ..read more
Visit website
My VSCode Configuration for PowerShell
Jason Yoder, MCT
by Jason Yoder, MCT
4y ago
Two weeks ago, I had the honor of delivering a workshop at PowerShell Conference Asia in Bangalore.  My workshop was called Zero to Hero where I taught the fundamentals of PowerShell with the goal of allowing the conference attendees to have the confidence to attend the rest of the high-level sessions.  It was a success!  With 60 PowerShell enthusiasts enrolled, the organizers had to close registration. I made the decision to utilize VSCode as our scripting platform to get the attendees on the path from the ISE to VSCode.  One of the first questions given to the PowerShell team memb ..read more
Visit website
The Return of Out-GridView
Jason Yoder, MCT
by Jason Yoder, MCT
4y ago
Yes, our beloved cmdlet Out-GridView has been returned to us!  The original Out-Gridview was an easy and convenient way to quickly create GUI output and to accept limited input. In PowerShell Core (PSv6) we lost our beloved cmdlet.  Well, it is back! For these demonstrations I am utilizing PowerShell 7-Preview 4.  Out-GridView still works the same as it did before. Let’s take a look at a few of the features and what is new with Out-GridView.  The Quick Serachfield works the same at the Filter field in the Windows PowerShell version of Out-Gridview.  Type something and if what you ..read more
Visit website
How to Create and Use a Multi-Dimensional Array with PowerShell
Jason Yoder, MCT
by Jason Yoder, MCT
5y ago
An array is a neat little data structure that allows you to store more than one piece of information in a single variable.  Take a look at the examples below. $VariableName 10 In this example, we have a standard variable.  It contains only one value. PS C:\> $VariableName 10 An array is a bit different.  It stores each value in a unique index number. $Array1 0 Apple 1 Pear 2 Plum PS C:\> $array1 Apple Pear Plum PS C:\> $array1[1] Pear A multidimensional array is like a grid (2 dimensional) or a cube (3 dimensiona ..read more
Visit website
Active Directory Web Services Configurations
Jason Yoder, MCT
by Jason Yoder, MCT
5y ago
Yes, I am actually taking the time to add some blog posts! In class today we had a question about setting the MaxGroupOrMemberEntries to Unlimited in the Active Directory Web Servers configuration file.  Unfortunately, I could not find a way.  Just set this value to be very high.  Just remember, your results must come within 5 minutes or you will hit the time out.   I also forgot how hard it was to find these settings.  Here is a link to the Microsoft article that contains the configuration properties and how to use them:  https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/win ..read more
Visit website

Follow Jason Yoder, MCT on FeedSpot

Continue with Google
Continue with Apple
OR