Luke Murray avatar

Add a Log Analytics workspace to Microsoft Monitoring Agent using PowerShell

yesterday | Luke Murray

Have you ever wanted to add a Log Analytics workspace to multiple Microsoft Monitoring Agent (MMA)’s before? Maybe you are setting up Windows Defender or wanting to redirect to collect event or performance logs. This little quick script will help get you started on automating adding a Log Analytics workspace to the MMA agent, even through a proxy. Note: It is recommended to have the latest MMA Agent installed, this is not compatible with SCOM 2012 R2 agents, but the latest agent is supported by SCOM.

Matthew Dowst avatar

PowerShell Weekly – June 11, 2021

3 days ago | Matthew Dowst

Here is your weekly round up of what is happening in the world of PowerShell. Do you have a suggestion for this post? Do you know something that should be included? Let me know in the comments below, or on twitter.

Dave Carroll avatar

#PSFollowFriday Tweet with BluebirdPS

4 days ago | Dave Carroll

Introduction Last year, I began exploring the Twitter API and wrote a module that adhered to PowerShell and general development best practices, one that seeks community input and involvement. Since then I’ve released a few versions of the BluebirdPS module and I am using it to generate my #PSFollowFriday Tweets. In the article that follows, I will take you through the BluebirdPS commands that I use to create these Tweets.

Paolo Frigo avatar

How to show all known Wi-Fi network SSIDs and Passphrases with Powershell

5 days ago | Paolo Frigo

I think is very important to remember how much information is stored on our laptops over the years, this is the case also for all wireless networks with (SSID and Passphrase) that our OS stores and use to connect automatically. Retrieving this information can be performed either via the GUI or CLI, but I was … Continue reading "How to show all known Wi-Fi network SSIDs and Passphrases with Powershell" The post How to show all known Wi-Fi network SSIDs and Passphrases with Powershell first appeared on Scripting Library.

Adam Bertram avatar

Your Goto Guide for Working with Windows WMI Events and PowerShell

6 days ago | Adam Bertram

Learn about how WMI events work and how you can create some awesome tools with PowerShell in this tutorial!

Matthew Dowst avatar

PowerShell Weekly – June 4, 2021

9 days ago | Matthew Dowst

Here is your weekly round up of what is happening in the world of PowerShell. Do you have a suggestion for this post? Do you know something that should be included? Let me know in the comments below, or on twitter.

Kelvin Tegelaar avatar

Automating with PowerShell: Quickly offboarding a M365 user

11 days ago | Kelvin Tegelaar

This is a bit of a sidetrack from my usual stuff – I normally focus on the larger and more procedural issues because I always believe that everyone does offboarding/onboarding in a different way, some people create shared mailboxes, others leave the license intact, or something else entirely. But one of my readers asked “Is... Read More The post Automating with PowerShell: Quickly offboarding a M365 user appeared first on CyberDrain.

Christian Hoejsager avatar

Automate Updating a Minecraft Server

12 days ago | Christian Hoejsager

In this article, I will go over the process of creating a Powershell script on a Linux Ubuntu server to automate updating my Bedrock Minecraft server. The reason for this is that I am not playing Minecraft that much myself, but I am hosting a server for some friends who Continue Reading

Darren Robinson avatar

Subscribing to Azure AD Change Notifications with PowerShell

12 days ago | Darren Robinson

Microsoft Graph webhooks or the ability to receive an Azure AD Change Notification has been around for some time. However, as I primarily deal with Azure AD for user and group objects I never previously had the need to utilize them.… keep reading The post Subscribing to Azure AD Change Notifications with PowerShell appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Christian Hoejsager avatar

Powershell Script For Installing Minecraft Bedrock Edition

12 days ago | Christian Hoejsager

In this article, I will go over the process of how I have developed a Powershell script to automate the process of setting up a Minecraft Server Bedrock Edition on an Ubuntu Server. You can find the complete script on my Github page: https://github.com/ScriptingChris/pwsh-minecraft Prerequisites All you need to run Continue Reading

Matthew Dowst avatar

PowerShell Weekly – May 28, 2021

16 days ago | Matthew Dowst

Here is your weekly round up of what is happening in the world of PowerShell. Do you have a suggestion for this post? Do you know something that should be included? Let me know in the comments below, or on twitter.

Kelvin Tegelaar avatar

Automating with PowerShell: Sending MFA push messages to users

16 days ago | Kelvin Tegelaar

I’ve been trying to explore how Microsoft generates MFA pushes for some time now. I wanted to offer the same functionality for tools I am building. One of them being a AAD RADIUS replacement tool that’s almost done for public use, the other is a method of verifying the identity of a specific user. Unfortunately... Read More The post Automating with PowerShell: Sending MFA push messages to users appeared first on CyberDrain.

Christian Hoejsager avatar

How To Remove Email From All Mailboxes With Powershell

19 days ago | Christian Hoejsager

In this guide, I will walk through how you can utilize Powershell to remove a specific mail from multiple users’ mailboxes. Why would this be useful? Well, let’s say that multiple users start to report that they have received a phishing mail or mail containing malware. In this type of Continue Reading

Kelvin Tegelaar avatar

Monitoring with PowerShell: Monitoring oAuth application changes

19 days ago | Kelvin Tegelaar

Attackers these days are using more and more sneaky techniques to stay inside of your M365 tenant after a breach, oAuth phishing is picking up on popularity real fast and we’re seeing that with these attackers they’re no longer just targeting users, but also focus on administrators. Of course, for the user portion you can... Read More The post Monitoring with PowerShell: Monitoring oAuth application changes appeared first on CyberDrain.

Jeff Hicks avatar

Hiding TaskBar Search with PowerShell

23 days ago | Jeff Hicks

Yesterday I shared a few PowerShell functions for configuring the Windows 10 taskbar to auto-hide. This works great in my virtual desktop when recording my Pluralsight courses. But even when hidden I would still get an annoying white sliver from the search box. So I got rid of that as well. Here are some PowerShell...

Matthew Dowst avatar

PowerShell Weekly – May 21, 2021

23 days ago | Matthew Dowst

Here is your weekly round up of what is happening in the world of PowerShell. Do you have a suggestion for this post? Do you know something that should be included? Let me know in the comments below, or on twitter.

Christian Hoejsager avatar

How To Disable Automatic Driver Updates on Windows 10

23 days ago | Christian Hoejsager

Recently I experienced problems with windows update messing up a Lenovo Thinkpad sound driver. I run Windows Update for Business through Intune. After a long period of troubleshooting different driver versions, I found out that Windows Update would install a bad driver on the machine. So I went into the Continue Reading

Jeff Hicks avatar

Managing the Windows 10 Taskbar with PowerShell

24 days ago | Jeff Hicks

When I’m working on a Pluralsight course, I tend to setup a virtual machine for recording. Although, lately I’ve been trying with Windows 10 Sandbox. This is handy when all I need is a Windows 10 desktop. When I setup the system, I have particular settings I need to configure. Naturally I use a PowerShell...

Darren Robinson avatar

Azure AD and Microsoft Office365 Deep Links and Sign In URLs

26 days ago | Darren Robinson

Accessing Microsoft Office365, the Azure Portal, and the plethora of services we integrate with Azure Active Directory is for the most part seamless, especially when you only need to access a single tenant. However, it is 2021, and collaboration across tenants is the new normal.… keep reading The post Azure AD and Microsoft Office365 Deep Links and Sign In URLs appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Jeff Hicks avatar

Custom CSV Import with PowerShell

26 days ago | Jeff Hicks

I am always looking for opportunities to use PowerShell in a way that adds value to my work. And hopefully yours. This is one of the reasons it is worth the time and effort to learn PowerShell. It can be used in so many ways beyond the out-of-the-box commands. Once you understand the PowerShell language...

Kelvin Tegelaar avatar

Automating with PowerShell: Unifi PowerShell module and creating network maps

26 days ago | Kelvin Tegelaar

So this blog is a two for one as I’m on vacation right now and enjoying some time off. First I’d like to tell you about a new module I’ve created and am starting to work on some more. Last week I’ve had a small thread on twitter with a friend that said something like... Read More The post Automating with PowerShell: Unifi PowerShell module and creating network maps appeared first on CyberDrain.

Shane O'Neill avatar

Pester 5 and Group-Object – Best Friends

27 days ago | Shane O'Neill

Figuring out how to group the output of your Pester tests

Christian Hoejsager avatar

How To Setup A Github Actions Pipeline For Publishing Your Powershell Module

28 days ago | Christian Hoejsager

In this post, I will walk through how I set up a Github Actions Workflow Pipeline for publishing a Powershell module to the PowerShell Gallery. What is a Github Actions Pipeline Github Actions is an automation tool available in Github. It is a tool for automating software workflow, such as Continue Reading

Jeff Hicks avatar

Friday Fun – Custom Grouping with PowerShell

one month ago | Jeff Hicks

The other day I was answering a question in the PowerShell Facebook group. This person was getting data from Active Directory and trying to organize the results in a way that met his business requirements. My suggestion was to use Group-Object and a custom grouping property. I am assuming you are familiar with Group-Object. You...

Matthew Dowst avatar

PowerShell Weekly – May 14, 2021

one month ago | Matthew Dowst

Here is your weekly round up of what is happening in the world of PowerShell. Do you have a suggestion for this post? Do you know something that should be included? Let me know in the comments below, or on twitter.

Christian Hoejsager avatar

How to get startet publishing to the PowerShell Gallery

one month ago | Christian Hoejsager

So you have become quite experienced in writing Powershell scripts and modules. You are ready to share your code with the rest of the world, or perhaps you have created a script that you want to be able to download from the internet, on any computer running Powershell. Well, then Continue Reading

Kelvin Tegelaar avatar

Documenting with PowerShell: Documenting Remote Access

one month ago | Kelvin Tegelaar

A friend of mine recently requested if it would be possible to document some of the types of remote access tools that are installed on a computer, and list the possible access URLs; that way he could easily document which access methods are open and audit them once in a while to see if he... Read More The post Documenting with PowerShell: Documenting Remote Access appeared first on CyberDrain.

Tommy Maynard avatar

PowerShell UserGroup Austria – Crescendo

one month ago | Tommy Maynard

This morning — well, this morning my time — I was a part of a speaking event with the PowerShell UserGroup Austria, where I discussed the Microsoft Crescendo PowerShell module (https://github.com/PowerShell/Crescendo and https://www.powershellgallery.com/packages/Microsoft.PowerShell.Crescendo). It was clear to me that a couple of related posts of mine got the attention of Roman, and put me in […] The post PowerShell UserGroup Austria – Crescendo appeared first on tommymaynard.

Luke Murray avatar

Run PowerShell App Deployment Toolkit in Datto RMM

one month ago | Luke Murray

The PowerShell App Deployment Toolkit provides a set of functions to perform common application deployment tasks and to interact with the user during deployment. It simplifies the complex scripting challenges of deploying applications in the enterprise, provides a consistent deployment experience and improves installation success rates. Although the PowerShell App Deployment Toolkit, makes application installation a lot more visible and gives your users more control over how and when the Application is installed, due to some technical limitations, you can’t run the PowerShell App Deployment Toolkit, directly from the Datto RMM package store.

Jeff Hicks avatar

PowerShell Event Log Mining

one month ago | Jeff Hicks

The other day someone who is learning PowerShell reached out to me with a problem. He couldn’t understand why the relatively simple PowerShell expression to pull information from the System event log wasn’t working. He wasn’t seeing errors, but he also wasn’t seeing the events he was expecting. Searching event logs with PowerShell is a...

Josh King avatar

My Learning Story: From Timber to Chocolatey

one month ago | Josh King

This post is part of #TheMVPChallenge. It's not exactly what was on the brief... but I think it's a story worth telling!

Matthew Dowst avatar

PowerShell Weekly – May 7, 2021

one month ago | Matthew Dowst

Here is your weekly round up of what is happening in the world of PowerShell. Do you have a suggestion for this post? Do you know something that should be included? Let me know in the comments below, or on twitter.

Christian Hoejsager avatar

How to get started developing a powershell module

one month ago | Christian Hoejsager

For some time now i have been wanting to write a powershell module for administrating Cisco Meraki Networks through their dashboard APIv1, and i thought it would be a great use case for writing on my process, learning and ideas about writing powershell modules.I am going to use some tools Continue Reading

Kelvin Tegelaar avatar

Monitoring with PowerShell: Monitoring Azure File Shares

one month ago | Kelvin Tegelaar

So a while back someone asked me if it’s possible to monitor Azure File Shares. the reason for this question was due to a crashing WVD farm because the Azure File Share reached its quota real quick. After some consideration and tests I’ve first tried to use the connection string to extract this data but... Read More The post Monitoring with PowerShell: Monitoring Azure File Shares appeared first on CyberDrain.

Jeff Hicks avatar

PowerShell Tough Love

one month ago | Jeff Hicks

The other day I was helping Gladys Kravitz on her transition to VS Code. Like many of you, she has been using the PowerShell ISE for years and has a deeply ingrained workflow. I’ll be the first to admit that making the transition to VS Code is not easy. I remember when I made the...

Darren Robinson avatar

Generate Azure Resource Diagrams using PowerShell

one month ago | Darren Robinson

We’ve all been there. You’ve been working on implementing a solution in Azure and you’ve finally finished building it. It’s all working, and it is time to hand it over to someone else to support. The adage of a picture is worth a thousand words has always stuck in my head, and I always start with a diagram.… keep reading The post Generate Azure Resource Diagrams using PowerShell appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Christian Hoejsager avatar

How to Administrate Windows with Powershell from a Macbook

one month ago | Christian Hoejsager

Short Introduction Now i have been administrating Windows Environments for some years now, and i have been training my self to use powershell where ever it is possible. I have this dream of beeing able to come in to work, open my terminal and then do more or less everything Continue Reading

Kelvin Tegelaar avatar

Automating with PowerShell: Deploying Temporary Access passwords

one month ago | Kelvin Tegelaar

So last time I spoke about Passwordless but skimped over the new feature TAP. TAP stands for Temporary Access Password and TAP is actually pretty cool, especially for MSPs deploying loads of devices. The TAP is a generated password that has a maximum amount of uses. So I can already hear your gears grind; That’s... Read More The post Automating with PowerShell: Deploying Temporary Access passwords appeared first on CyberDrain.

Alexander Koehler avatar

Umlaute per PowerShell finden und ersetzen

one month ago | Alexander Koehler

Den heutigen Post möchte ich einer Legende des deutschen Fernsehens widmen. “Die Maus” wird dieses Jahr 50 und hat mich bereits durch die Kindheit begleitet, so wie sie es heute bei meiner Tochter tut. Dieses Stück Fernsehgeschichte soll auch auf meinem Blog den ihr gebührenden Platz haben, deshalb habe ich diese Post ausgewählt. Die Sendung […] Der Beitrag Umlaute per PowerShell finden und ersetzen erschien zuerst auf it-koehler-blog.

Jeff Hicks avatar

Friday Fun: Counting Down Events with PowerShell

one month ago | Jeff Hicks

We just finished a very successful virtual edition of the PowerShell+DevOps Global Summit. We lost our 2020 event to the pandemic but fortunately, the people at The DevOps Collective were able to pull together a fantastic virtual event. There were as many virtual attendees as we normally have at the in person event. But of...

Matthew Dowst avatar

PowerShell Weekly – April 30, 2021

one month ago | Matthew Dowst

Here is your weekly round up of what is happening in the world of PowerShell. Do you have a suggestion for this post? Do you know something that should be included? Let me know in the comments below, or on twitter.

Prateek Singh avatar

Azure Visualizer PowerShell module v1.1.2 released!

one month ago | Prateek Singh

Hello friend, Welcome to my blog! 😇 If you are reading about the AzViz PowerShell module for the first time this blog post ‘Automate your Azure Infrastructure Diagrams with PowerShell’ ... The post Azure Visualizer PowerShell module v1.1.2 released! appeared first on ridicurious.com. Azure Visualizer PowerShell module v1.1.2 released! was first posted on April 29, 2021 at 11:58 pm.

Kelvin Tegelaar avatar

Automating with PowerShell: Deploying Send as Alias for M365

one month ago | Kelvin Tegelaar

So Microsoft has finally caught up and now allows users to send emails from their aliases, a feature we’ve all been waiting for. To be able to send as an alias you’ll need to do two things. The first is to run the script that enabled the “Send From Alias” option. The second is to... Read More The post Automating with PowerShell: Deploying Send as Alias for M365 appeared first on CyberDrain.

Darren Robinson avatar

Microsoft.dotnet-interactive is not compatible with netcoreapp3.1

one month ago | Darren Robinson

Today I was writing an example PowerShell script in Jupyter Notebook that used a module that required PowerShell 7.1.x. It wasn’t working and was complaining about not meeting the minimum requirements. I checked to see what the current version of PowerShell was in my .NET… keep reading The post Microsoft.dotnet-interactive is not compatible with netcoreapp3.1 appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Kelvin Tegelaar avatar

Monitoring with PowerShell: Monitoring M365 SPF,DKIM, and DMARC

one month ago | Kelvin Tegelaar

In one of the groups that I frequent there recently was a small discussion about mail deliverability, some of the MSPs in that group started using external products to check if their DNS records are configured correctly for optimal delivery in regards to spam checking, filterings, etc. I figured I could show them how to... Read More The post Monitoring with PowerShell: Monitoring M365 SPF,DKIM, and DMARC appeared first on CyberDrain.

Matthew Dowst avatar

PowerShell Weekly – #100!!! April 23, 2021

one month ago | Matthew Dowst

Since this is the 100th edition of PowerShell Weekly, I thought I would give a few fun stats, before getting to the weekly round up. Top 5 People with the most articles included. (These should come as no surprise to most) Jeff Hicks PowerShell Team Kelvin Tegelaar Adam Driscoll Adam Bertram Top 2 Links (Why […]

Darren Robinson avatar

Using 1Password with PowerShell

one month ago | Darren Robinson

This week I was updating some documentation in a Jupyter Notebook that had placeholders for credentials in it. This got me to thinking, I wonder if it is possible to get secrets from 1Password with PowerShell. 1Password as that is my password manager of choice.… keep reading The post Using 1Password with PowerShell appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Jeff Hicks avatar

A Better Way to Manage PowerShell Functions

one month ago | Jeff Hicks

Like many of you, I write a lot of PowerShell code. Much of it I use on a daily basis since I essentially spend my day at a PowerShell prompt. Also like many of you, I often assemble functions into a module. A module makes it easier to load the functions I need, and also...

Guido Oliveira avatar

Criando um Serviço a partir de um script Powershell

one month ago | Guido Oliveira

Olá Pessoal, Hoje vamos ver de forma simplificada como transformar um script powershell em um Serviço Windows usando o NSSM. Instruções para instalacao do chocolatey: Chocolatey […] The post Criando um Serviço a partir de um script Powershell appeared first on Guido Oliveira.

Josh King avatar

Road to BurntToast v1: Actionable Toast for All!

one month ago | Josh King

BurntToast is finally growing up. It's going through puberty and will see a v1 release when it gets to the other side... but it'll be a journey.