Adam Bertram avatar

The Grep of PowerShell [Tutorial]

16 hours ago | Adam Bertram

The post The Grep of PowerShell [Tutorial] appeared first on Adam the Automator.

Xajuan Smith avatar

PowerShell: Convert .ps1 Files to .exe Files

yesterday | Xajuan Smith

Have you ever dreamed of creating exe files out of your PowerShell scripts? If yes, read on. In this post I will show you how you can create exe … PowerShell: Convert .ps1 Files to .exe Files

Kelvin Tegelaar avatar

Automating with PowerShell: Increasing the O365 Secure Score

2 days ago | Kelvin Tegelaar

At the start of this week I’ve blogged about reading the secure score and documenting it. This is of course just one part of the new beta Secure Score module. The next one is actually the more fun part; applying the correct security settings to a tenant. So first things first; The module is still […] The post Automating with PowerShell: Increasing the O365 Secure Score appeared first on CyberDrain.

Adam Bertram avatar

How to Confront Your Employer (And Survive to Tell the Tale)

2 days ago | Adam Bertram

Warning: There will be some not-so-good words in this post. If you have small children, please take them to another room before reading. The post How to Confront Your Employer (And Survive to Tell the Tale) appeared first on Adam the Automator.

Jan Egil Ring avatar

Getting into the world of containers

2 days ago | Jan Egil Ring

Getting into the world of containers Up until the past year or so I have mainly been working with Windows-based systems. However, as technology evolves there is a need to adapt - and getting into the Linux side of things is one key area given the use of Linux in a variety of technologies. Bryan Liles had a great tweet on this topic recently: When working in IT, continous learning is a fundamental requirement.

Adam Bertram avatar

How to Use the New Exchange Online V2 PowerShell Module for Unattended Automation Scripts

2 days ago | Adam Bertram

The post How to Use the New Exchange Online V2 PowerShell Module for Unattended Automation Scripts appeared first on Adam the Automator.

Kelvin Tegelaar avatar

Documenting with PowerShell: Office 365 Secure Score PowerShell module

4 days ago | Kelvin Tegelaar

A while back I wrote a blog about the Secure Score and how to increase it. After that blog I got a lot more questions about documenting Secure Score with the Secure Application model. To make handling the Secure Score easier, I’ve decided to make a PowerShell Module for this. The main reason for the […] The post Documenting with PowerShell: Office 365 Secure Score PowerShell module appeared first on CyberDrain.

Alexander Koehler avatar

Behandeln von Timeouts in PowerShell Skripten DO UNTIL

4 days ago | Alexander Koehler

Hallo zusammen, wenn ihr diesen Artikel gefunden habt, kämpft ihr vermutlich gerade mit der Trägheit der Microsoft Cloud (oder auch irgendwelchen anderen Produkten) und euer Skript bricht ab, weil das Objekt noch nicht komplett angelegt ist. Leider ist das immer wieder ein Problem beim Automatisieren, speziell in der Microsoft Cloud. Also habe ich mal etwas […] Der Beitrag Behandeln von Timeouts in PowerShell Skripten DO UNTIL erschien zuerst auf it-koehler-blog.

Josh King avatar

Actionable Toast Notifications, Finally Cracked Them!

5 days ago | Josh King

I don't know how to express a happy dance with text. If I could that's what would be here because I've finally removed a thorn from my side that's been there for five years.

Prateek Singh avatar

Weekly Newsletter – PowerShell Digest #003

6 days ago | Prateek Singh

Introduction If you want to stay on top of #powershell community and whatever is happening around the world related to PowerShell then you are at the right place friend! We... The post Weekly Newsletter – PowerShell Digest #003 appeared first on Ridicurious.

Nick Richardson avatar

Generate a Citrix Desktop Report Based on Active Directory Users

6 days ago | Nick Richardson

In this post, we are going to merge data from two different sources to generate a report that can provide insight into your Citrix environment. I will show you how to combine Active Directory data for the users in your domain with Citrix data. This report will provide you with the following knowledge: Users that … Continue reading Generate a Citrix Desktop Report Based on Active Directory

Jeff Hicks avatar

Friday Fun – A PowerShell Nonsense Challenge

6 days ago | Jeff Hicks

Today I thought I’d share my PowerShell solution to a recent Iron Scripter challenge. The challenge was to create PowerShell code that would create nonsense documents, with a goal of creating 10 sample files filled with gibberish. Yes, other than maybe wanting some test files to work with, on its face the challenge appears pointless. ...

Matthew Dowst avatar

PowerShell Weekly – August 7, 2020

6 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

Documenting with PowerShell: Documenting Office 365 guest access

6 days ago | Kelvin Tegelaar

So a little while ago we’ve had a client that works a lot with external contractors. These contracts are invited as guests into their Teams. This client came up to us recently and asked “Hey, I wanna know what my contractors are doing”. Normally speaking we’d just point them at IT-Glue and tell them to […] The post Documenting with PowerShell: Documenting Office 365 guest access appeared first on CyberDrain.

¿Cómo actualizar por PowerShell las reglas de firewall en Azure SQL? [Guest]

7 days ago

Este es el primer post de invitados :) Debido a la pandemia que afecta a todos en el mundo, la mayoría de los que trabajamos en TI nos vimos forzados a trabajar desde casa con un montón de desafíos. En esta entrada del blog les quiero comentar un problema que me surgió relacionado con la seguridad del lugar donde trabajo y una posible forma de solucionar ese problema de forma “automática”. Contexto del problema La casa matriz del cliente cuenta con una SSL/VPN para acceder a los servidores productivos, dicha VPN por temas de seguridad, no permite el uso de Split tunneling por lo tanto todo mi tráfico pasa a través del Gateway de la oficina.

Adam Bertram avatar

Microsoft Azure for Free?

7 days ago | Adam Bertram

The post Microsoft Azure for Free? appeared first on Adam the Automator.

Prateek Singh avatar

[Live Event] PowerShell to C# and back: The Basics

8 days ago | Prateek Singh

Please join me and Deepak Dhami for a FREE Online Event on coming Friday 7th August. This would be second session on the topic and in the first session we... The post [Live Event] PowerShell to C# and back: The Basics appeared first on Ridicurious.

Luc Fullenwarth avatar

Validating Computer Names with PowerShell

8 days ago | Luc Fullenwarth

How could you more efficiently validate a piece of code with -ComputerName (or similar) as one of its parameters?

Adam Bertram avatar

How to Install Ubuntu 20.04 [Step-by-Step]

8 days ago | Adam Bertram

The post How to Install Ubuntu 20.04 [Step-by-Step] appeared first on Adam the Automator.

Adam Bertram avatar

How to Set Up a WordPress Blog in Microsoft Azure

9 days ago | Adam Bertram

The post How to Set Up a WordPress Blog in Microsoft Azure appeared first on Adam the Automator.

Sergey Vasin avatar

Enhancing interaction with quotes and brackets by using PSReadline

9 days ago | Sergey Vasin

In this article we will continue exploring content of the SamplePSReadLineProfile.ps1 from the PSReadline module. In many code editors interaction with brackets – () {} [] – and quotes – "" '' – goes like this – you type the… Continue reading →

Sergey Vasin avatar

Улучшаем взаимодействие с кавычками и скобками при помощи PSReadline

9 days ago | Sergey Vasin

В этой статье мы продолжим исследование содержимого файла SamplePSReadLineProfile.ps1 из модуля PSReadline. Во многих редакторах кода взаимодействие со скобками — () {} [] — и кавычками — "" '' — построено следующим образом — вы вводите первую из них, и… Читать далее →

Przemyslaw Klys avatar

Mailozaurr – New mail toolkit (SMTP, IMAP, POP3) with support for oAuth 2.0 and GraphApi for PowerShell

9 days ago | Przemyslaw Klys

Today, I'm introducing a new PowerShell module called Mailozaurr. It's a module that aims to deliver functionality around Email for multiple use cases. I've started it since native SMTP cmdlet Send-MailMessage is obsolete,  and I thought it would be good to write a replacement that adds more features over it as things around us are changing rapidly. The post Mailozaurr – New mail toolkit (SMTP, IMAP, POP3) with support for oAuth 2.

Kiran Patnayakuni avatar

PowerShell: 101-vnet-two-subnets

10 days ago | Kiran Patnayakuni

This is a conversion of ARM template 101-vnet-two-subnets from the GitHub repository azure\azure-quickstart-templates to PowerShell Script, and this script will deploy following the resources…

Kiran Patnayakuni avatar

PowerShell: 201-2-vms-internal-load-balancer

10 days ago | Kiran Patnayakuni

This is a conversion of ARM template 201-2-vms-internal-load-balancer from the GitHub repository azure\azure-quickstart-templates to PowerShell Script, and this script will deploy following the resources…

Kiran Patnayakuni avatar

PowerShell: 101-sql-database

10 days ago | Kiran Patnayakuni

This is a conversion of ARM template 101-sql-database from the GitHub repository azure\azure-quickstart-templates to PowerShell Script, and this script will deploy following the resources…

Kelvin Tegelaar avatar

Monitoring with PowerShell: Monitoring B-Series VM credits

10 days ago | Kelvin Tegelaar

A lot of MSPs use the B-Series VMs for tasks, and why woulnd’t you? It are cheap VMs that allow you to use azure as a cost effective solution for clients. The B-Series VM are “burstable” VMs, meaning they don’t get the full CPU performance constantly. The description of Microsoft explains it best: The B-series […] The post Monitoring with PowerShell: Monitoring B-Series VM credits appeared first on CyberDrain.

Terraform - Uploading a local PowerShell module to an Azure Automation account

12 days ago

Test environment Ubuntu 20.04, Terraform v0.12.28, provider.azurerm v2.18.0 Azure Automation runbooks are a convinient way to run code in the cloud or on-premises (using Hybrid workers). You create a runbook, create a webhook and your code can be pretty much triggered by any event or system. I had a scenario where some of my runbooks were using a custom PowerShell module that was not publicly available.

Roberth Strand avatar

Extract Zip files with PowerShell

12 days ago | Roberth Strand

For my module tftools I needed to download Terraform from Hashicorp, which came in a Zip archive. I didn’t want to rely on other tools or modules to extract the Zip files, and luckily there was a .Net class called ZipFile from the System.IO.Compression.FileSystem assembly that could be utilized. Here’s how we can download a Zip file as a temporary file and extract the content. # Define a temporary file, # the URI for the file you want to download, # and the folder you want to extract to $tempFile = [System.

Roberth Strand avatar

Version 0.3.5 release of tftools, now available for MacOS

12 days ago | Roberth Strand

Cross platform functionality achieved! As someone who uses PowerShell on 2 of the 3 major operation systems, Linux and Windows, having my modules work on all systems is very important to me. Doing this is usually though, but when working with Terraform which is cross platform made it relatively easy. By utilizing a helper function to determine the OS and setting that platforms specific settings, and by using Azure DevOps pipelines to run Pester tests on the code, we now have a toolset that works on Linux, Windows and Mac.

Prateek Singh avatar

Weekly Newsletter – PowerShell Digest #002

13 days ago | Prateek Singh

Introduction If you want to stay on top of #powershell community and whatever is happening around the world related to PowerShell then you are at the right place friend! We... The post Weekly Newsletter – PowerShell Digest #002 appeared first on Ridicurious.

Matthew Dowst avatar

PowerShell Weekly – July 31, 2020

13 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.

Cláudio Silva avatar

Generate SQL Server Role Member Reports using dbatools and ImportExcel PowerShell modules

13 days ago | Cláudio Silva

This was initial posted on SQL Server Central articles. As one of dbatools' first members, I've been using it for years and it's really my goto tool. This task was no different! Today's tip and trick using dbatools is about generating an Excel workbook that contains lists of SQL Server roles and its members. The … Continue reading Generate SQL Server Role Member Reports using dbatools and Im


Adam Bertram avatar

How to Pause a PowerShell Script

14 days ago | Adam Bertram

The post How to Pause a PowerShell Script appeared first on Adam the Automator.

Jeremy Murrah avatar

CyberArk Credentials, Ansible Tower, and You!

15 days ago | Jeremy Murrah

OPEN SESAME! was probably not the first password. Regardless, passwords have most likely been around for all of recorded history. They’re super important too, protecting everything from our email to Fort Knox! As their use goes up, especially with computing, protecting the password itself is almost as important as protecting the thing the password is protecting. To this end, the industry has seemingly settled on super secure and locked down password vaults, that can be a single place for all your passwords, allowing tight controls around who, or what, can retrieve them.

Jeff Hicks avatar

Doing More with Windows Sandbox

15 days ago | Jeff Hicks

One of the reasons I was looking forward to updating to Windows 10 2004 was to have access to the Windows Sandbox feature. I think I tinkered with a pre-release version and was intrigued. I normally have a set of Hyper-V virtual machines that I can test with, but I’m always looking for something new...

Kelvin Tegelaar avatar

Documenting with PowerShell: Documenting Azure VMs (And lighthouse setup)

15 days ago | Kelvin Tegelaar

So this blog is actually two blogs all wrapped into one lovely package; I’m going to be showing you how to setup Azure Lighthouse, giving you the ability to manage your clients from your own partner portal, or via PowerShell. I’m also going to demonstrate how to document VMs in both a local HTML file […] The post Documenting with PowerShell: Documenting Azure VMs (And lighthouse setup) appeared first on CyberDrain.

Adam Bertram avatar

How to Set Up Visual Studio Code to Work with GitHub

15 days ago | Adam Bertram

The post How to Set Up Visual Studio Code to Work with GitHub appeared first on Adam the Automator.

Rob Sewell avatar

Notifying a Teams Channel of a SQL Agent Job result

15 days ago | Rob Sewell

Following on from yesterdays post about creating an overview of SQL Agent Job Results and sending it to a Teams channel, I was given another challenge Can you write a job step that I can add to SQL Agent jobs that can send the result of that job to a Teams Channel A person with […]

Josh King avatar

The Anatomy of Toast

16 days ago | Josh King

BurntToast just turned five, and I've only now realized that I've never written about how all the module's "advanced" functions work together to create a toast notification.

Alex Neihaus avatar

Azure Functions in PowerShell

16 days ago | Alex Neihaus

A guide with examples to Azure Functions in PowerShell

Adam Bertram avatar

How To Upload Local Files to AWS S3 with the AWS CLI

16 days ago | Adam Bertram

The post How To Upload Local Files to AWS S3 with the AWS CLI appeared first on Adam the Automator.

Rob Sewell avatar

Sending a SQL Agent Job results overview to a Microsoft Teams Channel

16 days ago | Rob Sewell

Microsoft Teams is fantastic for collaboration. It enables groups of people, teams if you like to be able to communicate, collaborate on documents, hold meetings and much much more. SQL Agent Job Overview Using dbatools we can create a simple script to gather the results of Agent Jobs form a list of instances. Maybe it […]

Nick Richardson avatar

Creating a PowerShell Module to Improve Your Code

17 days ago | Nick Richardson

Do you have PowerShell code that you reuse in your scripts over and over? Do you have server names hard coded in variables? Are you using a text file or CSV file to import server names? Do you find yourself only utilizing one server out of a cluster of servers to make your PowerShell commands? … Continue reading Creating a PowerShell Module to Improve Your Code →

Kelvin Tegelaar avatar

Monitoring with PowerShell: O365 location alerts

17 days ago | Kelvin Tegelaar

A while back someone asked me to convert a script they had to the Secure Application Model. This specific script checked the Office 365 audit log IPs against a online database of locations. I declined at first and suggested it to look into Microsoft 365, a P1 or P2 subscription which allows you to do […] The post Monitoring with PowerShell: O365 location alerts appeared first on CyberDrain.

Paolo Frigo avatar

How to tune your Guitar with Powershell

18 days ago | Paolo Frigo

I wanted to celebrate my 100th article doing something simple and out of the ordinary. Looking back one popular article using PowerShell written 2 years ago was Text-To-Speach in 3 lines of code,  so I’ve decided to play with sounds. In this article, you will use PowerShell to tune your Guitar! I love music and … Continue reading "How to tune your Guitar with Powershell"

Prateek Singh avatar

Weekly Newsletter – PowerShell Digest #001

20 days ago | Prateek Singh

Introduction If you want to stay on top of #powershell community and whatever is happening around the world related to PowerShell then you are at the right place friend! We... The post Weekly Newsletter – PowerShell Digest #001 appeared first on Ridicurious.

Matthew Dowst avatar

PowerShell Weekly – July 24, 2020

20 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.

Kiran Patnayakuni avatar

Copy Security Rules From One Azure Network Security Group To Another Using PowerShell

21 days ago | Kiran Patnayakuni

Network Security Group Azure Network Security Group is used to manage the flow of the network traffic and the direction as well, besides the default inbound and outbound security rules there can be none or many security rules to define the security within in the Azure Virtual Network. Purpose of copying Security Rules There are many scenarios where you need to clone Network Security Group and its security rules to a new Network Security Group or copy the security rules to an existing Network Security Group, it could be as part of the migration, testing, cloning the same security measures for different project, or for a disaster recovery site and etc.