Posts by Tag

PowerShell

PowerShell - Get day of weekday

less than 1 minute read

In this short post we will see how we can use PowerShell to get an integer representing the number associated with the day of the week for the current date.

Get current user UPN

1 minute read

In this post we will explore how to easily retrieve currently logged in user UPN via PowerShell

Variables in Azure Automation

4 minute read

In this post we will explore how we can use variables in Azure Automation. We will explore both encrypted and unencrypted variables and how we can leverage t...

PowerShell export registry key

2 minute read

In this post we will explore how we can use PowerShell to check existence of a specific registry key and how to export them either in CSV or XML format

PowerShell Switch Statement

6 minute read

In this post we will see uses of Switch statement in PowerShell, advantages it offers over if/else construct and how to use a switch with multiple conditions

Upgrade PowerShell 7 version

less than 1 minute read

In this post we will explore how to easily and effectively upgrade PowerShell 7 when a new version is released

PowerShell string concatenation

2 minute read

Concatenating strings in PowerShell is a common task in this short post I will give some tips to avoid the performance penalty associated with the task

PowerShell parse EML files

4 minute read

EML are a proprietary, and almost, obsolete used to represent an email message in encoded format which is not easy to parse for automation purposes

PowerShell load .Net Assembly

5 minute read

How to load external assemblies in PowerShell to extend functionality and leverage functionalities not available in PowerShell.

Convert a secure string to plain text

less than 1 minute read

In my previous post I have described how we can create a credential object part of the process involved creating a secure string object like this

PowerShell Strongly Typed Variables

5 minute read

PowerShell Strongly Typed Variables, what they are, why you should care and why you should use them in your code to avoid pitfalls and potential issues with ...

PowerShell Hashtables

4 minute read

Everything you always wanted to know about PowerShell Hashtables and never dared to ask

PowerShell Arrays

4 minute read

Everything you always wanted to know about PowerShell Arrays and never dared to ask

PowerShell Exception Handling

10 minute read

An introduction to PowerShell error handling. In this post we will explore what error handling is and how to implement it in PowerShell scripts

PowerShell delete old files

3 minute read

Learn how you can use PowerShell to automatically delete files and folders older than a number of days

Back to top ↑

PowerShell Core

PowerShell load .Net Assembly

5 minute read

How to load external assemblies in PowerShell to extend functionality and leverage functionalities not available in PowerShell.

PowerShell Strongly Typed Variables

5 minute read

PowerShell Strongly Typed Variables, what they are, why you should care and why you should use them in your code to avoid pitfalls and potential issues with ...

PowerShell Hashtables

4 minute read

Everything you always wanted to know about PowerShell Hashtables and never dared to ask

PowerShell Arrays

4 minute read

Everything you always wanted to know about PowerShell Arrays and never dared to ask

PowerShell Exception Handling

10 minute read

An introduction to PowerShell error handling. In this post we will explore what error handling is and how to implement it in PowerShell scripts

PowerShell delete old files

3 minute read

Learn how you can use PowerShell to automatically delete files and folders older than a number of days

Back to top ↑

Tips

PowerShell - Get day of weekday

less than 1 minute read

In this short post we will see how we can use PowerShell to get an integer representing the number associated with the day of the week for the current date.

Get current user UPN

1 minute read

In this post we will explore how to easily retrieve currently logged in user UPN via PowerShell

CentOS 8 - No updates available

less than 1 minute read

After deploying a new CentOS server and running a dnf update you could receive a Nothing to do, Complete! message despite updates being available

Back to top ↑

PowerShell Basics

PowerShell Exception Handling

10 minute read

An introduction to PowerShell error handling. In this post we will explore what error handling is and how to implement it in PowerShell scripts

PowerShell delete old files

3 minute read

Learn how you can use PowerShell to automatically delete files and folders older than a number of days

Back to top ↑

HowTo

PowerShell - Get day of weekday

less than 1 minute read

In this short post we will see how we can use PowerShell to get an integer representing the number associated with the day of the week for the current date.

Upgrade PowerShell 7 version

less than 1 minute read

In this post we will explore how to easily and effectively upgrade PowerShell 7 when a new version is released

PowerShell delete old files

3 minute read

Learn how you can use PowerShell to automatically delete files and folders older than a number of days

Back to top ↑

Office365

Variables in Azure Automation

4 minute read

In this post we will explore how we can use variables in Azure Automation. We will explore both encrypted and unencrypted variables and how we can leverage t...

Back to top ↑

Active Directory

Back to top ↑

Identity Management

Back to top ↑

Exchange

Back to top ↑

Performance Tips

PowerShell Switch Statement

6 minute read

In this post we will see uses of Switch statement in PowerShell, advantages it offers over if/else construct and how to use a switch with multiple conditions

PowerShell string concatenation

2 minute read

Concatenating strings in PowerShell is a common task in this short post I will give some tips to avoid the performance penalty associated with the task

Back to top ↑

Loops

Back to top ↑

Python

Back to top ↑

Hash

PowerShell Hashtables

4 minute read

Everything you always wanted to know about PowerShell Hashtables and never dared to ask

PowerShell Arrays

4 minute read

Everything you always wanted to know about PowerShell Arrays and never dared to ask

Back to top ↑

Hashtables

PowerShell Hashtables

4 minute read

Everything you always wanted to know about PowerShell Hashtables and never dared to ask

PowerShell Arrays

4 minute read

Everything you always wanted to know about PowerShell Arrays and never dared to ask

Back to top ↑

PowerShell Arrays

PowerShell Hashtables

4 minute read

Everything you always wanted to know about PowerShell Hashtables and never dared to ask

PowerShell Arrays

4 minute read

Everything you always wanted to know about PowerShell Arrays and never dared to ask

Back to top ↑

new-object system.management.automation.pscredential

Back to top ↑

PowerShell create credential

Back to top ↑

PowerShell Functions

Convert a secure string to plain text

less than 1 minute read

In my previous post I have described how we can create a credential object part of the process involved creating a secure string object like this

Back to top ↑

Exchange Online

Back to top ↑

Arrays

Back to top ↑

Delete Files

PowerShell delete old files

3 minute read

Learn how you can use PowerShell to automatically delete files and folders older than a number of days

Back to top ↑

Break

Back to top ↑

Switch

Back to top ↑

PowerShell Return

Back to top ↑

PowerShell Continue

Back to top ↑

Error Handling

PowerShell Exception Handling

10 minute read

An introduction to PowerShell error handling. In this post we will explore what error handling is and how to implement it in PowerShell scripts

Back to top ↑

Exception Handling

PowerShell Exception Handling

10 minute read

An introduction to PowerShell error handling. In this post we will explore what error handling is and how to implement it in PowerShell scripts

Back to top ↑

Pip

Back to top ↑

Pip Packages

Back to top ↑

Python3

Back to top ↑

Lists

PowerShell Arrays

4 minute read

Everything you always wanted to know about PowerShell Arrays and never dared to ask

Back to top ↑

Dictionaries

PowerShell Hashtables

4 minute read

Everything you always wanted to know about PowerShell Hashtables and never dared to ask

Back to top ↑

Splatting

Back to top ↑

Command Splatting

Back to top ↑

Variables

PowerShell Strongly Typed Variables

5 minute read

PowerShell Strongly Typed Variables, what they are, why you should care and why you should use them in your code to avoid pitfalls and potential issues with ...

Back to top ↑

PowerShell Variables

PowerShell Strongly Typed Variables

5 minute read

PowerShell Strongly Typed Variables, what they are, why you should care and why you should use them in your code to avoid pitfalls and potential issues with ...

Back to top ↑

Passwords

Back to top ↑

PowerShell store credentials in file

Back to top ↑

Domain Network

Back to top ↑

How to check if computer is connected to domain

Back to top ↑

Tutorials

Back to top ↑

PowerShell elevate script

Back to top ↑

PowerShell elevation

Back to top ↑

PowerShell ISE

Back to top ↑

PowerShell Editors

Back to top ↑

Personal

Back to top ↑

Nothing to see here

Back to top ↑

Not important

Back to top ↑

Tutorial

Back to top ↑

String Conversion

Back to top ↑

PowerShell Title Case

Back to top ↑

PowerShell from the field

Back to top ↑

PowerShell Active Directory

Back to top ↑

Seek

Back to top ↑

Read

Back to top ↑

Python IO

Back to top ↑

Python file management

Back to top ↑

HyperV

Back to top ↑

Virtualization

Back to top ↑

TLS

Back to top ↑

Invoke-RestMethod

Back to top ↑

PowerShell TLS 1.0

Back to top ↑

PowerShell TLS 1.2

Back to top ↑

Measure-Command

Back to top ↑

PowerShell Timer

Back to top ↑

PowerShell StopWatch

Back to top ↑

StopWatch how-to

Back to top ↑

PowerShell Execution Time

Back to top ↑

PowerShell Assemblies

PowerShell load .Net Assembly

5 minute read

How to load external assemblies in PowerShell to extend functionality and leverage functionalities not available in PowerShell.

Back to top ↑

PowerShell Tips

PowerShell load .Net Assembly

5 minute read

How to load external assemblies in PowerShell to extend functionality and leverage functionalities not available in PowerShell.

Back to top ↑

Functions

PowerShell parse EML files

4 minute read

EML are a proprietary, and almost, obsolete used to represent an email message in encoded format which is not easy to parse for automation purposes

Back to top ↑

PowerShell 7

Upgrade PowerShell 7 version

less than 1 minute read

In this post we will explore how to easily and effectively upgrade PowerShell 7 when a new version is released

Back to top ↑

Code Snippets

PowerShell export registry key

2 minute read

In this post we will explore how we can use PowerShell to check existence of a specific registry key and how to export them either in CSV or XML format

Back to top ↑

Useful functions

PowerShell export registry key

2 minute read

In this post we will explore how we can use PowerShell to check existence of a specific registry key and how to export them either in CSV or XML format

Back to top ↑

TroubleShooting

Back to top ↑

Exchange Online CBA

Back to top ↑

Exchange Online Certificate Based Authentication

Back to top ↑

EXO CBA

Back to top ↑

PowerShell Exchange Certificate

Back to top ↑

Azure

Variables in Azure Automation

4 minute read

In this post we will explore how we can use variables in Azure Automation. We will explore both encrypted and unencrypted variables and how we can leverage t...

Back to top ↑

Azure Automation

Variables in Azure Automation

4 minute read

In this post we will explore how we can use variables in Azure Automation. We will explore both encrypted and unencrypted variables and how we can leverage t...

Back to top ↑

Linux

Back to top ↑

Lab

Back to top ↑