Przemyslaw Klys avatar

Strengthening Password Security in Active Directory: A PowerShell-Powered Approach

2 days ago | Przemyslaw Klys

PasswordSolution uses the DSInternals PowerShell module to gather Active Directory hashes and then combines that data into a prettified report. If you have ever used DSInternals, you know that while very powerful, it comes with raw data that is hard to process and requires some skills to get it into a state that can be shown to management or security. The post Strengthening Password Security in Active Directory: A PowerShell-Powered Approach appeared first on Evotec.

Harm Veenstra avatar

Experts Live Netherlands 2023

3 days ago | Harm Veenstra

This week the annual Dutch Experts Live meeting was there again in Den Bosch, I was there together with some of my colleagues from NEXXT, and this is my impression of the event :)

Faris Malaeb avatar

Using Get-IISAppPool PowerShell Cmdlet

3 days ago | Faris Malaeb

The Get-IISAppPool cmdlet helps to access and configure Internet Information Services (IIS) application pools. This cmdlet is available within the IISAdministration PowerShell module. It enables users to retrieve information, such as application pool name, .Net framework version, runtime version, state, and recycling settings of an existing IIS application pool. This cmdlet examines the applicationHost.

Jeff Hicks avatar

Discover Enums with Get-TypeMember

4 days ago | Jeff Hicks

Earlier this Spring, I released a new function called Get-TypeMember. The function is in the PSScriptTools module. I wrote about that release here. This command is an alternative to Get-Member that includes more details. The other day I pushed a new version that makes it easier to identify properties that are enumerations. The function has...

Adam Bertram avatar

Back to Basics: Conditional Logic with PowerShell If Statement

5 days ago | Adam Bertram

Learn what the PowerShell If Statement construct is, understand its syntax and how it works.

Adam Bertram avatar

PowerShell Move File in Action with Move-Item

8 days ago | Adam Bertram

With PowerShell move file commands, learn how to organize files and more through the command-line interface in this ATA Learning tutorial!

Harm Veenstra avatar

Editing PowerShell scripts in Azure Cloud Shell

15 days ago | Harm Veenstra

Executing PowerShell scripts in Azure Cloud Shell is easy and fast, but how do you edit them before running? I will show you three ways to do that in this blog post.

Faris Malaeb avatar

QuickScript: Get installed Update and Machine Uptime Using PowerShell.

20 days ago | Faris Malaeb

This is a quick, simple post. The requirement is simple. Get a report from all the computers in the network reporting the last Windows update date, Windows update installed KB, and the Windows uptime. The script gets the content from a file containing all the computer names as an array and saves the result on... The post QuickScript: Get installed Update and Machine Uptime Using PowerShell. appeared first on Faris Malaeb.

Harm Veenstra avatar

Using PowerShell Direct for Hyper-V VMs

24 days ago | Harm Veenstra

I have multiple Hyper-V Vms on my laptop for testing purposes. Sometimes, you need to update those or check things, and you can do this using PowerShell Direct. In this blog post, I will show you how to use PowerShell Direct with a few examples.

Xajuan Smith avatar

AWS EC2 powerShell tips

24 days ago | Xajuan Smith

Ever find yourself looking for ways to use powerShell? maybe that’s just me. Hahaha Recently I was supporting some EC2 in the cloud testing some new AWS features and services and I found my self locked out and released this machine was not domain joined but I couldn’t login. With the windows PowerShell cmdlets swirlingContinue reading "AWS EC2 powerShell tips"

Harm Veenstra avatar

Intune Proactive Remediation for “Microsoft Windows Unquoted Service Path” / CVE-2013-1609, CVE-2014-0759, CVE-2014-5455

27 days ago | Harm Veenstra

Microsoft Defender has security recommendations for the "Fix unquoted service path for Windows services.” (CVE-2013-1609, CVE-2014-0759, CVE-2014-5455) These might be reported for things like Dell services, and you can fix them manually by editing the Registry on the affected device. But... There is an easier way :) This blog post will show you how to create a Proactive Remediation in Intune for it.

Luke Murray avatar

Open multiple Microsoft Teams instances using PowerShell

28 days ago | Luke Murray

There may be circumstances, you need to open up multiple Microsoft Team instances, a reason for this - maybe to chat and join meetings across multiple accounts. Microsoft are working on a version of Microsoft Teams that supports multiple-accounts, but until thats released - you can use a PowerShell script to open up another version of Microsoft Teams in another profile (or multiple, if you update the profilename).

Alexander Koehler avatar

Use ChatGPT OpenAI with PowerShell

28 days ago | Alexander Koehler

If you follow the latest digital news you may probably heard about ChatGPT and other OpenAI tools. Tools like ChatGPT can be integrated in our daily work with PowerShell. See this short manual with the most important steps. First step is to create an API-Key within the ChatGPTP Portal. So you need to sign in … Read more "Use ChatGPT OpenAI with PowerShell" Articel Use ChatGPT OpenAI with PowerShell available first on IT koehler blog.

Harm Veenstra avatar

Configuring NTFS permissions using PowerShell

29 days ago | Harm Veenstra

Configuring NTFS permissions is something that you can do using your Windows Explorer, Server Manager, or by using command-line tools like subinacl.exe or icacls.exe. In this blog post, I will show you how to set NTFS permissions in two different ways using PowerShell :)

Harm Veenstra avatar

Microsoft Defender SmartScreen issues (Fixed)

one month ago | Harm Veenstra

Currently, my blog site is blocked by SmartScreen... Again 🙁 Because it's a SmartScreen issue, the site still works in Chrome, Firefox, and other browsers. I created a support ticket for it again, asking for an explanation and awaiting a response. If you could also report it as safe, that might speed up things! Hopefully, they can tell me what and why. I post blogs with script examples with no malicious code in them.

Darren Robinson avatar

Generative AI (ChatGPT) with PowerShell

one month ago | Darren Robinson

Unless you’ve been off the grid on a long sabbatical the last six months you’ve surely heard of ChatGPT. Like many I started exploring the possibilities of OpenAI ChatGPT when it hit the world by storm last year. Pretty quickly I saw the power of it, but also wondered about using it via API.… keep reading The post Generative AI (ChatGPT) with PowerShell appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Harm Veenstra avatar

Using the #Requires statement in PowerShell

one month ago | Harm Veenstra

Sometimes you have scripts that require specific versions of modules, or if the script is started with Administrator privileges, you can add checks for that in the script itself or... You can use the built-in #Requires statement for that. In this blog post, I will show you how.

Bradley Wyatt avatar

Windows LAPS Management, Configuration and Troubleshooting Using Microsoft Intune

one month ago | Bradley Wyatt

Windows Local Administrator Password Solution (Windows LAPS) is a Windows Feature that allows IT Administrators to secure and protect local administrator passwords. This includes automatic rotation of passwords as well as backing up the passwords to Azure Active Directory or Active Directory. You can configure Windows LAPS on your Windows endpoints using Microsoft Intune. Pre-requisites To use Windows LAPS in Intune, ensure you’re using a supported Windows platform: Windows 10 20H2 and later with April 11, 2023 security updates installed Windows 11 21H2 and later with April 11, 2023 security updates installed Windows Server 2019 and later with April 11, 2023 security updates installed You might also have to enable Azure AD Local Administrator Password Solution (LAPS) within your Azure Tenant.

Harm Veenstra avatar

Custom Compliance PowerShell script for detecting additional local Administrators

one month ago | Harm Veenstra

One of our customers wanted to be sure that there were no additional accounts in the local Administrators group on their Intune devices, and... That's where Custom Compliance policies come in :) In this blog post, I will show you how to automatically check the Administrators group and mark the device as non-compliant if needed.

Przemyslaw Klys avatar

Track Ubiquiti Unifi Stock, and get notified of changes

one month ago | Przemyslaw Klys

I am a pretty big fan of Ubiquiti and their Unifi products line. Whether it's network equipment or their camera systems, Unifi Protect, I have it all, and I'm pretty happy with how it works. However, over the last two years, some of their stocks in the store were very hard to find. For example, I've searched for Unifi Protect G4 Doorbell Pro for over six months. I've tried local shops all around Europe, even in the Ubiquiti Europe store, to never found any of them.

Doug Finke avatar

Fixing JSON Syntax Errors with the PowerShellAI Module

one month ago | Doug Finke

Fixing JSON Syntax Errors with the PowerShellAI Module This is fast, simple, and easy. It’ll increase your productivity, save you time and effort, and is super accurate when working with JSON data. In this blog post, I will explore how to use the ai function in the PowerShellAI module to help fix JSON syntax errors. The PowerShellAI module leverages the power of OpenAI’s GPT-4 language model to assist with a variety of tasks, including identifying and correcting syntax issues in JSON strings or objects.

Shane O'Neill avatar

T-SQL Tuesday 161: Having Fun with SQL

one month ago | Shane O'Neill

Words: 1,283 Time to read: ~ 7 minutes Welcome to T-SQL Tuesday, the monthly blogging party where a host provides a topic, and we blog about it. This month we have Reitse Eskens ( blog | twitter | mastadon ) asking us to talk about something fun we have done with T-SQL. It has been … Continue reading "T-SQL Tuesday 161: Having Fun with SQL"

Dave Carroll avatar

Soft Skills - Part 3 - Motivation and Inspiration

one month ago | Dave Carroll

Introduction This article is the last in a series of three which is a republishing of my chapter on soft skills from the PowerShell Conference Book Volume 2. If you haven’t read the article on communication or article on collaboration, that’s okay, as each article has it’s own topics. I would suggest to read them though, as it will help round out your general knowledge of soft skills. Motivation and Inspiration How to Motivate Others Effective leaders know how to motivate.

Emil Larsson avatar

Analyze your Linux system using PowerShell

one month ago | Emil Larsson

Install-Module linuxinfo I am pleased to share that I have been working on a fun hobby project! A PowerShell module designed to facilitate Linux system analysis for PowerShell users. With its standardized noun-verb commands and object-based output, this module leverages the benefits of PowerShell to streamline analysis and information gathering on a Linux system. Install it from the PowerShellGallery: Install-Module linuxinfo -Verbose View it’s functions: Get-Command -Module linuxinfo CommandType Name Version Source ----------- ---- ------- ------ Function Get-BatteryInfo 0.

Doug Finke avatar

PowerShellAI ChatGPT Conversation Mode

one month ago | Doug Finke

Learn how to work with ChatGPT and GPT-4 using PowerShellAI The ChatGPT and GPT-4 models are language models that are optimized for conversational interfaces. The models behave differently than the older GPT-3 models. Previous models were text-in and text-out, meaning they accepted a prompt string and returned a completion to append to the prompt. However, the ChatGPT and GPT-4 models are conversation-in and message-out.

Harm Veenstra avatar

Using Run-in-Sandbox for testing scripts and Intune packages

one month ago | Harm Veenstra

Testing things is always essential, and Windows has a nice built-in Feature for that which is called Windows Sandbox. You can look at this as a throwaway Windows VM, you start and use it, and afterward, there's no trace of it anymore, making it ideal for testing! In this blog post, I will show you how to test PowerShell scripts and Intune packages in Windows Sandbox.

Dave Carroll avatar

Soft Skills - Part 2 - Collaboration

one month ago | Dave Carroll

Introduction This article is the second in a series of three which is a republishing of my chapter on soft skills from the PowerShell Conference Book Volume 2. If you haven’t read the first article on communication, that’s okay, as each article has it’s own topics. I would suggest to read it though, as it will help round out your general knowledge of soft skills. Collaboration Collaboration isn’t easy.

Harm Veenstra avatar

Using the preview version of the WinGet PowerShell Module

2 months ago | Harm Veenstra

I've been using the WinGet command-line version for quite some time now, and I am pleased with the apt-get-like installation method for installing/updating/removing software on my Windows machines. (WinGet is also the new Windows Store installation option for Microsoft Intune) But there's also a PowerShell module for WinGet, still in preview (Alpha) but very functional already. I will show you how to use that module in this blog post.

Dave Carroll avatar

Soft Skills - Part 1 - Communication

2 months ago | Dave Carroll

Introduction A few years ago, maybe the first part of 2019, I was asked to contribute a chapter for the PowerShell Conference Book Volume 2. So much has happened since then and I don’t remember who did the asking. The odds are decent enough though to guess Mike Kanakos. This article is the first in a series of three which will be a republishing of my chapter on soft skills. I’ve only gently edited a few items from the original material.

Doug Finke avatar

How to Set up and Use ChatGPT in Windows Terminal using PowerShellAI

2 months ago | Doug Finke

How to Set up and Use ChatGPT in Windows Terminal using PowerShellAI Introduction ChatGPT is a powerful language model developed by OpenAI. It has been widely used in various applications, including chatbots, text completion, and language understanding. It powers GitHub Copilot, a code completion tool that helps developers write code faster. It also powers the Microsoft 365. In this blog post, I will guide you on how to set up and use ChatGPT in the Windows Terminal using PowerShellAI module.

Ryan Yates avatar

PowerShell Update Oddness

2 months ago | Ryan Yates

Updated 2023-04-13 I have been running a dev system for a number of years that has had every Windows Insider build on it since I got this machine back in December 2019, & along the way we’ve seen plenty of new ways for you to get your hands on the latest versions of PowerShell. These also have some additional update mechanisms too, like via the store and Microsoft Update. So I was a tad confused when I’d gotten an update notification in Windows Update for PowerShell Preview, version 7.

Dave Carroll avatar

PowerShell Summit 2023

2 months ago | Dave Carroll

I’m ready for PowerShell Summit 2023! I’ve been part of the PowerShell community for a few years now and I’ve attended some amazing sessions with user groups. I’ve also presented a few times, once for a PowerShell Saturday and a couple other times remotely. For Summit ‘21, I had a presentation via video on demand and a lightning demo. Over the last few years, I’ve been ask how many times have I attended PowerShell Summit.

Luc Fullenwarth avatar

Concatenate PowerShell arrays on the fly

2 months ago | Luc Fullenwarth

Here is a method to build a global array at the same time you collect data from various parts of a tree. No need for additional code to concatenate the data.

Faris Malaeb avatar

Bing AI VS. ChatGPT, Which One is Better in PowerShell

2 months ago | Faris Malaeb

PowerShell scripting is an essential skill each sysadmin has to know as it provides an efficient and reliable way to automate IT tasks. When it comes to using AI technology to enhance PowerShell scripting, two of the most prominent options are Bing AI and ChatGPT. While both offer unique features and benefits, it’s important to... The post Bing AI VS. ChatGPT, Which One is Better in PowerShell appeared first on Faris Malaeb.

Automating Role Assignment Cleanup in Azure with PowerShell

2 months ago

As an Azure administrator, maintaining a clean and secure environment is crucial. One aspect of keeping Azure organized is managing role assignments. Over time, you might end up with unused or “Unknown” role assignments, which can make management more challenging and potentially introduce security risks. In this blog post, we’ll walk you through a handy PowerShell script to automate the cleanup of role assignments with an object type of “Unknown” in your Azure environment.

Emil Larsson avatar

How to Learn Git, Markdown and PowerShell by Contributing to the PowerShell-Docs Repository

2 months ago | Emil Larsson

Intro The PowerShell-Docs repository is the home of the official PowerShell documentation. It contains reference and conceptual content for various versions and modules of PowerShell. Contributing to this repository is a great way to learn Git, Markdown and PowerShell, as well as to help improve the quality and accuracy of the documentation. In this blog post, I will show you how you can contribute to the PowerShell-Docs repository by doing quality contributions, and why it’s beneficial for your learning and development.

Emil Larsson avatar

Using the PowerShell Module Z to Save Time in the Terminal

2 months ago | Emil Larsson

The module “Z” is a handy tool that can save you lots of time when navigating around your terminal. In this blog-post, we’ll cover how to install it to user scope, how to configure it by jumping around the terminal to different places, and how it saves lots of time in the long run. Installing Z to your CurrentUser scope To install Z, open a PowerShell terminal and run the followi

Bradley Wyatt avatar

Set-ADUser: Dealing with Null Values when Importing a CSV; Working with Parameters and Properties that don’t Accept Empty Strings

2 months ago | Bradley Wyatt

Recently, I set out on populating a test Active Directory environment from a production environment. This included populating Active Directory Users and Computers with my users from production. I figured I could quickly export my users from production to a CSV file, include any properties I wanted to import over to the test environment, and then create the new users based on the CSV file using New-ADUser and Set-ADUser respectably.

Jeff Hicks avatar

Exposing the Mystery of PowerShell Objects

2 months ago | Jeff Hicks

A few weeks ago, I was working on content for a new PowerShell course for Pluralsight. The subject was objects. We all know the importance of working with objects in PowerShell. Hopefully, you also know that the output you get on your screen from running a PowerShell command is not the whole story. Formatted presentation...

Emil Larsson avatar

Active Directory Delegation done the PowerShell way!

2 months ago | Emil Larsson

Active Directory Access Granting The following module is very important for a Active Directory operations or engineering type person. Most who have tried granting permissions outside of adding users to groups in Active Directory would probably agree that, access delegation can be a daunting task. Your best bet is to use the Delegation wizard, but wheres the fun (PowerShell fun..) in that. And how well does it scale? Not very well.

Bradley Wyatt avatar

Migrate your Runbooks in Azure Automation to Managed Identities

2 months ago | Bradley Wyatt

Microsoft has recently announced that on September 30th, 2023, Azure Automation RunAs accounts, including Classic Run As accounts, will be retired so you will need to migrate your runbooks to managed identities for authentication. Managed Identities provide the same functionality as a RunAs accounts, plus: Secure authentication to any Azure service that supports Azure Active Directory (Azure AD) authentication.

Darren Robinson avatar

Getting started with the official SailPoint IdentityNow PowerShell SDK

2 months ago | Darren Robinson

This week as part of the SailPoint Developer Days 2023 conference the SailPoint Developer Relations team proudly announced the official SailPoint IdentityNow PowerShell SDK. They also announced Typescript and Go, but I’m sure you’re here for PowerShell. I was very proud to be included in the announcement with Jordan Violet the head of Developer Relations at SailPoint and then followed up by Philip Ellis who gave an overview of the SDKs.

Alexander Koehler avatar

Exchange Toolbox Unhandled Exception – Deserialization fails

2 months ago | Alexander Koehler

UPDATE 15/03/2023: After Installation of MS Exchange SU March 2023 the issue is resolved! Download Links March 2023 SU Exchange Exchange Server 2013 CU23 (note that support and availability of SUs end on April 11, 2023) Exchange Server 2016 CU23 Exchange Server 2019 CU11 and CU12  Some people may recognize an error when entering the good old Exchange Toolbox they receive a … Read more "Exchange Toolbox Unhandled Exception – Deserialization fails" Articel Exchange Toolbox Unhandled Exception – Deserialization fails available first on IT koehler blog.

Darren Robinson avatar

Searching LDIF Files with PowerShell

2 months ago | Darren Robinson

Yes, it is 2023 and you did read the title correctly. Searching LDIF Files with PowerShell. But why? Something I learned a few decades ago in Identity Management is that when you go live with an identity solution that updates Active Directory, you will get blamed for changes you didn’t do.… keep reading The post Searching LDIF Files with PowerShell appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Victor Silva avatar

Using Azure OpenAI from PowerShell

2 months ago | Victor Silva

As artificial intelligence (AI) continues to transform the way we work and live, more and more businesses are turning to powerful AI tools to improve their operations. One such tool is Azure OpenAI, a platform that provides access to cutting-edge AI models and technologies. While Azure OpenAI is a powerful resource, getting started with it can be daunting, especially for those who are unfamiliar with the platform.

Jeff Hicks avatar

Automation Decisions

3 months ago | Jeff Hicks

This post is an updated reprint from an article published to my premium PowerShell newsletter Behind the PowerShell Pipeline available on Substack. Subscribers receive 6-8 articles like this a month delivered to their inbox or available on the Substack app. I hope you’ll consider subscribing. Trial subscriptions are available. I’ve been scripting and automating things...

Mike Robbins avatar

Splitting the PowerShell PSModulePath Cross-Platform

3 months ago | Mike Robbins

The $env:PSModulePath environment variable contains a list of directory locations that PowerShell searches to locate modules. $env:PSModulePath When you’re trying to determine what paths are part of the $env:PSModulePath environment variable in PowerShell, you’ll find that most examples split the results on the semicolon (;) character to return each path on a separate line. $env:PSModulePath -split ';' Another variation is to use the Split method instead of the operator.

Alexander Koehler avatar

PowerShell and AD groups best combination

3 months ago | Alexander Koehler

In daily life there are a lot situation where you have to copy members of AD groups, or checking if someone is member of an AD group. Therefore I created this blogpost to provide a small assistance doing this tasks via powershell. Function to check user Group Membership Here is a short function checking if … Read more "PowerShell and AD groups best combination" Articel PowerShell and AD groups best combination available first on IT koehler blog.

Bradley Wyatt avatar

Allow Non-Admin Users to Manage Their Desktop Icons Using Intune

3 months ago | Bradley Wyatt

Many IT organizations do not allow their end users to be local administrators on company endpoints, and for good reason. But one issue I have ran across is that some applications install an icon on the public desktop (C:\Users\Public\Desktop) and the end user is unable to delete the icon as it requires administrative rights. Using PowerShell, we can modify the ACL of the public desktop folder and allow our non-admin users to delete these shortcuts.

Kieran Jacobsen avatar

Planet PowerShell Update: Mastodon, Twitter, and Pronoun Support

3 months ago | Kieran Jacobsen

Over the last few weeks, I have been working on some new features in Planet PowerShell. Mastodon Support As more users make the move to Mastodon, I wanted to ensure that Planet PowerShell could continue to support the community. You can now follow Planet PowerShell on Mastodon, @[email protected]. New posts are automatically tooted using the #PowerShell and #pwsh hashtags. There is now support for authors to share their Mastodon handles.