PowerShell for Admins

PowerShell for Admins
pwshliquori
PowerShell for Admins

Azure DevOps – Enable "Allow scripts to access the OAuth token" using PowerShell

Azure DevOps allows us to run custom scripts to help our software and infrastructure get delivered quickly. There are times that the scripts run without an issue, however, sometimes there is a need to invoke the Azure DevOps Rest API in the release pipeline to get our scripts running. Sure, you can create a script invoking the API, authenticating with Azure DevOps with your personal access token and should work, but there is a better solution.

pwshliquori
PowerShell for Admins

Get-Command – One of the best Cmdlets besides Get-Help

So laying on the sofa, sick, bored out of my mind, what better way to spend my time then writing a blog post about Get-Command . The Get-Command Cmdlet is apart of the Microsoft.PowerShell.Core module, it was introduced in PowerShell version 1.0 and is one of the most useful Cmdlets to find a command you are looking for. It has a variety of parameters that allow you to search for a command by using a combination of parameters or just using

Nathaniel Webb (ArtisanByteCrafter)
PowerShell for Admins

Learn To Use Verbose Output Streams In Your Pester Tests

I’m going to file this under “Either I’m a genius, or there’s a much better way and everyone knows it except for me.” I recently began adding a suite of Pester tests to one of my projects and I found myself needing to mock some unit tests against a particular function that would modify a variable based on the parameter specified. Since all the functions I write nowadays are considered advanced functions (and yours should be too, they’re free!

Nathaniel Webb (ArtisanByteCrafter)
PowerShell for Admins

Secure Your Powershell Session with JEA and Constrained Endpoints

Index What is a Constrained Endpoint and Why Would I Need One? Setup and Configuration Using our Endpoint What is a constrained endpoint and why would I need one? Powershell constrained endpoints are a means of interacting with powershell in a manner consistent with the principal of least privilege. In Powershell terms, this is referred to as Just-Enough-Administration, or JEA. JEA is very well documented, so this won’t simply be repeating everything those references detail.

pscookiemonster
Events

2019 Community Lightning Demos

Rambling I’m a huge fan of lightning demos. From the community and PowerShell Team lightning demos we get at the summit, to PSPowerHour, to various local groups and conferences using the format. At the 2019 PowerShell + DevOps Global Summit, we’ll have about 90 minutes for these demos - now we just need proposals from you! So! Why might you be interested in lightning demos? Why Lightning Demos Lightning demos are great for the audience and speakers alike.