Adam Bertram avatar

Running PowerShell Scripts With Jenkins and Git

2 days ago | Adam Bertram

Learn how to set up Jenkins to execute all your PowerShell scripts in one place and get rid of scheduled tasks forever!

Rob Sewell avatar

PowerShell Notebooks in Azure Data Studio

2 days ago | Rob Sewell

The latest release of the insiders edition of Azure Data Studio brings the first edition of PowerShell Notebooks! You can download the latest insiders edition from the link above, it can be installed alongside the stable release. To access many of the commands available use F1 to open the command palette (like many of my […]

Adam Bertram avatar

PowerShell ValidateScript: Running Validation Code

2 days ago | Adam Bertram

Learn how to use PowerShell ValidateScript parameter validation and how you can make your functions better with parameter validation!

Jonathan Medd avatar

Ansible, Windows and PowerShell: the Basics – Part 4, Invoking PowerShell Code

3 days ago | Jonathan Medd

In Part 4 of this series we’ll continue our journey with Ansible, Windows and PowerShell and look at how we can use Ansible to invoke PowerShell code directly. Our job template in AWX to test out the possible different scenarios is _3_invoke-powershell The contents of _3_invoke-powershell.yml are are follows: There are three main options we … Continue reading Ansible, Windows and Power

Adam Bertram avatar

The DRY Principle: Writing Better PowerShell Code

3 days ago | Adam Bertram

Learn how to use the DRY principle with PowerShell in this PowerShell best practices article.

Get the Governance Data You Need Out of Your Power BI Gateways with PowerShell

4 days ago | Aaron Nelson

OK, before anyone yells at me: Yes, I know the On-Premises Data Gateways are now part of Power Platform, not just Power BI. I learned how to do everything in this post because of...

Thomas Rayner avatar

What’s going on with the PowerShell Summit recordings?

4 days ago | Thomas Rayner

Important Update The below post was based off of conversations that occurred in the community, and what can only be considered at best to be incomplete information. It’s important to me that I’m part of a solution to the miscommunication problems that got us to this point. James Petty, who is the CEO of the DevOps Collective just issued a post on this subject that clears up a lot of the misconceptions and miscommunications.

Przemyslaw Klys avatar

Nested Tabs, Diagram Updates, Diagram Events, Calendar Object and more in PSWriteHTML

5 days ago | Przemyslaw Klys

One of the new features I've worked on was connecting Diagrams with Tables. Someone suggested, and I thought it would be cool to be able to click on the Diagram node and find more details about it in a table next to it. But then I thought it would be even cooler if you could have multiple tables linked to one Diagram. For example, below, I've created two tables with Users and Computers and populated Diagram with that data.

Dave Carroll avatar

PowerShell Beginners Have to Start Somewhere

6 days ago | Dave Carroll

Introduction Iron Scripter grew out of the scripting games at PowerShell Summit and the quote below comes from the introductory post on the Iron Scripter site. The Chairman has decided that it is in the best interests of his Iron Scripters, and those that wish to attain that valued designation, that training continue year-round. To that end, he has commissioned a series of PowerShell challenges.

Prateek Singh avatar

Deep Dive: PowerShell Loops and Iterations

8 days ago | Prateek Singh

Hello Readers, Prateek here…. I’m so excited to announce that this article is first one of its kind “a deep dive” written by friend and guest Author ‘Akshi Srivastava’. I’m... The post Deep Dive: PowerShell Loops and Iterations appeared first on Ridicurious.

Jeff Hicks avatar

PowerShell Scripting for Linux is Still About the Objects

10 days ago | Jeff Hicks

I’ve been trying to increase my Linux skills, especially as I begin to write PowerShell scripts and tools that can work cross-platform. One very important concept I want to make sure you don’t overlook is that even when scripting for non-Windows platforms, you must still be thinking about objects. The assumption is that you are […] Check out my PowerShell Essentials page https://jdhitsolutions.

Alex Neihaus avatar

Select an Azure subscription easily

10 days ago | Alex Neihaus

Out-GridView is back in PowerShell 7

Jonathan Medd avatar

Ansible, Windows and PowerShell: the Basics – Part 3, Windows Roles and Features

10 days ago | Jonathan Medd

In Part 3 of this series we’ll continue our journey with Ansible, Windows and PowerShell and look at how we can use Ansible to prepare servers with Windows Roles and Features. The PowerShell story around support for Windows Roles and Features can be a little confusing, since there are two different sets of PowerShell cmdlets … Continue reading Ansible, Windows and PowerShell: the Basic

Adam Bertram avatar

Logging Done Right with PowerShell and the PSFramework Module

10 days ago | Adam Bertram

Learn how to do PowerShell logging right with files, the event log and more using the PSFramework module!

Jeff Hicks avatar

Making Sense of Parallel ForEach-Object in PowerShell 7

11 days ago | Jeff Hicks

By, you’ve most likely heard about the new -parallel parameter with ForEach-Object in the latest preview of PowerShell 7 Personally. I’ve been waiting for this for a long time. I used to only use PowerShell workflows because it offered a way to run commands in parallel. Having this feature as part of the language is […] Check out my PowerShell Essentials page https://jdhitsolutions.

Josh King avatar

Quick Ternary Operator Revisit: Can It Elseif?

14 days ago | Josh King

I was thinking about the new Ternary Operator and had a random thought... can it handle elseif logic?

Prateek Singh avatar

11 Ways to Create HashTable in PowerShell

14 days ago | Prateek Singh

Create PowerShell Hashtable PowerShell Hashtables are compact data structures, which are very popular and come handy in a lot of use cases. They are capable to store one or more... The post 11 Ways to Create HashTable in PowerShell appeared first on Ridicurious.

Adam Bertram avatar

How to Build a PowerShell Menu GUI for your PowerShell Scripts

15 days ago | Adam Bertram

Learn how to build a handy PowerShell menu GUI launched from the system tray in this handy article!

Jonathan Medd avatar

Ansible, Windows and PowerShell: the Basics – Part 2, Install PowerShell Modules

16 days ago | Jonathan Medd

In Part 2 of this series we’ll move on from the introductory topics and look at how we can use Ansible to prepare servers with any external PowerShell Modules they need from the PowerShell Gallery. Our job template in AWX is _1_install-psmodule The contents of _1_install-psmodule.yml are are follows: We can use the native Ansible … Continue reading Ansible, Windows and PowerShell: the

Tommy Maynard avatar

PowerShell.org New Posts – 09/2019

17 days ago | Tommy Maynard

Here’s my PowerShell.org posts for September 2019. September 2019 AWS UserData Multiple Run Framework Part IV (a) AWS Vendor-Written Generated Code AWS UserData Multiple Run Framework Part IV (b) Read-Only and Constant Variables

Alex Neihaus avatar

Display enabled Azure subscriptions

17 days ago | Alex Neihaus

A PowerShell function to list enabled Azure subscriptions

Adam Bertram avatar

How To Build an Azure Usage Report with PowerShell

17 days ago | Adam Bertram

Automate your Azure usage reports and build your own PowerShell function!

Alexander Koehler avatar

Planet PowerShell: Community Blog Feed

18 days ago | Alexander Koehler

Vielen Dank an Planet PowerShell für die Aufnahmen in diese großartige Community. Nun darf ich meinen Blog offiziell „Planet PowerShell Featured Community Blog“ nennen. Ich hoffe dass meine Artikel auch weiterhin Menschen erreichen und eventuell bei der Problemlösung unterstützen. https://www.planetpowershell.com/authors Es ist mir eine große Ehre neben großartigen PowerShell Göttern erwähnt zu werden.

Download Power BI Audit Logs with the New Get-PowerBIActivityEvent cmdlet

18 days ago | Aaron Nelson

Earlier this week a new version of the MicrosoftPowerBIMgmt module was made available on the PowerShell Gallery. Two new cmdlets were included in the module Remove-PowerBIReport and Get-PowerBIActivityEvent. The Remove-PowerBIReport cmdlet was written by...

Josh King avatar

Roll Your Sleeves Up, It's Hacktoberfest Time!

19 days ago | Josh King

I'm gearing up for my fourth Hacktoberfest event, and so should you. You could even come away from this month with a fancy new t-shirt!

Roberth Strand avatar

PowerShell and how to work with network settings

19 days ago | Roberth Strand

This one seems confusing for most, as it might be the area where most Windows sysadmins rely on the GUI. If you ask (almost) any sysadmin how to change the IP on a server, they are going to answers how to get to the network adapters in the settings. Things like this seem to be to be one of the...

Przemyslaw Klys avatar

Easy way to create diagrams using PowerShell and PSWriteHTML

19 days ago | Przemyslaw Klys

A few months ago, when I was working on PSWriteWord and PSWriteHTML, I thought to myself that in 2020 if I'll get time, I'll try to create PSWriteVisio. While I wasn't sure I would be able to make it past some concept, it was in my plans for 2020. It's still 2019 though, and while working on Testimo for Active Directory Healthchecks, I thought it would be nice to have a visual representation of network, forest schema or replication.

Jan Egil Ring avatar

Using Azure Key Vault for local administrator password rotation

19 days ago | Jan Egil Ring

In this article, we are going to see how we can leverage Azure Key Vault for storing local administrator passwords configured on Windows Servers. Before we get started, let us have a quick overview of what Azure Key Vault is. Azure Key Vault Azure Key Vault is a tool for securely storing and accessing secrets. A secret is anything that you want to tightly control access to, such as API keys, passwords, or certificates.

Adam Bertram avatar

Understanding Variable Scope in PowerShell

21 days ago | Adam Bertram

Understanding how scopes work in PowerShell with this in-depth walkthrough.

Adam Bertram avatar

Building an Active Directory Health Check Tool [In-Depth]: Part II

22 days ago | Adam Bertram

Learn how to build an Active Directory health check tool with PowerShell and generate beautiful reports!

Jerome Bezet-Torres avatar

Powershell Gallery Statistic

23 days ago | Jerome Bezet-Torres

You wish to have information about the Powershell Gallery? you are in the right place, with the powerShell module PSGalleryModule thanks @LxleChat for its module which is a prerequisite for this tool WPF. There are three ways to get Authors statistics by Module name or Powershell script or globally by...

Adam Bertram avatar

Building an Active Directory Health Check Tool [In-Depth]: Part I

23 days ago | Adam Bertram

Learn what it takes to create an Active Directory health check tool with PowerShell in this in-depth guide.

Josh King avatar

Getting Familiar with the Ternary Operator in PowerShell 7

24 days ago | Josh King

What the heck is a "ternary" and what's it doing in my PowerShell?!

Jonathan Medd avatar

Ansible, Windows and PowerShell: the Basics – Part 1, Windows Services

24 days ago | Jonathan Medd

In Part 1 of this series we’ll warm up by taking a look at the lab setup I am using, configuring some basics in AWX and what’s possible with the Ansible win_service module to configure Windows services. Lab details: For Ansible, I’m using AWX deployed in containers based from the example documented here. Additionally, I … Continue reading Ansible, Windows and PowerShell: th

vCenter Simulator CI Pipeline

25 days ago

Have you ever wanted to test against VMware vCenter, but didn’t have a lab environment available? How about in an automated fashion, every time you commit new code? My prior post in this series introduces consuming the govcsim project via Docker. With a containerized vCenter Simulator (VCSIM), not only can you locally test your VMware code without a lab environment, but you can get cute running automated tests as well.

Automate Your SQL Notebooks with Two New Options

25 days ago | Aaron Nelson

There are two new options for automating your SQL Notebooks with your SQL Servers. Earlier this month, the Insiders build of Azure Data Studio received the ability to add SQL Notebooks in SQL Agent....

Josh King avatar

Azure DevOps Pipelines Tune Up: Templates and Centralization

28 days ago | Josh King

After reading some awesome posts on the topic, I've been shamed into making my pipelines a little more efficient.

Adam Bertram avatar

The PowerShell WhatIf Parameter: Looking Before you Leap

28 days ago | Adam Bertram

Using the PowerShell WhatIf parameter and [CmdletBinding()], you can test the waters with potentially destructive PowerShell commands.

Quick Blog: Making the Power BI PowerShell cmdlets easier to use

one month ago | Aaron Nelson

One of the top reasons I love PowerShell so much is that from the beginning, it was designed to let you, yes you, make it run better for the way you work. In fact,...

Bradley Wyatt avatar

Post Notifications About Unused Office 365 Licenses to Teams using Azure Runbooks

one month ago | Bradley Wyatt

I have written several articles on using PowerShell to send alerts and notifications to Microsoft Teams, but up until now they were set up using only the task scheduler. As more and more companies move to the cloud I wanted to see how I could do cloud infrastructure alerting as well. In this article I am using an Azure RunBook to connect to my Office 365 tenant, parse my licenses, and return any that need reconciliation.

Jonathan Medd avatar

Ansible, Windows and PowerShell: the Basics – Introduction

one month ago | Jonathan Medd

Back in June of this year I presented a session at PowerShell Southampton on using Ansible and PowerShell together. There was a fair amount of interest in this topic both at the event and online afterwards, so I decided to follow it up here with a series of posts looking at the basics for someone … Continue reading Ansible, Windows and PowerShell: the Basics – Introduction →

Dan Franciscus avatar

Using Make Me Admin For Administrator Privilege

one month ago | Dan Franciscus

In this article, we discuss how to grant users simple admin rights temporarily like installing software. This helps keep IT from getting bogged down. One of the more frequent conflicts between an IT department and an end user is the use of administrative privileges. End users are used to having this permission on their personal+ Read More The post Using Make Me Admin For Administrator Privilege appeared first on WinSysBlog.

Dan Franciscus avatar

Measuring Reboot Time With PowerShell

one month ago | Dan Franciscus

In enterprise environments, you will usually find an array of different Windows operating systems, hardware and of course software. Typically, machines are managed and configured with group policy and SCCM, or perhaps other more modern methods like Chef or Puppet. One of the symptoms of an unhealthy Windows computer is the amount of time it+ Read More The post Measuring Reboot Time With PowerShell appeared first on WinSysBlog.

Alexander Koehler avatar

Installation des Modules „Send-RDMessage“ auf einem RDServer

one month ago | Alexander Koehler

Vielleicht habt ihr meinen Artikel zum Thema RDS Meldungen für alle verbundenen Benutzer gelesen. Wer diese Funktion gerne permanent innerhalb der Powershell einsetzen würde kann sich nun mein neues Modul auf dem Server installieren. Dies kann dann dazu verwendet werden alle Benutzer bei eventuellen Problemen oder Änderungen zu benachrichtigen. In diesem Artikel erkläre ich die […] Der Beitrag Installation des Modules „Send-RDMessage“ auf einem RDServer erschien zuerst auf it-koehler-blog.

Jonathan Medd avatar

Connecting To An ESXi Host With No Root Password Set

one month ago | Jonathan Medd

As part of some automated deployment work for ESXi I was assisting a colleague with, they had hit an issue with an out of the box deployment of ESXi beginning with a blank password for the root account. The automation tool of choice Ansible was using an SSH connection to ESXi to make the initial … Continue reading Connecting To An ESXi Host With No Root Password Set →

Mike Robbins avatar

PowerShell + DevOps Global Summit 2020 – Call for Speakers

one month ago | Mike Robbins

The call for speakers for the 2020 PowerShell + DevOps Global Summit is open until October 1st. I can definitely speak from experience when I say that this is the best PowerShell conference in North America if you’re interested in PowerShell and networking with other like-minded people. I’ve attended every year since its inception and have spoken at it about half as many times. While I’m in no way affiliated with the organizers, based on their site, they’re not only looking for deep-dive content but also intermediate sessions.

Josh King avatar

Can Parallel For Each Loops in PowerShell 7 Tear Me Away from PoshRSJob?

one month ago | Josh King

PoshRSJob has been my go to module for Parallelization for years... let's see if a head to head test with the new PowerShell 7 feature will change that.

Kamal Farmer avatar

How do I find all groups in common between a set of users in Active Directory?

one month ago | Kamal Farmer

Nothing fancy here.  For a given set of usernames, show me the common groups that they are *all* in. EG; if I have a list of 20 usernames, I need to check all of their group memberships and find the common thread(s) that run between every user. There are probably a dozen of ways to... Continue reading →

Przemyslaw Klys avatar

What do we say to health checking Active Directory?

one month ago | Przemyslaw Klys

Setting up a new Active Directory is an easy task. You download and install Windows Server, install required roles and in 4 hours or less have a basic Active Directory setup. In an ideal world that would be all and your only task would be to manage users, computers, and groups occasionally creating some Group Policies. Unfortunately, things with Active Directory aren't as easy as I've pictured it. Active Directory is a whole ecosystem and works well ranging from small companies with ten users to 500k users or more (haven't seen one myself - but so they say!).

Przemyslaw Klys avatar

Making PowerShellGallery modules Portable

one month ago | Przemyslaw Klys

I'm a big fan of PowerShellGallery. It's easy to use, Microsoft owned, a place to host your PowerShell modules. Every time I release a new PowerShell module, it's readily available for me or anyone with a single command Install-Module. No need to host it yourself, no need to prepare anything - plug & play. Additionally, if your PowerShell module has any dependencies, it will download and install them, so it directly works out of the box.