categories

PowerShell

191 articles

Tags
Catégories

20 articles

Getting file metadata with PowerShell similar to what Windows Explorer provides

Getting file metadata with PowerShell similar to what Windows Explorer provides

I’m working on a new feature for one of my modules that requires me to know what kind of files I am working with. It’s quite easy in PowerS…

filesmetadatapowershell
Getting Verified badge next to your GitHub commits in VS Code

Getting Verified badge next to your GitHub commits in VS Code

Set up GPG commit signing in VS Code so GitHub shows the Verified badge next to your commits instead of unsigned changes.

gitgithubpowershellvscode
Getting Windows 10 build version from Active Directory

Getting Windows 10 build version from Active Directory

Today I saw an article on how to get Windows Version Report from Active Directory and thought that this is a cool idea. Something handy for…

active directorybuildpowershellwindows 10
How I didn’t know how powerful and fast hashtables are

How I didn’t know how powerful and fast hashtables are

I’ve been using PowerShell for a long while now using Hashtables, OrderedDictionary, and other types of data types in PowerShell, but I nev…

active directoryhashtablelearnpowershellspeed
How to change your own expired password when you can’t login to RDP

How to change your own expired password when you can’t login to RDP

I must admit that it was a bit embarrassing to see my Administrator password expired when I tried to log in as Domain Admin to Domain Contr…

expired passwordpowershellrdcrdpremote desktop connectionremote desktop protocol
How to Efficiently Remove Comments from Your PowerShell Script

How to Efficiently Remove Comments from Your PowerShell Script

As part of my daily development, I create lots of code that I subsequently comment on and leave to ensure I understand what I tried, what w…

cleanupcommentpowershellremovescript
How to find different server types in Active Directory with PowerShell

How to find different server types in Active Directory with PowerShell

Working as a freelancer is a great thing if you can handle it. Each day, each week something new happens and a new problem shows up on my d…

active directoryadadconnectazure adexchangepowershell
Hyper-V – Can’t start Virtual Machine because it’s backing up

Hyper-V – Can’t start Virtual Machine because it’s backing up

Working as a small business often brings you little tasks here and there. Today I’ve decided to shut down the Hyper-V machine to expand its…

backuperrorhyper-vpowershell
Image Manipulation, Image Resize, Image Combine and more with PowerShell

Image Manipulation, Image Resize, Image Combine and more with PowerShell

ImagePlayground is a PowerShell module that works in PowerShell 5.1 and PowerShell 7+. It works partially on Linux and should work on macOS…

.netbar codecombineconvertexif datagrayscale
Image tiles flowing through code, chart, and hierarchy stages into a finished report canvas

ImagePlayground: image automation that stays in PowerShell

Use PowerShell to resize images, create QR codes, review metadata, and build charts or composed graphics with ImagePlayground.

imageplaygroundpowershellimage-processingqr-codechartsautomation
Import-Module: This script contains malicious content and has been blocked by your antivirus software.

Import-Module: This script contains malicious content and has been blocked by your antivirus software.

I’ve been working today on a little project when suddenly my modules stopped working. It was weird because I have not touched anything that…

powershellwindows
Records specialist comparing a scanned document with a structured inspection report on a laptop

Inspect and convert mixed Office archives with PSWriteOffice

Inspect a mixed document archive before converting iWork, OneNote, and scanned PDF files, and keep a useful record of what changed.

pswriteofficeofficeimoiworkonenotepdfocr
Install-Module : A parameter cannot be found that matches parameter name AllowPrerelease.

Install-Module : A parameter cannot be found that matches parameter name AllowPrerelease.

If Install-Module does not recognize -AllowPrerelease, the usual cause is an older PowerShellGet version rather than your PowerShell sessio…

AllowPrereleaseGet-Moduleinstall-modulepowershellupdate-module
Install-module : The ‘install-module’ command was found in the module ‘PowerShellGet’, but the module could not be loaded.

Install-module : The ‘install-module’ command was found in the module ‘PowerShellGet’, but the module could not be loaded.

I’ve been working last few hours trying to set up my laptop for PowerShell Conference, and one of the tasks is to get my modules up and run…

import-moduleinstall-modulepowershellpowershellget
Install-Module: The term Install-Module is not recognized as the name of cmdlet, function, script file or operable program

Install-Module: The term Install-Module is not recognized as the name of cmdlet, function, script file or operable program

If Install-Module is not recognized at all, the usual cause is that the machine is missing the PowerShellGet tooling that newer Windows Pow…

install-modulepseventviewerpsteamspswinreportingpswritecolor
Instant Replication between Active Directory sites with PowerShell

Instant Replication between Active Directory sites with PowerShell

In Active Directory when you change something, it’s replicated to other Domain Controllers regularly. It’s a standard procedure that happen…

active directoryadinstant replicationpowershellreplication
Introducing PSTeams 2.0 – Support for Adaptive Cards, Hero Cards, List Cards and Thumbnail Cards

Introducing PSTeams 2.0 – Support for Adaptive Cards, Hero Cards, List Cards and Thumbnail Cards

PSTeams PowerShell module has been on the market for a while now. It supports sending notifications to Microsoft Teams channels via Incomin…

microsoft teamsoffice 365powershellreportingwebhook
Invoke-RestMethod : The underlying connection was closed: An unexpected error occurred on a send while connecting Graph API

Invoke-RestMethod : The underlying connection was closed: An unexpected error occurred on a send while connecting Graph API

In the last few days, I’ve got two reports that my PowerShell module for Office 365 Health suddenly started giving errors. This was a bit w…

invoke-restmethodoffice 365powershelltls 1.0tls 1.1tls 1.2
Just different approach to Active Directory Password Notifications

Just different approach to Active Directory Password Notifications

A long time ago I’ve maintained a C# version of Password Expiry reminders. It was working based on HTML templates…

active directoryadPassword Notificationspasswordstask schedulertasks
Mailozaurr – New mail toolkit (SMTP, IMAP, POP3) with support for oAuth 2.0 and GraphApi for PowerShell

Mailozaurr – New mail toolkit (SMTP, IMAP, POP3) with support for oAuth 2.0 and GraphApi for PowerShell

Today, I’m introducing a new PowerShell module called Mailozaurr. It’s a module that aims to deliver functionality around Email for multipl…

imapmailozaurro365office 365pop3powershell