Adam Bertram avatar

A Beginners Guide To PowerShell New-Item

2 days ago | Adam Bertram

Get started with PowerShell New-Item in this beginner's guide to creating new items and folders within PowerShell!

Dave Carroll avatar

Where are the PowerShell People on Mastodon?

2 days ago | Dave Carroll

Mastodon In light of recent events with Twitter, you may have heard about a different micro-blogging site called Mastodon. It has been around for a few years, 2016 to be exact, so it’s definitely not new. And it’s technically not a site, as the heart and possibly the main draw of Mastodon is that it has multiple instances all run by individuals, typically not large corporations. Each instance can establish its own Code of Conduct and Terms of Services.

Harm Veenstra avatar

Retrieve Coinmarketcap information using PowerShell

2 days ago | Harm Veenstra

If you're into Crypto and would like to see the latest price of your precious coin, then perhaps this is a blog post for you :) In this blog post, I will show you a way how you can use the API from Coinmarketcap to show you the latest stats in every newly started PowerShell session.

Adam Bertram avatar

PowerShell Profile : A Getting Started Guide

7 days ago | Adam Bertram

Discover everything you need to know about the PowerShell Profile in this definitive guide with real-world examples!

Adam Bertram avatar

The PowerShell While Loop : A Back to Basic Guide

7 days ago | Adam Bertram

Discover the many ways to utilize the PowerShell while loop and take control of your applications flow with this ATA Learning tutorial!

Tommy Maynard avatar

A Return to PowerShell

11 days ago | Tommy Maynard

After 20+ years, and 5+ positions in education (K-12 and higher ed), I’ve taken a new position. It’s still Information Technology at the end of the day, but now I’ll be working in the healthcare industry. There’s plenty of reasons to be excited. One is that I’ll be better positioned to use my PowerShell and […] The post A Return to PowerShell appeared first on tommymaynard.

Bas Wijdenes avatar

How to fix ‘CliXml’ in parameter input Azure Automation

12 days ago | Bas Wijdenes

Azure Automation, Start-AutomationRunbook, parameters, & CliXml… I’m not going to explain what Clixml is, or what it means, nor am I going to explain exactly why this issue is happening (mainly because I don’t have a clear answer for you). I’ll give you the solution and a possible way to make this easier for you. … Continue reading How to fix ‘CliXml’ in parameter input Azure Automation The post How to fix ‘CliXml’ in parameter input Azure Automation appeared first on Bas Wijdenes.

Harm Veenstra avatar

Export registry information using PowerShell

12 days ago | Harm Veenstra

At the end of another busy week, and after passing the AZ-801 exam two days ago, it's time for a small blog post :) I had to export a registry from a client on which regedit tools were blocked. Exporting using PowerShell is an option, but the format isn't that great by default. In this blog post, I will show you how to export it to a friendly format.

Harm Veenstra avatar

PowerShell v7.3

19 days ago | Harm Veenstra

This week PowerShell v7.3 was launched. I will go through new and exciting things about the new version in this blog post.

Harm Veenstra avatar

Using PowerShell on chromeOS Flex

23 days ago | Harm Veenstra

On an older laptop, I use chromeOS Flex. Easy to install, and for simple web browsing, it's a perfect solution without any license requirement. But yeah... I also wanted to use PowerShell on that, this blog post will show you how to install and use PowerShell on chromeOS Flex.

Harm Veenstra avatar

PowerShell command-line tips/tricks

27 days ago | Harm Veenstra

It's been a busy week! Had a few long travels, took the AZ-800 (Administering Windows Server Hybrid Core Infrastructure) exam which I passed, and had a great Tech Day at the office. We had a keynote from Microsoft (Azure Arc) and multiple sessions from my colleagues of which I attended the Azure Landing Zones and the Terraform session. Always nice to see colleagues enthusiastic about the things they are working on.

Jerome Bezet-Torres avatar

vSphereLab 8 and Terraform

28 days ago | Jerome Bezet-Torres

The objective in this post is simply to use Terraform to deploy learning environments for VMware vSphere 7.x and 8 soon. To deploy VMware vSphere Lab with ESXI servers, a Vyos-based router that will serve as a DHCP server on both LANs and of course an internet access. For the DNS server I created an appliance based on PhotonOs and for the iSCSI Storage I used my TrueNas Core based appliance to make my iSCSI targets for my ESXI.

Darren Robinson avatar

Decentralized Identity Searcher PowerShell Module

28 days ago | Darren Robinson

It’s not going to be a surprise that I’ve been working with Decentralized Identity over the last couple of years. A common thing I find myself doing is checking/debugging DID documents. Like many others I started with tools like the ION Network Explorer for the ION network and pasting in DID Web URLs into a browser.… keep reading The post Decentralized Identity Searcher PowerShell Module appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Harm Veenstra avatar

Create a multiple-choice quiz using PowerShell

one month ago | Harm Veenstra

Tomorrow I'm taking the AZ-800 (Administering Windows Server Hybrid Core Infrastructure) exam and I wanted to create a simple test exam quiz for myself with multiple-choice questions. This blog post will show you how to do that using an Excel file with questions and A, B, C, and D answers including the correct answer to check on.

Harm Veenstra avatar

Using PowerShell on Linux

one month ago | Harm Veenstra

Personally, I run PowerShell on my Windows 11 laptop, but I also have Linux VMs and use PowerShell on those too. In this blog post, I will show you two ways in which you can install PowerShell on your Linux machine and yes, I know... There are different Linux Operating Systems with different package managers, in my case I used Ubuntu 22.04 :)

Darren Robinson avatar

Release 1.1.6 SailPoint IdentityNow PowerShell Module

one month ago | Darren Robinson

I’ve just published v1.1.6 of the SailPoint IdentityNow PowerShell Module to both GitHub and the PowerShell Gallery. Release 1.1.6 of the SailPoint IdentityNow PowerShell Module is the result of updates by Sean McGovern, Yannick Beot, David Minnelli and myself.… keep reading The post Release 1.1.6 SailPoint IdentityNow PowerShell Module appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Harm Veenstra avatar

Import Exchange Relay Connector IP-Addresses to IIS SMTP instance

one month ago | Harm Veenstra

For one of our customers, who's moving away from their On-Premise Exchange 2016 server, I needed to move all the relay connectors (Used by legacy applications, appliances, and hardware) to an IIS SMTP instance. Pretty straightforward, but typing the long list of addresses myself... No :) In this blog post, I will show you a way to easily migrate the IP-Addresses from a Receive Connector into an IIS SMTP instance.

Dan Tsekhanskiy avatar

How to Automatically Download the Latest Windows Device Drivers

one month ago | Dan Tsekhanskiy

Imagine never needing to worry about drivers during Windows Operating System deployment ever again. No need to manually download drivers. No need to maintain driver folders on your deployment shares. No need to update drivers whenever something breaks… The Problem Every Windows deployment environment seems to manage OS drivers differently. Whether it’s dumping every driver into a single folder in your deployment share, one driver folder per OS, or one driver folder per model, these all require manual maintenance of your deployment share.

Dan Tsekhanskiy avatar

Reading SCCM Logs with PowerShell

2 years ago | Dan Tsekhanskiy

Can’t we just use a logarithm? Objective Background Prerequisites The Script The Break Down We Kind of Need These It’s Strippin’ Time Trim the Fat Errors Will Be Errors Grab the Glue Conclusion Related Links Objective SCCM log files follow a standard schema that we can use to parse these log files for the data we’re interested in (timestamp, log data, etc.

Harm Veenstra avatar

Retrieve all local group members of Active Directory member servers

one month ago | Harm Veenstra

For one of our customers, we needed a report on all local groups and their members on all Active Directory joined servers. You can connect all servers one by one with Computer Management and check, but hey... PowerShell is there for you :) In this blog post, I will show you an easy way to get a report on the memberships, and yes... I used the ImportExcel module too (Needed for the Export-Excel cmd

Jeff Hicks avatar

A WPF Countdown Timer

one month ago | Jeff Hicks

Last year I released a PowerShell module called PSClock. The module contains a command to create a transparent WPF form displaying a clock. Shortly after, someone posted a request for a countdown timer. Not an unreasonable request and one I finally got around to implementing. However, I already had a module with a number of...

Harm Veenstra avatar

Using PSScriptAnalyzer to optimize your PowerShell scripts

one month ago | Harm Veenstra

I use Visual Studio Code for writing PowerShell scripts, which makes formatting and writing so much easier. Even though it shows you things that you shouldn't do, for example using aliases, you can get even more tips and hints to make your code even better. This blog post will show you how to use the PSScriptAnalyzer module which can give you some additional hints that Visual Studio Code doesn't show you.

Darren Robinson avatar

Convert to and from Windows and Unix timestamps with PowerShell

one month ago | Darren Robinson

In this post I detail a module I’ve just published that is another of those I’ve done this before, but how do I find it again moments. Converting from Windows and Unix timestamps with PowerShell. A number of the PowerShell Modules I’ve published do contain the Unix timestamp conversion, but I couldn’t find Windows timestamp conversion as a function that I know I’ve previously written.

Przemyslaw Klys avatar

Easy way to send emails using Microsoft Graph API (Office 365) with PowerShell

one month ago | Przemyslaw Klys

When you're using Office 365 and want to send an email, you have two choices SMTP or Microsoft Graph API, which is a "new" kid on the block. For some time, I've used Microsoft Graph exclusively to send emails in favor of SMTP as it's much easier to manage and generally works over HTTPS. If you type in google "Send email graph API PowerShell," you will get lots of hits as bloggers, and Microsoft has already covered this topic.

Shane O'Neill avatar

Publishing PSTimeSheets To The PSGallery

one month ago | Shane O'Neill

Words: 567 Time to read: ~ 3 minutes Skip This for Your Sanity I have created a module cause nobody wants to do timesheets no more; they want PowerShell to do it for ya. Well, if this is what you need, then this is what I’ll give ya. (Ahem, apologies about that, songs get stuck … Continue reading "Publishing PSTimeSheets To The PSGallery"

Darren Robinson avatar

Updating and setting primary attributes in SuccessFactors with PowerShell

one month ago | Darren Robinson

Approximately five years ago I rolled through a number of Identity and Access lifecycle management projects that used SAP SuccessFactors as the source of authority for user data. It isn’t uncommon to use a HRM solution to source identity data, but it is never a one way street.… keep reading The post Updating and setting primary attributes in SuccessFactors with PowerShell appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Jeff Hill avatar

Check if You Have Old Versions of Modules

2 months ago | Jeff Hill

Simple script to check your installed modules against the PSGallery

Jeff Hill avatar

PowerShell Prompt: Functionality

2 months ago | Jeff Hill

Some handy tips to add extra functionality to your PowerShell session

Dave Carroll avatar

Refreshing the Blog

2 months ago | Dave Carroll

Introduction I published my first article here over 4 years ago. Well, not exactly here, but we’ll get to that in a few. It had been over a year since I published any article prior to the end of August. A myriad of reasons all claim a part of “why didn’t I”. Perhaps ironically (for a technical site), one of the reasons was purely technical. As discussed in an early article, How I Blog, this site is a generated static site powered by Jekyll.

Dave Carroll avatar

Questions from a PowerShell.org Forums User

3 months ago | Dave Carroll

Introduction About a week ago, I commented on a PowerShell forum post and the poster struck up a conversation in my DMs. He is starting his own PowerShell blog and wanted to ask me a few questions. (Insert self-deprecating comment here.) I thought that the questions and my responses may help provide some insight for others. 1. What is your writing process? Do you write on subjects you are currently learning about or want to research more? Sometimes the writing is the easy part.

Bradley Wyatt avatar

Connect to Exchange Online PowerShell with an Azure Managed Identity

2 months ago | Bradley Wyatt

Recently the Exchange Online Module v2 came out with support for connecting to Exchange Online via a managed identity. The module has several parameters: ManagedIdentity ManagedIdentityAccountId Organization When using the ManagedIdentity parameter you must also call the Organization parameter which is the initial, or ‘.onmicrosoft’ domain. What You Will Need PowerShell Az PowerShell Module (install-module az) The Microsoft Graph SDK (install-module Microsoft.

Bradley Wyatt avatar

Creating a Microsoft 365 Automated Off-boarding Process with SharePoint, Graph API, and PowerShell

2 months ago | Bradley Wyatt

In this write-up I will be creating a basic off-boarding automation that uses SharePoint as the front end, and PowerShell, the Graph API, and Azure Runbooks as the back-end. HR will input the users UPN or Email, offboard date/time, and a forwarding address to forward email to. Once the off-boarding datetime is within 1hr the automation will check the user in Azure AD to ensure its valid, the forwarding user is valid in Azure AD, document in SharePoint the users e-mail address, any and all licenses, and all group memberships.

Jeff Hill avatar

PowerShell Prompt: Colors and Icons

2 months ago | Jeff Hill

Tips and Tricks to improve your PowerShell experience

Faris Malaeb avatar

PowerShell Script to Simplify Send-MgUserMail

2 months ago | Faris Malaeb

Okay, Microsoft Graph API is cool, but sometimes it’s boring to deal with all these hashtables and arrays. The Send-MgUserMail is a great graph cmdlet to send Emails using the Graph API endpoint. In a previous post, I explained the details and parameters for the Send-MgUserMail. Read more in Send-MgUserMail BodyParameter Explained. Going through the... The post PowerShell Script to Simplify Send-MgUserMail appeared first on Faris Malaeb.

Alexander Koehler avatar

Azure AD PowerShell Prüfen ob ein Benutzer Mitglied einer Gruppe ist

2 months ago | Alexander Koehler

Heute möchte ich eine kleine Funktion zeigen, welche die Mitgliedschaft eines Azure AD Benutzers in einer Azure AD Gruppe abprüft. Dies kann hilfreich bei einer Automatisierung im Bereich Azure AD sein. Bei richtiger Benutzung gibt das Script immer TRUE bzw. FALSE zurück. Was kann das Teil: 1. Gib bei Mitgliedschaft TRUE bzw. FALSE zurück wenn … Mehr über "Azure AD PowerShell Prüfen ob ein Benutzer Mitglied einer Gruppe ist" Lesen Der Beitrag Azure AD PowerShell Prüfen ob ein Benutzer Mitglied einer Gruppe ist erschien zuerst auf IT koehler blog.

Kelvin Tegelaar avatar

Monitoring with PowerShell: Monitoring Acronis Backups

2 months ago | Kelvin Tegelaar

Intro This is a monitoring script requested via Reddit, One of the reddit r/msp users wondered how they can monitor Acronis a little bit easier. I jumped on this because it happened pretty much at the same time that I was asked to speak at the Acronis CyberSummit so it kinda made sense to script this so I have something to demonstrate at my session there. There’s a lot of approaches you can take with monitoring backups.

Faris Malaeb avatar

Send-MgUserMail BodyParameter Explained

3 months ago | Faris Malaeb

Send-MailMessage is obsolete and no longer supported. Microsoft says this cmdlet does not guarantee a secure connection to SMTP servers. We will use Send-MgUserMail. This tutorial takes you through using Send-MgUserMail to send emails instead of Send-MailMessage Using Send-MailMessage When you try to use the Send-MailMessage cmdlet, you get the following warning. WARNING: The command... The post Send-MgUserMail BodyParameter Explained appeared first on Faris Malaeb.

Kelvin Tegelaar avatar

Monitoring with PowerShell: Monitoring VSS Snapshots

3 months ago | Kelvin Tegelaar

Intro Wow! It’s been a while since I’ve blogged. I’ve just been so swamped with CIPP that I’ve just let the blogging go entirely. It’s a shame because I think out of all my hobbies it’s one I enjoy the most. It’s always nice helping others achieve their scripting target. I even got a couple of LinkedIn questions asking if I was done with blogging but I’m not.

Bradley Wyatt avatar

Office 365 / Exchange Online Mailbox Size Report Including Mailbox Free Space with PowerShell

3 months ago | Bradley Wyatt

I wanted to create an automated alert that would notify me of Office 365 mailboxes that were approaching full, and found a terrific PowerShell reporting script by Ruud (LazyAdmin.nl). If you have not checked out his blog, stop reading now and head on over there. There is a ton of great scripts and write ups! The script connects to your Office 365 environment and exports the following: Display name Primary Email address Mailbox type Last user action time Total mailbox size Mailbox Free Space (NEW!) Deleted item size Item Count Deleted Item Count Issue Warning Size Prohibit Send Receive Quota (max mailbox size) Archive size (if the user has an archive) Archive Item Count Archive Mailbox Free Space (NEW!) Archive Deleted Item Count Archive warning quota Archive quota   Shared Mailboxes It also allows you to filter the mailbox type that you want to gather results for.

Bradley Wyatt avatar

Auto Delete Message From Yammer Community with PowerShell

3 months ago | Bradley Wyatt

I was recently tasked with clearing out a Yammer Communities auto-welcoming posts. If you are not familiar with auto-welcoming posts, Yammer used to automatically post a message whenever someone joined a community. It looked something like this, “Bradley Wyatt joined the Lazy Administrator network. Take a moment to welcome Brad.” Thankfully, Microsoft removed this feature so your community is not littered with auto welcoming messages anymore.

Mike Robbins avatar

Enable PowerShell remoting on ArcoLinux

3 months ago | Mike Robbins

PowerShell is a cross-platform scripting language that runs on Windows, Linux, and macOS. ArcoLinux is a rolling release Linux distribution based on Arch Linux. Prerequisites ArcoLinux was installed using the ArcoLinuxL ISO with the easy installation option. The examples shown in this article were performed using Xfce Terminal. ArcoLinux was fully updated using the sudo pacman -Syu command. Installation Verify that you have PowerShell installed: pwsh --version If you receive the error: command not found, see Install PowerShell on ArcoLinux to install PowerShell.

Jeff Hicks avatar

Configure SysInternals EULA Acceptance

3 months ago | Jeff Hicks

I just saw a very, very handy thing on Twitter where you can set a registry key that will automatically accept all EULA prompts for the SysInternals tools. I know there is a command-line switch I can use, but I never remember to use it. Setting the registry key appears to accept EULAs globally. Naturally,...

Alain Assaf avatar

Powershell: Citrix Hypervisor Count Function

3 months ago | Alain Assaf

Contents Contents Scenario Citrix Hypervisor and PowerShell? Conculsion Learning More Value for Value Scenario I’ve been hesitant to dive into Citrix Hypervisor PowerShell cmdlets, but there’s no rational reason to not do it. Citrix continues to make great strides in expanding and updating PowerShell for its hypervisor, PVS, and XenDesktop....

Przemyslaw Klys avatar

Adaptive Cards with Tables and Linebreaks in Microsoft Teams

3 months ago | Przemyslaw Klys

PSTeams is a PowerShell module that helps simplify sending notifications to Microsoft Teams via Incoming webhooks. It's easy to use and doesn't require playing with JSON. Since version 2.0, it started to support Adaptive Cards; in version 2.1, I've added the ability to mention people. Today I'm introducing an easy way to send data as a table and a quick way to add a line break. The post Adaptive Cards with Tables and Linebreaks in Microsoft Teams appeared first on Evotec.

Bas Wijdenes avatar

How to move the navigation bar in Outlook back to the bottom

3 months ago | Bas Wijdenes

Why is my navigation bar to the left now, and now at the bottom anymore? You’ve probably enabled the ‘Try it now‘ option in Outlook. Enabling this option will enable new features in Outlook earlier. These will be placed in a registry entry.When the option is enabled, these registry options are available at this time: … Continue reading How to move the navigation bar in Outlook back to the bottom The post How to move the navigation bar in Outlook back to the bottom appeared first on Bas Wijdenes.

Faris Malaeb avatar

Connect to Office 365 Using Graph API and PowerShell

3 months ago | Faris Malaeb

With the superannuation of AzureAD and the MSOnline module, Microsoft Graph API is the new direction for cloud computing. To maintain and configure Office 365 or Microsoft 365, admins must ensure they can link to Microsoft Graph API endpoints. Using only a single REST API point (https://graph.microsoft.com), you can connect to any object in the... The post Connect to Office 365 Using Graph API and PowerShell appeared first on Faris Malaeb.

Przemyslaw Klys avatar

Working with VirusTotal from PowerShell

3 months ago | Przemyslaw Klys

Virus Total is an excellent service. It's a single place where hundreds of antivirus engines can verify if the file, URL, domain name, or IP Address is trusted or not. Of course, it's not a silver bullet, but it brings tremendous value, and I often verify files I download before executing. Since I release a lot of new or updated PowerShell modules on a weekly/monthly basis, I thought it would be great to send newly released versions straight to Virus Total so I can have them checked before anyone executes them.

Przemyslaw Klys avatar

Reporting group membership for critical Active Directory groups

3 months ago | Przemyslaw Klys

I work a lot with Active Directory-related tasks. One of the tasks is to know the group membership of critical Active Directory Groups such as Domain Admins, Enterprise Admins, Schema Admins, Event Log Readers, and a few others that are a bit less known. As I did it, I got bored of typing the group names repeatedly and decided that enough was enough and there must be an easier way for me to do that.

Faris Malaeb avatar

Migrate Your Script from AzureAD or MSOnline to Graph API

3 months ago | Faris Malaeb

No one can deny the superior help of AzureAD and MSOL PowerShell modules and how these two made cloud management straightforward. But the end for these two modules is nearby, and the direction is the Graph API. Let’s start now and learn the migration steps from the old modules to Graph API. If you’re new... The post Migrate Your Script from AzureAD or MSOnline to Graph API appeared first on Faris Malaeb.

Jeff Hicks avatar

Organizing Chaos with PSWorkItems and PowerShell

4 months ago | Jeff Hicks

I spend my working days living in a PowerShell console. Over the years, I’ve developed many PowerShell modules to help me manage the chaos that is my work life. One area that always demands attention is managing my tasks and To-Dos. For several years I have been using the MyTasks module. This module stored tasks...