tags

powershell

167 entries

Tags
Categories

20 entries

PowerShell – Comparing advanced objects

PowerShell – Comparing advanced objects

Two years ago, I wrote a blog post on how you can compare two or more objects visually in PowerShell that works on Windows, Linux, or macOS…

comparehtmlpowershellpssharedgoodspswritehtml
PowerShell – Converting advanced object to flat object

PowerShell – Converting advanced object to flat object

PowerShell language allows you to work and build complicated objects. There are multiple ways to save them, such as XML or JSON, but someti…

convertexport-csvoffice 365powershellpswritehtml
PowerShell – Environment Path is missing or overwritten

PowerShell – Environment Path is missing or overwritten

I had a strange issue today when I was doing some development where suddenly my scripts would report inability to…

autoitenvironmentparameterspowershellpsmodulepathvariables
PowerShell – Few tricks about HashTables and Arrays I wish I knew when I started

PowerShell – Few tricks about HashTables and Arrays I wish I knew when I started

I’ve been working with PowerShell for a while now and like with most things I do I’ve learned it by doing and not by reading. I had a job t…

arrayarraylistgenericlisthashtablepowershelltricks
PowerShell – How to check response code from a website

PowerShell – How to check response code from a website

There are times when you need to verify websites availability to be able to tell if it’s up or not….

powershellresponse codesscriptswebsite
PowerShell – How to find users without default quota set on Microsoft Exchange

PowerShell – How to find users without default quota set on Microsoft Exchange

During Exchange 2010 times for one of our Clients some users had special quota set for multiple users that was different…

default quotaecpexchangeexchange 2013exchange 2016mailboxes
PowerShell – How to format Write-Host with multiple colors

PowerShell – How to format Write-Host with multiple colors

When you begin to write PowerShell scripts you usually just want it to do some simple tasks and automations. But…

colorsformattingpowershellscriptingscriptswrite-color
PowerShell – Returning one object from a function as an Array

PowerShell – Returning one object from a function as an Array

Few weeks had passed since I’ve initially written PowerShell – Few tricks about HashTables and Arrays I wish I knew when I started. I was h…

arrayforeachforeach-objectgoot-to-knowpowershell
PowerShell – Single PSM1 file versus multi-file modules

PowerShell – Single PSM1 file versus multi-file modules

I’ve been working with PowerShell Modules for a while now, and most of my knowledge about them came from Warren F (psCookieMonster) blog ab…

powershellps1psm1
PowerShell – Working with Format-Table in Verbose, Debug, Output Streams

PowerShell – Working with Format-Table in Verbose, Debug, Output Streams

As you may know, PowerShell has multiple streams. Write-Output, Write-Error, Write-Warning, Write-Verbose, Write-Debug, and Write-Informati…

powershellwrite-debugwrite-hostwrite-verbose
PowerShellGallery disables support for TLS 1.0 breaking Install-Module

PowerShellGallery disables support for TLS 1.0 breaking Install-Module

A few days ago, I tried to use Install-Module on the old Windows 2008R2 system that I use for specific tasks.

powershelltlstls 1.0tls 1.2
PowerShellGallery – You are installing modules from an untrusted repository

PowerShellGallery – You are installing modules from an untrusted repository

When you start working with PowerShell Modules you often find yourself in having to approve module updates over and over and…

powershellpowershellgallery
Prepare Windows 10 Start Menu for all computers in Active Directory

Prepare Windows 10 Start Menu for all computers in Active Directory

Windows 10 in my humble opinion is very good system. It has it’s pros and cons but so does each…

17031709gpogpresultgpupdategroup policy
Preparing Azure App Registrations permissions for Office 365 Service Health

Preparing Azure App Registrations permissions for Office 365 Service Health

As you may have seen in my other post, there’s a simple, PowerShell way to get Office 365 Health Service data for you to use any way you li…

azurehealthoffice 365powershell
PSBlackListChecker – Added Discord support

PSBlackListChecker – Added Discord support

It’s been less than 24 hours since I’ve released PSBlackListChecker with support, among other improvements, for Microsoft Teams and Slack a…

discordpowershellpsblacklistcheckerwindows
PSBlackListChecker – Notifications to Microsoft Teams, Slack of Blacklisted IPs

PSBlackListChecker – Notifications to Microsoft Teams, Slack of Blacklisted IPs

If this is the first time you’re reading about this module, it’s simple PowerShell module that allows you to verify…

blacklistblacklist ipexchangeipnet.dnspowershell
PSTeams  – Send notifications to MS Teams from Mac / Linux or Windows

PSTeams – Send notifications to MS Teams from Mac / Linux or Windows

If you’re new to this module it’s very simple PowerShell module allowing to send notifications straight to Microsoft Teams channels….

microsoft teamspowershellpowershell corepsteamsteams
PSWinDocumentation – Audit Active Directory Passwords

PSWinDocumentation – Audit Active Directory Passwords

If you’re paying attention to what’s happening around the world now you probably know Have I Been Pwned service by now. You probably know t…

active directoryadauditpowershellwindows
PSWinDocumentation – Export to Word, Excel, SQL of AD, AWS, Exchange, O365 Exchange, O365 Azure AD

PSWinDocumentation – Export to Word, Excel, SQL of AD, AWS, Exchange, O365 Exchange, O365 Azure AD

Today I’m pushing forward with PSWinDocumentation project. I’ve fixed some bugs but I also added a couple of new features. I did lie a bit…

awsexcelexchangeexportoffice 365powershell
PSWinDocumentation – Version 0.1 with Word / Excel export

PSWinDocumentation – Version 0.1 with Word / Excel export

A few weeks ago I’ve released my first version of PSWinDocumentation. It was simple, one command module where you start it and get some bas…

active directoryadexcelpowershellscriptswindows