Kelvin Tegelaar avatar

Tech in 5 minutes: MSIX Packages

6 hours ago | Kelvin Tegelaar

Tech in 5 minutes is a new video series to help managed services providers, or technology specialists get small digestible bites about new technologies, complex scripts, and solutions you could be implementing in your MSP today. I’m fairly anti-tool culture where MSPs get a different tool for each minor inconvenience and focus just on that... Read More The post Tech in 5 minutes: MSIX Packages appeared first on CyberDrain.

Tommy Maynard avatar

“Logon” Processing Code

21 hours ago | Tommy Maynard

I’m working on something new and there’s not much on this topic in relation to PowerShell. Compared to some other topics, there’s not much on it anyway. I want to use PowerShell to authenticate with Shibboleth, and I want to use its ECP profile. Shibboleth is typically implemented with a browser and its SSO profile. […] The post “Logon” Processing Code appeared first on tommymaynard.

Adam Bertram avatar

How to Import and Export Hyper-V VMs with PowerShell

yesterday | Adam Bertram

If you're looking to export and import your Hyper V VMs you're in luck. Learn how to export VMs and Import VMs with this tutorial.

Matthew Dowst avatar

PowerShell Weekly – April 9, 2021

yesterday | 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

Monitoring with PowerShell: Monitoring MFA Usage

yesterday | Kelvin Tegelaar

So I’ve blogged about this before too, but times change and monitoring MFA usage is becoming a little more difficult . Microsoft allows per-user MFA, Security Defaults, and Conditional Access all to be used concurrently. I’ve created this monitoring script that returns which users seem to fall out of any Multi-factor authentication scope, and also... Read More The post Monitoring with PowerShell: Monitoring MFA Usage appeared first on CyberDrain.

Kelvin Tegelaar avatar

Tech in 5 minutes: M365/O365 Automation

yesterday | Kelvin Tegelaar

Tech in 5 minutes is a new video series to help managed services providers, or technology specialists get small digestible bites about new technologies, complex scripts, and solutions you could be implementing in your MSP today. I’m fairly anti-tool culture where MSPs get a different tool for each minor inconvenience and focus just on that... Read More The post Tech in 5 minutes: M365/O365 Automation appeared first on CyberDrain.

Prateek Singh avatar

Automated Azure Infrastructure Diagrams with PowerShell

2 days ago | Prateek Singh

Table of Contents Problem Statement Introducing ‘Azure Visualizer’, aka ‘AzViz’ Video Demo – Youtube Prerequsites Installation Using the Module Future of the Module   Hello friend, Welcome to my blog!... The post Automated Azure Infrastructure Diagrams with PowerShell appeared first on ridicurious.com. Automated Azure Infrastructure Diagrams with PowerShell was first posted on April 8, 2021 at 4:47 pm.

Jeff Hicks avatar

Make Defaults a Way of Life

2 days ago | Jeff Hicks

A quick post today to remind you of a way to make PowerShell even easier to use. PowerShell cmdlets and functions obviously help us get a lot done, and most commands offer a number of parameters to customize what needs to be done. Unless you love typing, you probably would like an even easier way...

Adam Bertram avatar

How to Add a Computer to a Domain [All the Ways]

2 days ago | Adam Bertram

Learn how to add a Windows computer to a domain via the GUI, netdom, PowerShell and even remotely in this post.

Luke Murray avatar

Azure Resource Graph Explorer and the PowerShell Azure Resource Graph

2 days ago | Luke Murray

Every now and again you come across something that you pay little attention to until you actually spend the time to sit down, work through and try to break stuff! The Azure Resource Graph was that for me! The idea was to create an export of Azure Recommendations, directly from the Azure Advisor into PowerShell, Microsoft Azure has this functionality out of the box with a few tools: Azure Resource Graph Explorer The Az.

Darwin Sanoy avatar

Pearl Diving - Just In Time Learning of Mature Coding Habits For a New Stack

2 days ago | Darwin Sanoy

I mused how we sometimes do the equivalent of Pearl Diving when taking on new skills. Its the idea of deep learning a stack of one or more new things while under the pressure of needing the end state code to reflect a maturity level significantly higher than your beginner expertise in that stack. It’s a variation on deep dive, but with the treasure of learning new multiple new technologies. I have captured the details about Pearl Diving - and when you should use it (because you usually should not) - in this post.

Darren Robinson avatar

A Dynamics 365 Finance & Operations Management Agent for Microsoft Identity Manager

2 days ago | Darren Robinson

As I mentioned in a recent post I’ve recently dived back into Microsoft Identity Manager. The focus of this post is some development I recently did to build a Microsoft Dynamics 365 Finance & Operations Management Agent for Microsoft Identity Manager.… keep reading The post A Dynamics 365 Finance & Operations Management Agent for Microsoft Identity Manager appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Tommy Maynard avatar

AWS PowerShell Command Count

3 days ago | Tommy Maynard

Back in the day, I was astonished by the number of PowerShell commands that AWS (Amazon Web Services) had written. It was some huge number — I believe it was around 5,000. There’s probably a post or two on this site where it’s mentioned. Based on the number, it was clear that AWS had made […] The post AWS PowerShell Command Count appeared first on tommymaynard.com.

Adam Bertram avatar

Getting Started with SolarWinds APM Integrated Experience

3 days ago | Adam Bertram

Learn how to get started from the ground up monitoring your infrastructure and applications in one spot with SolarWinds' APM Integrated Experience.

Adam Bertram avatar

How to Run Remote Commands with the Ansible Shell Module

3 days ago | Adam Bertram

Learn the ins and outs of the Ansible shell module to to run commands on all your remote computers.

Adam Bertram avatar

How to Find Listening Ports with Netstat and PowerShell

3 days ago | Adam Bertram

Using netstat, ports can be discovered on Windows PCs with ease. Coupled with PowerShell and Get-NetTCPConnection, you have one handy tool.

Matthew Dowst avatar

Resubmit Azure Automation Runbook Job

3 days ago | Matthew Dowst

This snippet will allow you to re-run any Azure Automation Runbook job with the same parameters and in the same context (Azure or Hybrid Worker Group). # Set the variables from the previous job $AutomationAccountName = '' $ResourceGroupName = '' $JobId = '' # Get the previous job $AutoAccount = @{ AutomationAccountName = $AutomationAccountName ResourceGroupName […]

Dirk Bremen avatar

Control Split-Panes in Windows Terminal through PowerShell

4 days ago | Dirk Bremen

In this post, I would like to introduce a PowerShell function to create new split-panes for the Windows Terminal.

Adam Bertram avatar

How to Connect to Network Drives on the Command Line with Net Use

4 days ago | Adam Bertram

If you need to map a network drive or connect to network device over the SMB protocol, the net use command may be for you.

Adam Bertram avatar

What is PowerShell and Why Use It?

4 days ago | Adam Bertram

What is PowerShell? It's a shell and scripting language capable of automating just about anything. Learn more in this article.

Adam Bertram avatar

Chris Blackden is our ATA Friend of the Month!

5 days ago | Adam Bertram

Chris Blackden is our ATA Friend of the Month!

Kelvin Tegelaar avatar

Monitoring with PowerShell: External port scanning part 2

5 days ago | Kelvin Tegelaar

So recurring readers will be reading this title and go “Wait a minute, he already blogged about this” and you’d be right. With the recent Github Sponsorship taking off, I’ve decided to release some more public tools so life can be made easier for other MSPs. In the previous blog I’ve told you to create... Read More The post Monitoring with PowerShell: External port scanning part 2 appeared first on CyberDrain.

Kelvin Tegelaar avatar

Tech in 5 minutes: Azure AD Application Proxy

5 days ago | Kelvin Tegelaar

This is a new video series I’m starting to help managed services providers, or technology specialists get small digestible bites about new technologies, complex scripts, and solutions you could be implementing in your MSP today. I’m fairly anti-tool culture where MSPs get a different tool for each minor inconvenience and focus just on that tool,... Read More The post Tech in 5 minutes: Azure AD Application Proxy appeared first on CyberDrain.

Adam Bertram avatar

How to Manage Microsoft DHCP Clients with DHCP Lease Times

5 days ago | Adam Bertram

Learn how DHCP leases work with Microsoft DHCP servers and how to manage DHCP lease times in this informative how-to post.

Adam Bertram avatar

How to Install and Set Up an AWS CloudWatch Windows Agent

8 days ago | Adam Bertram

CloudWatch is an AWS service that centrally manages all of logs. Learn how to set up the CloudWatch agent for Windows in this tutorial.

Luke Murray avatar

Keep up to date with the latest changes on Azure using PowerShell

8 days ago | Luke Murray

Keeping up with what is happening with changes and previews in Microsoft Azure is difficult, change happens all the time - and being able to stay informed on what is happening with the Azure ecosystem is half the battle, whether it is a new feature or security fix. Microsoft publishes the latest updates on Azure Products and features to their Azure Updates blog: https://azure.microsoft.com/en-us/updates/ So you can browse the website each week, or… monitor the RSS feeds.

Tommy Maynard avatar

PowerShell Approved Verb Synonyms

8 days ago | Tommy Maynard

One of the best design decisions, when PowerShell was initially being created, was using approved verbs in naming a command. When people use those, we can guarantee some consistency between command names. As commands — both cmdlets and functions — we expect to see an approved verb followed by a dash and then a singular […] The post PowerShell Approved Verb Synonyms appeared first on tommymaynard.

Matthew Dowst avatar

PowerShell Weekly – April 2, 2021

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

Darren Robinson avatar

Using the new Granfeldt FIM/MIM PowerShell Management Features

9 days ago | Darren Robinson

Last week Søren Granfeldt released the first update to his hugely popular Granfeldt FIM/MIM PowerShell Management in over 2 years. This post looks at the latest release and using the new Granfeldt FIM/MIM PowerShell Management Features. The new features are: A new option to specify an auxiliary set of credentials that is passed to scripts. … keep reading The post Using the new Granfeldt FIM/MIM PowerShell Management Features appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Guido Oliveira avatar

Movendo arquivos para a Lixeira usando o Powershell

9 days ago | Guido Oliveira

Olá pessoal, Recentemente descobri que o “delete” de um prompt de comando nao não os coloca os arquivos na lixeira na lixeira, nem o Remove-Item PowerShell. […] O post Movendo arquivos para a Lixeira usando o Powershell apareceu primeiro em Guido Oliveira.

Dirk Bremen avatar

An alternative progress cmdlet based on cli-spinners

10 days ago | Dirk Bremen

In this post, I would like to share the steps to build a fun project implementing a console-based progress-spinner that runs in a separate thread while executing arbitrary code in the main thread.

Jeff Hicks avatar

Active Directory Group Reporting

10 days ago | Jeff Hicks

I’ve pushed v1.2.0 of the ADReportingTools module to the PowerShell Gallery. The release adds the missing help for Get-ADComputerReport. I’ve also added better documentation and information in warning messages when running commands in the PowerShell ISE or VS Code. To re-iterate, the module is designed to be run from a PowerShell console host. It is...

Matthew Dowst avatar

Copy Azure Permissions

11 days ago | Matthew Dowst

I was replacing an old service account with a service principal, and needed to replicate the permissions in Azure. I was able to do that without missing anything, using the command below. $CopyFrom = 'Object to copy from' $CopyTo = 'Object to copy to' Get-AzRoleAssignment -ObjectId $CopyFrom | ForEach-Object{ New-AzRoleAssignment -ObjectId $CopyTo -RoleDefinitionId $_.RoleDefinitionId -Scope

Jeff Hicks avatar

Active Directory Reporting Tools Released

11 days ago | Jeff Hicks

Over the weekend, I published the 1.0 version of the ADReportingTools module to the PowerShell Gallery. I first wrote about this module a few weeks ago. I’ve made a number of changes since then and felt the module was ready for an official release. I’m continuing to add new features so you’ll want to keep...

Kelvin Tegelaar avatar

Monitoring with PowerShell: Conditional Disk Space monitoring

12 days ago | Kelvin Tegelaar

A couple of weeks ago I was talking to someone in one of the many MSP discords, and he was struggling with disk space monitoring. His RMM system is designed in such a way that whenever he added a disk space monitor to a machine it adds an entirely new component to the monitoring list.... Read More The post Monitoring with PowerShell: Conditional Disk Space monitoring appeared first on CyberDrain.

Michael Militoni avatar

PowerShell Scripts: Help yourself and others.

13 days ago | Michael Militoni

Introduction I don’t know for you, but the following situation happened to me many times. You work in a team where you exchange scripts. You write scripts for others or you receive scripts that you need to re-use as they… Continue reading →

Jeff Hicks avatar

Answering the PowerShell Export Challenge

14 days ago | Jeff Hicks

Last month, the Iron Scripter Chairman put out a rather large and complex challenge. The basic premise of the challenge was to export a PowerShell session to a file, and then import it in later PowerShell session. In essence, the save the working state of your PowerShell session. This would include items such as defined...

Kelvin Tegelaar avatar

Monitoring with PowerShell: Greynoise community IP reputation

15 days ago | Kelvin Tegelaar

Today Greynoise released a community edition of their API, I saw this flying by on Twitter and immediately decided to blog about it. I love it when vendors make major data points available for everyone, especially when the data could be super useful in security investigations. I’ve decided to make a blog on how you... Read More The post Monitoring with PowerShell: Greynoise community IP reputation appeared first on CyberDrain.

Matthew Dowst avatar

PowerShell Weekly – March 26, 2021

15 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: Warranty lookups

16 days ago | Kelvin Tegelaar

A while back I’ve made a PowerShell module called PsWarranty that allows you to look up the warranty for all major vendors. I’ve integrated this module with many different RMM systems, documentation platforms, and PSAs. Lately, I’ve been getting some more questions about this module in regards to automatically updating the warranty information. Most people... Read More The post Automating with PowerShell: Warranty lookups appeared first on CyberDrain.

Tommy Maynard avatar

Encoding and Decoding PowerShell Strings

16 days ago | Tommy Maynard

Every few months Base64 comes up and I have to go looking for that one post I saw that one time. It’s because that code, on that one site, hasn’t been memorized — not by me, anyway. So, here it is. The below example shows how to encode and decode a string using Base64. Keep […] The post Encoding and Decoding PowerShell Strings appeared first on tommymaynard.com.

Luke Murray avatar

Installing the RSAT (Remote Server Administration Tools for Windows 10) tools using PowerShell

17 days ago | Luke Murray

Installing the RSAT (Remote Server Administration Tools for Windows 10) tools using PowerShell. This is just a quick article, written purely as an easy reference. In the age of the cloud and work from anywhere, Windows 10 allows you easily, install the Remote Server Administration Tools using PowerShell, sometimes (like me) you need these tools not to actually use them - but for the PowerShell modules that come with them to work on scripts locally.

Darren Robinson avatar

Sending Granfeldt PowerShell Management Agent Events to the Windows Application Event Log

17 days ago | Darren Robinson

It has been a while since I wrote a Microsoft Identity Manager or even a Granfeldt PowerShell Management Agent related post. Primarily because it has been quite some time since I have done any development for MIM. The last few weeks though I have, and I wanted to output PowerShell Management Agent Events to the Windows Application Event Log.… keep reading The post Sending Granfeldt PowerShell Management Agent Events to the Windows Application Event Log appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Jeff Hicks avatar

Cleaning with PowerShell Revisited

18 days ago | Jeff Hicks

Springtime is approaching in North America. Where I live, the snow has finally melted and we have blue skies with warmer temperatures. Of course, this means Spring Cleaning. Time to clear out the winter debris and spruce up the house. For me, this is also a good time for some computing housecleaning as well. I...

Dirk Bremen avatar

Graph theory with PowerShell -part 2

18 days ago | Dirk Bremen

This is part two of "Graph theory with PowerShell", focussing on "Small World Graphs", with PowerShell based on (Chapter 3) of the execellent book Think Complexity 2e by Allen B. Downey.

Jeff Hicks avatar

Solving Another PowerShell Math Challenge

19 days ago | Jeff Hicks

Last month, the Iron Scripter Chairman posted a “fun” PowerShell scripting challenge. Actually, a few math-related challenges . As with all these challenges, the techniques and concepts you use to solve the challenge are more important than the result itself. Here’s how I approached the problems. Problem #1 The first challenge was to take a...

Tommy Maynard avatar

Dynamic PowerShell Version in Windows Terminal Tabs Part II

19 days ago | Tommy Maynard

Maybe no one noticed. Or, maybe they did and just didn’t say anything. As you’ll see, I’ve written a quick fix to a post I wrote last week. I shouldn’t have, but back in Part I, I put reliance on my prompt function for the Windows Terminal tab titles. This means that I have to […] The post Dynamic PowerShell Version in Windows Terminal Tabs Part II appeared first on tommymaynard.com.

Guido Oliveira avatar

Manipulando output de comandos

20 days ago | Guido Oliveira

Olá pessoal, Hoje vamos ver como manipular as propriedades dos objetos no Powershell e transforma-las de acordo com a nossa necessidade. #Exemplo 1 Get-Service | Select-Object […] O post Manipulando output de comandos apareceu primeiro em Guido Oliveira.

Przemyslaw Klys avatar

Submitting blogs to web.archive.org using PowerShell

22 days ago | Przemyslaw Klys

Since my website went down in fire with OVH SBG2, I used this occasion to publish my restored website via Cloudflare. It allows me to have to cache, minimization, and some additional security. One thing that caught my attention while browsing through Cloudflare settings was the Always Online feature based on web.archive.org. Basically, the concept is - whenever the website is down, Cloudflare would go and fetch content from web.

Matthew Dowst avatar

PowerShell Weekly – March 19, 2021

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