Adam Bertram avatar

Everything You Need to Know about Using Docker Compose

2 hours ago | Adam Bertram

If you wanted to learn how to use Docker compose, you're in luck. In this Docker Compose tutorial, learn the ins and out of this handy command.

Darwin Sanoy avatar

Mission Impossible Code Heuristics for Creating Super-Spy Code That Always Gets the Job Done

2 days ago | Darwin Sanoy

Super action spies like Ethan Hunt, Jason Borne and Evelyn Salt live in an ethos of getting the job done no matter what! They complete their missions in vastly diverse conditions and in the face of the unexpected. Super spies make use of specialized tools and techniques when available (and working), but simple and pragmatic alternatives are always top of mind. They jump out of windows, walk across moving cars, use household objects as weapons and drive cars down staircases.

Adam Bertram avatar

How to Transfer and Seize FSMO Roles (GUI and PowerShell)

3 days ago | Adam Bertram

Learn how to easily transfer Active Directory FSMO roles and seize them if they're not behaving in this detailed guide.

Matthew Dowst avatar

PowerShell Weekly – February 26, 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.

Adam Bertram avatar

Explained: How Active Directory FSMO Roles Work

4 days ago | Adam Bertram

Understand how FSMO roles play a part in how Active Directory manages time synchronization, password changes, DC promotions and more.

Adam Bertram avatar

What You Need to Know about Visual Studio Code: A Tutorial

4 days ago | Adam Bertram

In this handy, in-depth Visual Studio Code tutorial, learn how to get started using this powerful code editor!

Kelvin Tegelaar avatar

Monitoring with PowerShell: Monitoring Bitdefender status

4 days ago | Kelvin Tegelaar

We’re considering moving RMM systems, and that means reevaluating parts of our stack. One of the pain points in our current stack is the monitoring of anti-virus, we often felt like there is not enough transparency and data returned via our RMM system. Either the system does not return the current state of alerts or […] The post Monitoring with PowerShell: Monitoring Bitdefender status appeared first on CyberDrain.

Jan Egil Ring avatar

Getting into the Linux world as a PowerShell user

4 days ago | Jan Egil Ring

Introduction Up until the past couple of years or so I have mainly been working with Windows-based systems. However, as mentioned in a previous post - when technology evolves there is a need to adapt - and getting into the Linux side of things is one key area given the frequent use of Linux in modern technologies such as containers. Since starting working more and more with containers and Kubernetes, I have been exposed more and more to Linux and learned some fundamentals such as looking into logs and managing services.

Dirk Bremen avatar

Using PowerShell and RegEx to extract text between delimiters

4 days ago | Dirk Bremen

In this post I will share a little PowerShell function that I use quite frequently in order to extract text between delimiters out of a bigger chunk of text. I hope that this can be useful to others too.

Jeff Hicks avatar

Comparing PowerShell Property Names

4 days ago | Jeff Hicks

Recently, I was chatting with my friend Gladys Kravitz about the hassle of comparing objects in PowerShell. Even after all these years. She has a specific use case, but you might also feel the need for a better comparison option. And to be clear, the comparison we’re talking about is not the object’s values, as...

Adam Bertram avatar

Installing Nessus and Getting Started with Kali (Jumpstart Guide)

5 days ago | Adam Bertram

Install Nessus on Kali Linux, configure a network vulnerability scan, and learn to scan the local Kali Linux installation!

Darren Robinson avatar

Finding Stale Azure AD B2B Guest Accounts based on lastSignInDateTime

5 days ago | Darren Robinson

Collaboration between Azure Active Directory tenants typically involves Azure AD Guest accounts. After a few years, the proliferation of ‘Guest’ accounts usually becomes a focus, especially for larger tenants. As Azure AD has matured the meta data associated with accounts, along with Microsoft Graph improvements is making it easier to define and locate stale Azure AD B2B Guest Accounts.

Adam Bertram avatar

How to Move Exchange Mailboxes with PowerShell

6 days ago | Adam Bertram

Learn how to move mailboxes the right way using PowerShell and the New-MoveRequest cmdlet.

Guido Oliveira avatar

Tratativa de erro com Powershell

6 days ago | Guido Oliveira

Olá pessoal, Hoje iremos ver como começar a fazer tratativas de erro em nossos scripts para nao simplismente suprimir o erro, mas lidar com ele de […]

Kelvin Tegelaar avatar

Monitoring with PowerShell: Monitoring listening applications

6 days ago | Kelvin Tegelaar

In one of the online communities I follow someone encountered an issue with application listeners and ports being in use. The use case is that users have a Autocad type application installed that launches a server on a specific port; the users also run a remote control application that at times steals the port. We’ve […] The post Monitoring with PowerShell: Monitoring listening applications appeared first on CyberDrain.

Adam Bertram avatar

How to Flush DNS in Windows 10

7 days ago | Adam Bertram

Flush and clear the DNS Resolver Cache in Windows 10 using the built-in ipconfig command or PowerShell's Clear-DnsClientCache!

Fer Corrales avatar

Getting Detailed Task Information With PowerCLI (Function)

7 days ago | Fer Corrales

If you are reading this there is a good chance that you have some experience with VMware PowerCLI. If that is the case, you are probably aware that PowerCLI is a solid, mature product. However, as any other software tool, it has some improvement opportunities. One of the most notable examples of its few shortcomings […] The post Getting Detailed Task Information With PowerCLI (Function) appeared first on fercorrales.

Xajuan Smith avatar

Storing Objects and Text.

7 days ago | Xajuan Smith

The best case scenario in my opinion of using variables is to leverage objects. I know some of the users prefer text only, but objects carry much more information, that can be logged or leveraged. Here is an example: Having computer’s name vs and object with multiple properties. The 3 last lines are are magic…Continue reading "Storing Objects and Text."

Tommy Maynard avatar

Simple Simple Microsoft Crescendo Example

9 days ago | Tommy Maynard

There’s a newer module that been discussed a few times in the written form, as well as in at least one podcast I listened to recently. Jason Helmick, an MVP turned Microsoft employee, has been notifying the PowerShell community about the Microsoft Crescendo PowerShell module. And he should be. It’s a unique idea for wrapping […] The post Simple Simple Microsoft Crescendo Example appeared first on tommymaynard.

Adam Bertram avatar

How to Uninstall Microsoft Teams on Windows 10 (For IT Pros)

10 days ago | Adam Bertram

Learn how to uninstall Microsoft Teams a variety of ways from manually, group policy, and the Office Deployment Toolkit.

Tommy Maynard avatar

The 350th Post

10 days ago | Tommy Maynard

This folks, is my 350th post. Timeout, it turns out this is actually my 351st post. I was so busy writing about PowerShell vs. Windows PowerShell and the LAPS module that I blew right past this milestone — a milestone I had hoped to write about when it happened. I’ve spent several years now enjoying […] The post The 350th Post appeared first on tommymaynard.com.

Fer Corrales avatar

Organize Your PowerShell Code With Regions and Multiline Comments

10 days ago | Fer Corrales

Introduction When learning any scripting or programming language, we are always told that comments are extremely important, they are essential for code readability and maintainability. Well, PowerShell is no exception to the rule and fortunately there are “tricks” that make it easy to add comments to source code. In this post we will go over […] The post Organize Your PowerShell Code With Regions and Multiline Comments appeared first on fercorrales.

Mike Kanakos avatar

VIDEO: Getting Started with the Microsoft SecretManagement module

11 days ago | Mike Kanakos

Learn how to create and manage secure secrets using PowerShell in under an hour!

Adam Bertram avatar

How to Move Exchange Mailboxes with Exchange Admin Center

11 days ago | Adam Bertram

Learn how to move a mailbox in Exchange 2013, 2016 and 2019 in this informative walkthrough tutorial.

Tommy Maynard avatar

PowerShell and the LAPS Windows PowerShell Module

11 days ago | Tommy Maynard

There’s a difference between Windows PowerShell and just PowerShell. You know that, right? You know what the difference is, yeah? If not, then do know that Jeff Hicks wrote a great blog post about it recently titled “What the Shell is Happening?” I’m going to assume you’ve read this as I go along, so you […] The post PowerShell and the LAPS Windows PowerShell Module appeared first on tommymaynard.

Dirk Bremen avatar

Using PowerShell Jupyter notebooks for blogging

11 days ago | Dirk Bremen

In this post I would like to share how one can use PowerShell Jupyter Notebooks with .Net interactive (The .Net interactive Notebook feature has also been recently introduced by the PowerShell team (see here)) as a blogging platform for WordPress.com or Markdown based static site generators like Jeykll. In fact the blog post you are currently reading is entirely based on such a notebook. You can open the notebook and interactively run the PowerShell code using this link or start with a new PowerShell notebook from this link.

Adam Bertram avatar

Understanding the GPUpdate Command [In Depth]

12 days ago | Adam Bertram

If you need to quickly apply a group policy to your Windows system, you must learn how gpupdate works.

Tommy Maynard avatar

Part V: Splunk, HEC, Indexer Acknowledgement, and PowerShell

12 days ago | Tommy Maynard

In the last four parts of this series (Part I, Part II, Part III, Part IV),  we discussed sending telemetry data to Splunk using HEC (HTTP Event Collector). This requires no software to be installed. We can send data for ingestion to Splunk using REST and a REST endpoint. In the previous four parts, we’ve […] The post Part V: Splunk, HEC, Indexer Acknowledgement, and PowerShell appeared first on tommymaynard.

Darren Robinson avatar

Reporting on Users’ Azure AD Authentication Methods using Microsoft Graph and PowerShell

12 days ago | Darren Robinson

Reporting on users’ registered Azure AD Authentication methods is a more common request from enterprise security teams recently with the advance of Passwordless Authentication. In mid 2020 Microsoft added the ability to report on Azure AD Authentication Methods using Microsoft Graph, however ONLY with Delegated Microsoft Graph permissions.… keep reading The post Reporting on Users’ Azure AD Authentication Methods using Microsoft Graph and PowerShell appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Create a Polling Loop in PowerShell

13 days ago | Aaron Nelson

This is one way to create a polling loop in PowerShell. I’m sure there are several options, but this one works well for the use case. Backstory I needed to start the refresh of a data model using the new Start-RsRestCacheRefreshPlan function I created, and then check a few seconds later to make sure it […] The post Create a Polling Loop in PowerShell first appeared on SQLvariations: SQL Server, a little PowerShell, maybe some Power BI.

Jeff Hicks avatar

Scaling the Active Directory Log Search with PowerShell

13 days ago | Jeff Hicks

Recently, I posted a demonstration of how to find changes to your Active Directory using PowerShell. This process requires that you search through the Security event log on all your domain controllers. As a few people pointed out, myself included, this has the potential to not scale very well in large environments. I still believe...

Jeff Hicks avatar

Climbing Trees in PowerShell

14 days ago | Jeff Hicks

I’m continuing with my renewed interest in Active Directory, and how I can take advantage of PowerShell. This is a topic I’ve been working with since the PowerShell v2 days. I have a lot of old code. Some of which I’ve decided to dust off and polish up. One topic that always interested me, is...

Mike Kanakos avatar

Configure one PowerShell profile for many users

14 days ago | Mike Kanakos

Learn how to use one #PowerShell profile script for multiple users on a box. Configure your profile settings once and be done for all users!

Kelvin Tegelaar avatar

The start of CyberDrain CTF is today!

14 days ago | Kelvin Tegelaar

Today is the start of the CyberDrain CTF! At 13:00 CET I’ll be launching the capture the flag challenges. Most of you have messaged me wondering what to expect and had several questions about how I’m going to be judging and assisting everyone, today I’ll be able to clear some of this stuff up; The […] The post The start of CyberDrain CTF is today! appeared first on CyberDrain.

Fer Corrales avatar

Having Fun With Nested Hash Tables: Building a Hard-coded DB

14 days ago | Fer Corrales

Introduction Hash tables in PowerShell are, from a syntax standpoint, a scriptblock preceded by a ‘@’ sign which enclose key value pairs. Now, key value pairs are a key with its corresponding value, or in more common words, a property name and a property value with an equal sign in the middle. Here is an […] The post Having Fun With Nested Hash Tables: Building a Hard-coded DB appeared first on fercorrales.

Jeff Hicks avatar

Friday Fun: PowerShell Weather Widget

17 days ago | Jeff Hicks

Recently, someone on Twitter turned me on to an resource that could be used in a PowerShell session to display weather information. This is apparently a well-established and well-regarded source. Once I worked out the basics, I naturally wanted to see what else I could do it with. Here’s what I came up with. Everything...

Matthew Dowst avatar

PowerShell Weekly – February 12, 2021

17 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

Monitoring with PowerShell: Monitoring Storage Spaces and Windows RAID

17 days ago | Kelvin Tegelaar

So this blog was requested a lot lately – I’m not a big fan of using Windows RAID anywhere but Storage Spaces is becoming more relevant each day, with S2D and larger deployments. Storage Spaces is Microsoft’s successor to the classical Windows Software RAID options. I’ve made some scripts for both options, but I sure […] The post Monitoring with PowerShell: Monitoring Storage Spaces and Windows RAID appeared first on CyberDrain.

Darren Robinson avatar

Getting Microsoft 365 Individual User Usage Reports with PowerShell

18 days ago | Darren Robinson

The ability to obtain Individual User Usage Reports has been possible in Office365 for many years. However, they were only available from each individual service such as Teams, OneDrive, Exchange, SharePoint and Yammer. If you wanted a holistic view you needed to query each of the services API’s and collate the responses for each identity.… keep reading The post Getting Microsoft 365 Individual User Usage Reports with PowerShell appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Grant or Revoke Permission on Power BI Report Server

18 days ago | Aaron Nelson

I have created two new PowerShell functions for Granting or Revoking permission on items in the Power BI Report Catalog. These two will be the probably be the last two functions I create for Power BI Report Server for a little while. I’ll be working on SSAS cmdlets for the next week or two. RECAP […] The post Grant or Revoke Permission on Power BI Report Server first appeared on SQLvariations: SQL Server, a little PowerShell, maybe some Power BI.

Shane O'Neill avatar

T-SQL Tuesday #135: The outstanding tools of the trade that make your job awesome

19 days ago | Shane O'Neill

Welcome to T-SQL Tuesday, the brainchild of Adam Machanic ( twitter ) and ward of Steve Jones ( blog | twitter ).T-SQL Tuesday is a monthly blogging party where a topic gets assigned and all wishing to enter write about the subject.This month we have Mikey Bronowski ( blog | twitter ) asking us about … Continue reading "T-SQL Tuesday #135: The outstanding tools of the trade that ma

Dirk Bremen avatar

Installing and setting up PowerShell PSReadline with predictive IntelliSense

19 days ago | Dirk Bremen

The PowerShell Team recently announced the new predictive IntelliSense feature for the excellent built-in (since version 5.1) PSReadline module. While the PowerShell Team’s post already fully covers the functionality of the feature, I actually struggled to install this on Windows PowerShell 5.1 and would like to share my experience in case someone else encounters a … Continue reading I

Query DB2 From PowerShell

20 days ago | Aaron Nelson

Story time: A few months ago I was in a meeting where we were all asked how we could take on a complex, but very necessary task. As they went around to everyone on the call, everyone said it wasn’t possible to do without a major (dedicated personnel) effort. When they got to me, I […] The post Query DB2 From PowerShell first appeared on SQLvariations: SQL Server, a little PowerShell, maybe some Power BI.

Guido Oliveira avatar

Removendo acentos de palavras usando Powershell

20 days ago | Guido Oliveira

Olá, Recentemente precisei em um script, tratar algumas strings que tinham caractéres especiais, ou seja, strings como: á é ó ã õ ç, etc. Usualmente os […]

Jeff Hicks avatar

Solving the PowerShell Memory Challenge

21 days ago | Jeff Hicks

I hope you tried your hand at this Iron Scripter PowerShell challenge on reporting memory usage. The basic challenge was to find the total percent of working set memory that a specific process or service is using. Here’s how I approached it, with my usual disclaimer that my solution is not the only or nor...

Guido Oliveira avatar

Alterando campos de usuários em lote no Active Directory

21 days ago | Guido Oliveira

Olá pessoal, Dando sequencia ao ultimo video, vamos ver hoje como é simples alterar atributos dos usuários do AD em lote no powershell. Lembrando que toda […]

Fer Corrales avatar

Getting CPU Ready Time Stats With VMware PowerCLI

21 days ago | Fer Corrales

Introduction For those of us involved in the virtualization world, specially with VMware technologies, CPU Ready Time is one of those metrics that are extremely important but also hard to understand for administrators. CPU Ready Time is the percentage of time during which a virtual CPU has to wait to access the physical CPU during […] The post Getting CPU Ready Time Stats With VMware PowerCLI appeared first on fercorrales.

Jeff Hicks avatar

Searching Active Directory Logs with PowerShell

23 days ago | Jeff Hicks

The last few weeks, I’ve been spending time with Active Directory and automating management tasks with PowerShell. If you go back a page or two of posts, you’ll see some of the scripts and functions I’ve shared. Today, I want to address something that has come up in recent comments related to tracking changes in...

Matthew Dowst avatar

PowerShell Weekly – February 5, 2021

24 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

Monitoring with PowerShell: Monitoring BSODs without event viewer

25 days ago | Kelvin Tegelaar

I’ve written about monitoring BSODs some years ago. Back then I simply used a event log lookup as an example how to monitor BSODs. I never really liked that method because it did not give me all the verbosity I would’ve liked. Moments after I published that blog I’ve actually made a better monitoring set […] The post Monitoring with PowerShell: Monitoring BSODs without event viewer appeared first on CyberDrain.