Emmanuel Demilliere avatar

Office 365 portals language PowerShell

7 hours ago | Emmanuel Demilliere

Office 365 portals language Hello, When using a worldwide Office 365 tenant, you have some challenges about the portals & web pages languages. Indeed, each tenant has a “default language”, but for big companies that span through different countries, we … Continue reading → The post Office 365 portals language PowerShell appeared first on IT for Dummies.

Przemyslaw Klys avatar

Getting Azure Health by parsing HTML using PSParseHTML

yesterday | Przemyslaw Klys

Some time ago I've wrote PowerShell way to get all information about Office 365 Service Health, and if you were thinking that I would try the same concept for Azure Services you were right. However, I failed. This is because Office 365 Health can be gathered using Microsoft Graph API, and Azure Health information, as far as I know, is not available in the form I wanted it. Azure Status is available as part of Azure Status website.

Dave Carroll avatar

Writing Windows Events with Smart EventData

2 days ago | Dave Carroll

Introduction I’ve spent quite some time researching how to create events using EventData with named Data elements. It’s not easy and is even less easier to write some PowerShell to make it “dynamic”. EventData with Named Data In order to enable named Data elements in your event logs, you have to go through several hoops. I won’t go through them in this post, but here are some links to various posts that can help you get started.

Prateek Singh avatar

Plotting Azure Metrics in PowerShell Console Graphs

2 days ago | Prateek Singh

Hello! This is a quick blog post to demonstrate how to plot your Azure Metrics of any Resource in your PowerShell Console using the “Graphical Module” I’ve written sometimes back.... The post Plotting Azure Metrics in PowerShell Console Graphs appeared first on Ridicurious.

Jeff Hicks avatar

PowerShell Paths and Errors

3 days ago | Jeff Hicks

As you write PowerShell scripts, it is important that you include error handling. Most of the time, this involves the use of Try/Catch statements. The tricky thing with Try/Catch is that you can only catch a terminating exception. There are a few cmdlets that by design will throw a terminating exception. But you have no... Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/ess

Przemyslaw Klys avatar

Microsoft Graph – InvalidAuthenticationToken – Access token validation failure. Invalid audience

3 days ago | Przemyslaw Klys

The post Microsoft Graph – InvalidAuthenticationToken – Access token validation failure. Invalid audience appeared first on Evotec.

Tommy Maynard avatar

PowerShell.org New Posts – 11/2019

3 days ago | Tommy Maynard

Here’s my PowerShell.org posts for November 2019. This was a first — I didn’t write any new PowerShell content at PowerShell.org (or anywhere) in November. It’s the first time since June 2014 where this happened. It feels weird. All that said, I did do something. I took some “free” time to help at Adam the […]

Jeff Hicks avatar

My PowerShell Hyper-V Health Report

4 days ago | Jeff Hicks

Over the last few years I’ve been using and tweaking a PowerShell script that generates an HTML report that provides information about a Hyper-V host and running virtual machines. This is another great use case for a PowerShell control script. The script helps me organize commands like Get-CimInstance, Get-VM and Get-Counter to retrieve pieces of... Check out my PowerShell Essentials page https://jdhitsolutions.

Adam Bertram avatar

Understanding Mocking in Pester

5 days ago | Adam Bertram

In Pester, mocking is sometimes difficult to understand. Get some clarity in this walkthrough demonstration of how it works!

Mike Kanakos avatar

Getting Started with PowerShell: The First Five Commands You Need to Master

5 days ago | Mike Kanakos

These five commands will help you master the advanced features of PowerShell.

Adam Bertram avatar

How To Manage IIS Websites In PowerShell

5 days ago | Adam Bertram

Learn, step by step, how to build a PowerShell script to create an IIS website, managing IIS bindings and more!

Jeff Hicks avatar

Managing the Recycle Bin with PowerShell

6 days ago | Jeff Hicks

A while ago, I posted an Iron Scripter challenge asking you to write some PowerShell code for working with items in the recycle bin. You were asked to calculate how much space the recycle bin is using and then restore a file. If you’d prefer, stop reading this post, check out the challenge and see... Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/essential-powershell

Jonathan Medd avatar

Ansible, Windows and PowerShell: the Basics – Part 9, Disk Creation

6 days ago | Jonathan Medd

In Part 9 of this series we’ll continue our journey with Ansible, Windows and PowerShell and look at how to handle disk creation. After ‘physically’ adding the new disk, either in a physical server or private / public cloud VM, typically you will need to initialize, partition and format it ready for use. In Windows … Continue reading Ansible, Windows and PowerShell: the Bas

Adam Bertram avatar

How to Deploy and Update Azure VM Scale Sets with PowerShell

6 days ago | Adam Bertram

In this step-by-step tutorial, learn how to deploy an Azure VM scale set, deploy an application and scale it for high availability.

Emmanuel Demilliere avatar

Convert AzureAD ImutableID to MsDsConsistencyGUID

7 days ago | Emmanuel Demilliere

Convert AzureAD ImutableID to MsDsConsistencyGUID Hello, When working with AADConnect, Active Directory & Azure AD, you may have to perform some hard matches to solve some weird issues, or for restoration purposes. Some time ago, I wrote an article that … Continue reading → The post Convert AzureAD ImutableID to MsDsConsistencyGUID appeared first on IT for Dummies.

Luc Fullenwarth avatar

How to easily sign PowerShell scripts

8 days ago | Luc Fullenwarth

In VSCode there is currently no builtin feature, nor extension to assist us in signing PowerShell code...

Jeff Hicks avatar

Friday Fun: Getting Ahead with Windows Terminal

9 days ago | Jeff Hicks

I’ve been using the new Windows Terminal from Microsoft for quite while. In fact, it has become my standard command line interface for PowerShell and more. I’m not sure at what point some of these features were added, but I can now set a background image and specify where to display it in the terminal.... Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/essential

Rob Sewell avatar

How to fork a GitHub repository and contribute to an open source project

10 days ago | Rob Sewell

I enjoying maintaining open source GitHub repositories such as dbachecks and ADSNotebook. I absolutely love it when people add more functionality to them. To collaborate with a repository in GitHub you need to follow these steps Fork the repository into your own GitHub Clone the repository to your local machine Create a new branch for […]

Dave Carroll avatar

Get-History Lesson

10 days ago | Dave Carroll

A Quick History Lesson Today, I did a significant amount of work in a PowerShell session and, even though most of what I did was copy/pasted from a file (open in VS Code), I wanted to grab only the essential commands from the session. Instead of scrolling or arrowing up (which is actually using PowerShell history, by default), you can list all of the commands that you have executed in your session, up to a predefined maximum.

Josh King avatar

Tired of Massive "like" Operator Chains? Rub a Little RegEx on It

11 days ago | Josh King

RegEx continue to prove itself as a valuable tool in my tool belt when scripting. Sometimes it can save you a lot of time and many lines of code.

Adam Bertram avatar

Back to Basics: Understanding PowerShell Objects

12 days ago | Adam Bertram

In this back to basics article, Bill Kindle covers PowerShell objects including object properties, methods and how to work with them.

Adam Bertram avatar

PowerShell vs. Python: A Battle for the Ages

12 days ago | Adam Bertram

Learn who wins in the PowerShell vs. Python battle in this basic overview of each powerful language.

Dan Franciscus avatar

Using Invoke-Command In PowerShell

12 days ago | Dan Franciscus

In this article, Dan Franciscus covers how to use the Invoke-Command and why it is one of his favorite commands to use in PowerShell. Ever since I started using PowerShell as my command prompt and scripting language, there are various cmdlets that I admire. To me, Invoke-Command has been my favorite cmdlet to use for a few+ Read More The post Using Invoke-Command In PowerShell appeared first on WinSysBlog.

Jeff Hicks avatar

PowerShell Controller Scripts

13 days ago | Jeff Hicks

When it comes to PowerShell scripting we tend to focus a lot on functions and modules. We place an emphasis on building re-usable tools. The idea is that we can then use these tools at a PowerShell prompt to achieve a given task. More than likely, these tasks are repetitive. In these situations, it makes... Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/essential-powershel


Bradley Wyatt avatar

Backup and Restore your Intune Configuration using PowerShell

13 days ago | Bradley Wyatt

I found this fantastic PowerShell module from jseerden that queries Microsoft Graph, and allows for cross-tenant Backup & Restore of your Intune Configuration. The Intune Configuration is backed up as JSON files in a given directory. The module allows an administrator to backup, restore and even compare different Intune backup sets. Pre-Requisites The module requires a total of 3 modules to be present, you can install them by running the following commands in an administrative PowerShell prompt: AzureAD Module AzureAD (Install-Module -Name AzureAD) MSGraphFunction Module MSGraphFunction (Install-Module -Name MSGraphFunctions) IntuneBackupandRestore Module The IntuneBackupandRestore PowerShell module is hosted on the PowerShell Gallery.

Guido Oliveira avatar

Baixando as Sessões do Ignite 2019 por Keyword pelo Powershell

13 days ago | Guido Oliveira

Olá pessoal, Recentemente tivemos o Ignite 2019 e junto deles inumeras gravações das sessões foram disponibilidadas, como o volume de sessões era muito grande decidi fazer […] O post Baixando as Sessões do Ignite 2019 por Keyword pelo Powershell apareceu primeiro em Guido Oliveira.

Dan Franciscus avatar

Four Chocolatey Security Features

13 days ago | Dan Franciscus

The process of securely installing software in Windows is something that IT professionals grapple with, especially in an enterprise setting. The idea of using package management in Windows is a recent development with Chocolatey and has brought additional security enhancements, especially with the Chocolatey for Business version. The Chocolatey folks have gone to great lengths+ Read More The post Four Chocolatey Security Features appeared first on WinSysBlog.

Andy Levy avatar

Monday Morning Module Maintenance Monoliners

14 days ago | Andy Levy

Or: Andy Authors An Amazing Alliteration Do enough work with PowerShell and you’ll build up a decent collection of modules installed from the gallery into either your computer or your user profile (or maybe both!). Here are two one-liners to help keep things up to date and tidy. Note: I’m calling these one-liners but I’ve … Continue reading "Monday Morning Module Maintenance Monoliners"The post Monday Morning Module Maintenance Monoliners appeared first on FLX SQL with Andy Levy.

Guido Oliveira avatar

Tocando um Som ao fim de cada comando no Powershell

14 days ago | Guido Oliveira

Ola pessoal, Recentemente tive uma ideia de tocar um som aleatorio ao final da execucao de cada comando no Powershell customizando a funcao prompt, para o […] O post Tocando um Som ao fim de cada comando no Powershell apareceu primeiro em Guido Oliveira.

Rob Sewell avatar

Dynamically Creating Azure Data Studio Notebooks with PowerShell for an Incident Response Index Notebook

17 days ago | Rob Sewell

Now that Azure Data Studio has PowerShell Notebooks and there is a PowerShell Module for creating notebooks. I have been asked, more than once, what is the point? What is the use case? How does this help. I hope that this post will spark some ideas of one particular use-case. I showed my silly example […]

Przemyslaw Klys avatar

Set-PSRepository Installation Policy Trusted – Invalid Class Error

18 days ago | Przemyslaw Klys

I have to admit - executing the same command three times and expecting different results is dumb, but I still do it anyway. Fortunately, after trying three times I usually resort to other methods and try to solve the problem I have. Today while trying to trust PowerShellGallery I was greeted with an error. The post Set-PSRepository Installation Policy Trusted – Invalid Class Error appeared first on Evotec.

Josh King avatar

Crouton #13 - Hitting Snooze

18 days ago | Josh King

Hitting snooze on your alarm clock is probably rather common. Let's take a look at how you can do the same thing with your Toast Notifications.

Bradley Wyatt avatar

Office 365 Email Address Policies with Azure Automation

18 days ago | Bradley Wyatt

Email address policies (EAP) define the rules that create email addresses for recipients. By setting up policies you can guarantee your users will have certain email address that follow the rules you have set in place. Unfortunately, in Office 365 Exchange Online there are no email address policies you can set for your users. In a larger organization where multiple people may be creating and editing users in Exchange Online, it’s possible that not all your users are following the address scheme you or your company has implemented.

Jonathan Medd avatar

Want to become a maintainer of PowervRA or PowervRO?

20 days ago | Jonathan Medd

When Craig and I first created PowervRA and PowervRO in 2016 we only initially thought about using them for our own purposes, since we were on a project at the time which required heavy use of automation around vRA and vRO. When we decided to put them out into the community we never expected them … Continue reading Want to become a maintainer of PowervRA or PowervRO? →

Adam Bertram avatar

PowerShell: The Software that Changed My Life

20 days ago | Adam Bertram

In this personal blog post, learn how one technology managed to change the entire trajectory of a sysadmin.

Przemyslaw Klys avatar

Removing user from local administrator group based on data stored in Active Directory

21 days ago | Przemyslaw Klys

We need to deal with a group names through SID's rather than names because each group name is different in different languages. The second problem is to distinguish whether a user is a local or domain user. Finally, I need to connect to Active Directory to verify if the user I am about to remove has ExtensionAttribute10 (or any other field in AD) filled in or not. The post Removing user from local administrator group based on data stored in Active Directory appeared first on Evotec.

Bradley Wyatt avatar

Deploy Web Link Shortcuts to the Desktop and Start Menu Using Intune

24 days ago | Bradley Wyatt

I am currently doing a Auto Pilot / Intune deployment and was asked how we could deploy web link shortcuts to the users desktop as well as the start menu. Currently when you do a web link app deployment in Intune it will only ‘install’ it in the users Start menu and not the users desktop. By leveraging PowerShell and Intune Configuration policies we can have it deploy to the start menu and the desktop.

Jeff Hicks avatar

Watching the Watcher with PowerShell

24 days ago | Jeff Hicks

If you followed along with my recent articles about my PowerShell based backup system, you may recall that I used a PowerShell scheduled job an an event subscriber to monitor for file changes in key folders that I want to back up. I created the scheduled task to run at Windows startup and so far... Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/essential-powershell-resourc

Adam Bertram avatar

PowerShell Multithreading: A Deep Dive

25 days ago | Adam Bertram

In this deep dive article, learn all about PowerShell multithreading with jobs, runspaces and runspace pools!

Rob Sewell avatar

Create a PowerShell Notebook for Azure Data Studio with PowerShell

25 days ago | Rob Sewell

The latest update to the ADSNotebook PowerShell module I blogged about here now enables the creation of PowerShell notebooks with PowerShell. You can install the module with or if you have already installed it you can use In the latest release, there is an extra parameter for New-AdsWorkBook of -Type which will accept either SQL […]

Tommy Maynard avatar

PowerShell.org New Posts – 10/2019

26 days ago | Tommy Maynard

Here’s my PowerShell.org posts for October 2019. October 2019 Read-Only and Constant Functions

Tomasz Dabrowski avatar

Protected: Sure backup automation – Veeam Backup & Replication and PowerShell power combined

26 days ago | Tomasz Dabrowski

There is no excerpt because this is a protected post.

Jeff Hicks avatar

Creating a PowerShell Backup System – Part 4

26 days ago | Jeff Hicks

We’re almost to the end of my PowerShell backup system. Last time I showed you how I handle my daily incremental backups. Today I figured I should circle back and go over how I handle weekly full backups. Remember, I am only concerned about backing up a handful of critical folders. I’ve saved that list... Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/essential

Przemyslaw Klys avatar

Emailimo merged into PSWriteHTML, IE support and no dependencies

27 days ago | Przemyslaw Klys

If you don't know this yet, I use PSWriteHTML a lot. That means I get to test it under a lot of different conditions. I use it in reports, emails for small, medium, and large companies. Today's blog post summarizes the work I did in the last few weeks over different areas of PSWriteHTML. The post Emailimo merged into PSWriteHTML, IE support and no dependencies appeared first on Evotec.

Adam Bertram avatar

Set-ADUser: Modifying Active Directory Users with PowerShell

27 days ago | Adam Bertram

Learn how to use the Set-ADUser PowerShell cmdlet to automate modifying AD user accounts with PowerShell.

Jonathan Medd avatar

Ansible, Windows and PowerShell: the Basics – Part 8, Rebooting & Waiting

27 days ago | Jonathan Medd

In Part 8 of this series we’ll continue our journey with Ansible, Windows and PowerShell and look at how to handle reboots. Despite improvements in Windows over the years, it’s still pretty common as part of VM or application deployment to need to restart the VM and wait for it to be available before carrying … Continue reading Ansible, Windows and PowerShell: the Basics – Part 8

Jeff Hicks avatar

Creating a PowerShell Backup System – Part 3

28 days ago | Jeff Hicks

Let’s continue exploring my PowerShell based backup system. If you are just jumping in, be sure to read part 1 and part 2 first. At the end of the previous article I have set up a scheduled job that is logging changed files in key folders to CSV files. The next order of business is... Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/essential-powershell-resources/

Mike Kanakos avatar

Video: Configuring PowerShell Remoting security & logging

28 days ago | Mike Kanakos

Remoting in PowerShell unfairly gets a bad rap in the security world. When done right; PowerShell remoting is equal to SSH.

Jeff Hicks avatar

Creating a PowerShell Backup System Part 2

one month ago | Jeff Hicks

Yesterday I began a series of articles documenting my PowerShell based backup system. The core of my system is using the System.IO.FileSystemWatcher as a means to track daily file changes so I know what to backup. However there are some challenges. I need to watch several folders, I need to have an easy way to... Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/essential-pow