Kelvin Tegelaar avatar

Monitoring with PowerShell: Monitoring users that are blocked for login

23 hours ago | Kelvin Tegelaar

Hi guys. Today I’ll only have a short blog – I’ve been busy this weekend with non-tech stuff like building a table for dungeons and dragons, which is why I’ve only had time to write a somewhat shorter blog than normally. This one is based on a blog from last week – Some users on […] The post Monitoring with PowerShell: Monitoring users that are blocked for login appeared first on CyberDrain.

Jeremy Murrah avatar

Moving WSL from one machine to another

yesterday | Jeremy Murrah

Work is work and play is play, except for new laptop day. I didn’t actually intend to make a corny rhyme when I started writing but now that it’s there I stand by it. When hardware refresh cycles come around and a shiny new computer appears at work, it is a magical time! The promised increase in performance overshadows the drudgery of reinstalling years worth of applications, settings, and files. This is not an article about chocolatey, but using chocolatey to reinstall all those windows apps is awesome and you should use it! Check out the chocolatey website for more info.

Przemyslaw Klys avatar

Four commands to help you track down insecure LDAP Bindings before March 2020

2 days ago | Przemyslaw Klys

In March 2020, Microsoft will release its monthly updates. With those updates, Microsoft will disable insecure LDAP Bindings, which is going to break a lot of your systems (hopefully not). But this was already communicated, and you know all about it, right? If not, you should read those two articles that can help you with understanding what is happening and when. The post Four commands to help you track down insecure LDAP Bindings before March 2020 appeared first on Evotec.

Matthew Dowst avatar

PowerShell Weekly – January 17, 2020

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.

Thomas Lee avatar

PowerShell 7 - Release Candidate 2 has shipped

3 days ago | Thomas Lee

So there I was, totally relaxed after a lovely yoga class, and at home when Twitter, well actually Steve Lee via Twitter, informed the world that RC2 had shipped. My immediate reaction was, weall as expected, to download/install it NOW! The Install-PowerShell command from GitHub installs PowerShell for Linux, Mac, and Windows.  You can also use it to download the RTM version as well as Preview version such as Release Candidate 2.

Bradley Wyatt avatar

Configure Autopilot Hybrid Azure-AD and ADDS Domain Join

4 days ago | Bradley Wyatt

Prerequisites Hybrid Azure AD join requires devices to have access to the following Microsoft resources from inside your organization’s network. These addresses must be accessed using the SYSTEM context. If you are using Auto Pilot this will be accessed during the enrollment status part: https://enterpriseregistration.windows.net https://login.microsoftonline.com https://device.login.microsoftonline.

Adam Bertram avatar

Setting Up Hybrid Azure AD-Join: The Best of Both Worlds

4 days ago | Adam Bertram

Learn, step-by-step how to set up a hybrid Azure AD joined scenario in this tutorial!

Josh King avatar

Universal Automation: An Early Look

4 days ago | Josh King

I had the pleasure of testing Universal Automation while it was in private beta. Now the beta is open to all and I'm really excited for it to be in more hands because it's a very interesting project!

Adam Bertram avatar

How to Monitor for Large Office 365 Mailbox Size with PowerShell

5 days ago | Adam Bertram

Learn how to monitor Office 365 mailbox sizes with PowerShell in this informative, how-to article.

Thomas Lee avatar

Background Jobs in PowerShell 7

5 days ago | Thomas Lee

The PowerShell background jobs feature allows you to run scripts or script blocks in the background. You use the Start-Job command to start a job, and Get-Job ane Receive-Job to view jobs and to get the output of a job. With PowerShell 7, you have the option of running a job using either PowerShell 7 (ie the default) or using Windows PowerShell 5.1. You indicate it using the -PSVersion parameter and specifying "5.

Jonathan Medd avatar

Ansible, Windows and PowerShell: the Basics – Part 12, Set TimeZone

6 days ago | Jonathan Medd

In Part 12 of this series we’ll continue our journey with Ansible, Windows and PowerShell and look at how to handle TimeZones in Windows. In this example we will look at how to set the TimeZone using the Ansible win_timezone module to an alternative TimeZone to that which has already been configured. Our current TimeZone … Continue reading Ansible, Windows and PowerShell: the Basics –

Alex Neihaus avatar

Azure Virtual Network Service Endpoints

6 days ago | Alex Neihaus

List all Azure virtual network service endpoints in PowerShell

Adam Bertram avatar

Understanding Azure DevOps Variables [Complete Guide]

6 days ago | Adam Bertram

In this in-depth guide, learn what Azure DevOps variables are, their nuances and understand how they're used in your pipelines!

Kelvin Tegelaar avatar

Monitoring with PowerShell: Monitoring Office 365 deleted users & License usage

6 days ago | Kelvin Tegelaar

I’ve been getting some requests to talk more about monitoring access and license management for Office 365. Some of you have asked how to be notified when users get deleted, or to get a notification right before a user is deleted permanently. Another question was on how to check if all licenses are assigned and […] The post Monitoring with PowerShell: Monitoring Office 365 deleted users & License usage appeared first on CyberDrain.

Tommy Maynard avatar

PowerShell Function with a Function Full of Functions

7 days ago | Tommy Maynard

This article is about creating a PowerShell function that creates a function full of functions. If you’re just starting this post now, then head to PowerShell.org to read the beginning of this article. Otherwise, continue reading below. PowerShell Function with a Function Full of Functions, Continued I have a function template that I use when […] The post PowerShell Function with a Function Full of Functions appeared first on tommymaynard.

Jeff Hicks avatar

Creating Linked HTML with PowerShell

7 days ago | Jeff Hicks

Today’s post is about a niche problem or something that maybe you never considered before. And while I will share a finished PowerShell function, you may want to create your own tooling based on the techniques and concepts. The problem begins with a command like this: [crayon-5e26960a6df29018272858/] And suppose you want to create an HTML...

Mike Kanakos avatar

Jump Start: PowerShell Remoting

7 days ago | Mike Kanakos

Get up to speed quickly on all aspects of PowerShell remoting, logging and security with easy to follow articles and guides

Mike Kanakos avatar

Connecting to multiple computers with Invoke-Command

7 days ago | Mike Kanakos

Learn how to connect to multiple computers from a PowerShell command prompt with my guide to getting started with PowerShell Remoting and Invoke-command.

Kiran Patnayakuni avatar

Just a Tip #12 – Get all the aliases by CmdLet in PowerShell

7 days ago | Kiran Patnayakuni

You can get the alias by name using Get-Alias with -Name parameter… To get all the aliases of a CmdLet, use Get-Alias with -Definition parameter…Continue reading

Thomas Lee avatar

Planet PowerShell - A New PowerShell Resource

8 days ago | Thomas Lee

As I am sure you know, the Interweb contains a great deal of excellent PowerShell related content. The question is, how do you find it? If you know what you are looking for, today's search engines are pretty awesome. I use Google and Bing a lot. In my training, I encourage 'Google Engineering' as a way to be successful with PowerShell. Search engines are outstanding, so long as you know what you are looking for.

Kelvin Tegelaar avatar

Documenting with PowerShell: Handling IT-Glue API security and rate limiting.

9 days ago | Kelvin Tegelaar

I’ve been blogging a whole lot about documentation lately; I truly believe all automated documentation is better than just having people enter data manually. My company uses IT-Glue as a documentation system. IT-Glue is a very cool system but has some huge API limitations. For example; You’re allowed to make 10 requests per second and […] The post Documenting with PowerShell: Handling IT-Glue API security and rate limiting.

Matthew Dowst avatar

PowerShell Weekly – January 10, 2020

10 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 SQL server health

10 days ago | Kelvin Tegelaar

Seems like this is the week of SQL server blogs! This time we’re going to cover monitoring the SQL server health. SQL server health monitoring is important to keep all line of business applications in check and to make sure they perform well. We’ll be focussed on monitoring the server, databases, and jobs. We will […] The post Monitoring with PowerShell: Monitoring SQL server health appeared first on CyberDrain.

Adam Bertram avatar

How to Scour Office 365 Audit Logs for Suspicious Activity

11 days ago | Adam Bertram

Learn how to quickly and efficiently search Office 365 audit logs using the free PowerShell tool called Hawk.

Josh King avatar

PowerShell's Secret Wildcard

11 days ago | Josh King

It's funny how you can be a daily PowerShell user for years and completely miss something about a feature you regularly use... such as the "like" operators accepting more than two different wildcards.

Adam Bertram avatar

Running 64-bit PowerShell Scripts and Modules in Jenkins

12 days ago | Adam Bertram

Learn how to set up Jenkins to run both 32 bit and 64 bit PowerShell scripts in this, step-by-step walkthrough article!

Kelvin Tegelaar avatar

Documenting with PowerShell: Active Directory domain and settings

12 days ago | Kelvin Tegelaar

Clients that still have a server on-site are become rare these days – Most of our client base is either completely public cloud using AAD or they have hosted servers in our private cloud. For these clients I’ve made the following script to document their Active Directory server settings. I always I want to be […] The post Documenting with PowerShell: Active Directory domain and settings appeared first on CyberDrain.

Jonathan Medd avatar

Running PowerShell Core Commands Directly on Ansible Localhost

13 days ago | Jonathan Medd

Previously I’ve written about Running PowerShell Core Commands in a Linux Target from Ansible . In this article, we’ll look at a similar topic, but instead the PowerShell commands will be executed directly on the local Ansible host, not on a Linux based remote target. In my lab I’m running AWX in containers. The cross-platform … Continue reading Running PowerShell Core Comm

Adam Bertram avatar

Analyzing Windows Performance Monitor Logs with the PAL Tool

13 days ago | Adam Bertram

Learn how to save time and extract actionable data from your Windows performance counter logs with the free, PAL tool!

Tommy Maynard avatar

PowerShell’s Get-Date FileDateTime for Safe Filenames

14 days ago | Tommy Maynard

This article covers using PowerShell’s Get-Date cmdlet and its FileDateTime format option to create safe filenames that include the date and time. If you’re just starting this post now, then head over to PowerShell.org to read the beginning of this article. Otherwise, continue reading below. PowerShell’s Get-Date FileDateTime for Safe Filenames, Continued I can still […] The post PowerShell’s Get-Date FileDateTime for Safe Filenames appeared first on tommymaynard.

Przemyslaw Klys avatar

PowerShell Modules I worked on in 2019

14 days ago | Przemyslaw Klys

It's year 2020 and 365 days passed since my last year blog post about PowerShell modules I worked on in 2018. I thought it would be a good occasion to review what happened and how things changed during that time. When I wrote the last blog post in the first days of 2019, my PowerShell modules were downloaded just a bit over 15000 times. Fast Forward today, and the counter is at 280000 times spread over 40 modules.

Adam Bertram avatar

How to Revoke Azure AD Tokens from Expired AD Users

14 days ago | Adam Bertram

Learn how to build a PowerShell script that finds all expired AD user accounts and revoke Azure AD tokens in this tutorial.

Kelvin Tegelaar avatar

Documenting with PowerShell: Documenting SQL settings and databases

14 days ago | Kelvin Tegelaar

Most of our clients have some form of line of business application that requires a database engine. in 99% of the cases this ends up being a SQL server. I always enjoy being in complete control of an environment so whenever we deploy SQL servers we automatically run this documentation script. This is especially good […] The post Documenting with PowerShell: Documenting SQL settings and databases appeared first on CyberDrain.

Jeff Hicks avatar

Friday Fun: Taking a Shortcut Path in Your PowerShell Prompt

17 days ago | Jeff Hicks

To kick off the new year I thought I’d take a shortcut and reclaim some wasted space in my PowerShell prompt. I know I run into this issue during classes and conferences. Perhaps you encounter it as well. You are in in the PowerShell console and have ended up in a deep directory structure so...

Kiran Patnayakuni avatar

Just a tip #11 – Convert a string to title case in PowerShell.

17 days ago | Kiran Patnayakuni

Converting a string to upper and lower cases are possible with the string object using the dot notation, but not sure why title case isContinue reading

Adam Bertram avatar

Saving Time with Windows Performance Monitoring Templates

17 days ago | Adam Bertram

Learn how to save tons of time and automate creating and deploying Windows performance monitoring templates in this tutorial!

Matthew Dowst avatar

PowerShell Weekly – January 3, 2020

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.

Guido Oliveira avatar

IPCalculator – Um modulo para segmentação de redes VLSM(Variable-Length Subnet Masking)

18 days ago | Guido Oliveira

Olá Pessoal, Sempre que estou fazendo projetos de “Cloud Foundation” preciso desenhar a segmentação de rede, para isso uso o VLSM. O VLSM (Variable-Length Subnet Masking) […] O post IPCalculator – Um modulo para segmentação de redes VLSM(Variable-Length Subnet Masking) apareceu primeiro em Guido Oliveira.

Adam Bertram avatar

How to Build an Azure Pipeline (Build/Release) from Scratch

18 days ago | Adam Bertram

Learn how to set up an Azure Pipelines build and release pipelines from scratch in this step-by-step tutorial with tons of screenshots.

Josh King avatar

New Year's Resolutions - 2020

19 days ago | Josh King

Apparently I forgot to do one of these posts last year. I like having these posts to look back on, so let's get back on track!

Jerome Bezet-Torres avatar

GPO from zero to hero - GPO Structure

19 days ago | Jerome Bezet-Torres

During my last post we talked about GPO in an Active Directory domain, today we will move on to concrete things to discover the structure of a GPO and why not create our first GPO. 1. What are the files that compose it? In pre-Windows Server 2008/2008 R2 and Vista/7...

Przemyslaw Klys avatar

Sending information to Event Log with extended fields using PowerShell

19 days ago | Przemyslaw Klys

Reading Event Logs is something that every admin does or at least should do quite often. When writing PowerShell scripts, you often need to read event logs to find out different things across your infrastructure. But now and then it's quite the opposite. You need to write something to Event Log so it can be recorded for the future. Sure, you can write your information to log files, but since Windows already has a built-in logging system, it may be much easier to write stuff to event log.

Kiran Patnayakuni avatar

Just a tip #10 – Get overload definitions of a method in PowerShell

19 days ago | Kiran Patnayakuni

To refer the overload definitions/syntax of a method of an object using the OverloadDefinitions property of a method with simple dot notation… Example: Thank you.Continue reading

Kiran Patnayakuni avatar

PowerShell: Happy New Year 2020 #In Console

20 days ago | Kiran Patnayakuni

Happy New Year 2020Continue reading

Jonathan Medd avatar

Ansible, Windows and PowerShell: the Basics – Part 11, Local Groups

21 days ago | Jonathan Medd

In Part 11 of this series we’ll continue our journey with Ansible, Windows and PowerShell and look at how to handle local Windows groups. This can prove to be a useful method to configure local group membership with both local and domain user accounts if perhaps you don’t want to or are not able to … Continue reading Ansible, Windows and PowerShell: the Basics – Part 11, Local Gr

Alexander Koehler avatar

Microsoft Teams Dateien mit lokalem PC synchronisieren

22 days ago | Alexander Koehler

Teams ist ein wirklich sehr interessantes Tool von Microsoft, leider sind einige Sachen etwas umständlich gemacht, bzw. auch noch im Aufbau. Viele meiner Kunden fragen mich, wie die Dateien aus einem Team mit dem lokalen PC synchronisiert werden können. Leider gibt es in Teams direkt (noch) keinen Button dafür. Deshalb habe ich dieses kleine Tutorial […] Der Beitrag Microsoft Teams Dateien mit lokalem PC synchronisieren erschien zuerst auf it-koehler-blog.

Przemyslaw Klys avatar

Merging, splitting and creating PDF files with PowerShell

22 days ago | Przemyslaw Klys

We're in the last days of 2019, and this will be my last blog post this year. What better way to end a good year than with the release of the new PowerShell module. If the title of today's blog post isn't giving it up yet, I wanted to share a PowerShell module called PSWritePDF that can help you create and modify (split/merge) PDF documents. It joins my other PowerShell modules to create different types of documents such as PSWriteWord, PSWriteExcel, PSWriteHTML.

Adam Bertram avatar

PowerShell: Getting (and Exporting) AD Group Members

24 days ago | Adam Bertram

Learn how to use PowerShell to get AD group members, groups and export them in this step-by-step article.

Jeff Hicks avatar

Friday Fun: Thank God It’s a PowerShell Friday

24 days ago | Jeff Hicks

Well here we are at the last Friday of the year. In fact , the last Friday of the decade! On this auspicious occasion, let’s have some PowerShell fun and celebrate Friday. No matter what you call it, I’m assuming Friday is your last typical workday and something we look forward to. However, the name...

Adam Bertram avatar

How to Write your First AWS Lambda C# Function

24 days ago | Adam Bertram

In this AWS Lambda example tutorial, learn step-by-step how to write a Lambda function in C#.