SSH Connection Manager in Command Line
Managing multiple SSH connections and hosts can sometimes be problematic. In this post, I will show how you can easily save multiple connections directly in ...
Managing multiple SSH connections and hosts can sometimes be problematic. In this post, I will show how you can easily save multiple connections directly in ...
In this short post I will share two new cmdlets I have developed to generate forest wide unique UPN handling the different edge cases.
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.
When trying to establish a connection to Exchange Online Could not use the certificate for signing error message is displayed.
When opening a PowerShell session to both on-prem and Exchange online in the same window cannot bing argument to parameter TokenExpiryTime because is null er...
In this article I will guide you through the creation, configuration and deployment of an internal NuGet repository that can be used to easily distribute and...
In this post we will explore how to easily retrieve currently logged in user UPN via PowerShell
In this post we will explore how to use bash to write an OS image to an SD card for use with RaspBerryPI
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...
Microsoft is deprecating basic authentication when establishing a connection to Exchange Online in favor of more secure Certificate Based Authentication (CBA...
When opening an Exchange Online session via PowerShell error ‘Data returned by the remote Get-FormatData command is not in the expected format’ is returned a...
In this article we are going to explore how we can use PowerShell to get all members of a group even if nested
In this article I’m sharing a function that will gets you all users directly or indirectly reporting to a specific manager
In this post we will explore how to use PowerShell and some regex magic to check if a string is a valid distinguishedName (DN)
Subtitle - How do I get the full report chain for a specific manager from Active Directory
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
In this post we will see how we can easily convert a string into a datetime object.
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
After deploying a new CentOS server and running a dnf update you could receive a Nothing to do, Complete! message despite updates being available
In this post we will explore how to easily and effectively upgrade PowerShell 7 when a new version is released
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
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
How to load external assemblies in PowerShell to extend functionality and leverage functionalities not available in PowerShell.
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
There are many cmdlets that take a PSCredential object to run under the context of that specific user.
Releasing a PowerShell function that will check if an input string is a valid Guid or not
Learn how to measure execution time of PowerShell scripts and commands using different techniques and approaches
When using PowerShell Invoke-RestMethod you get the Invoke-RestMethod : The underlying connection was closed: An unexpected error occurred Error message
The image hash and certificate are not allowed error is displayed when creating a new Hyper-V machine
How do I go back to the beginning of file after reading it with the read() method in Python?
When using Get-AdGroupMember cmdlet with a group with a large number of members the The operation returned because the timeout limit was exceeded error could...
In this article we will explore how to convert a string in mixed case into a Title Case String.
Or how do I know which parameters have been passed to a function?
Or how I disappeared but never lost love for writing and PowerShell
Restore default PowerShell Gallery repository in PowerShell and PowerShell Core
How to clear variables in PowerShell ISE Editor without restarting the session
How to write a PowerShell script that will self elevate the session if it is not being run as administrator
How to check if a computer is connected to the domain network
How to securely store credentials in a PowerShell script writing them in plain sight
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 ...
How to get user primary SMTP Address when you don’t have the Exchange module installed on your machine
What is command splatting, how to use it and implement dynamic parameters
Everything you always wanted to know about PowerShell Hashtables and never dared to ask
Everything you always wanted to know about PowerShell Arrays and never dared to ask
How to list all outdated Python packages with Pip and how to upgrade them
An introduction to PowerShell error handling. In this post we will explore what error handling is and how to implement it in PowerShell scripts
An introduction to PowerShell statements. In this post we will explore Return and Continue
An introduction to break statement in PowerShell and its usage
Learn how you can use PowerShell to automatically delete files and folders older than a number of days
Learn how PowerShell can check if a folder exists and automatically create it if not.
Learn how to create you can add and remove elements from a PowerShell array through the use of list objects.