
Kevin Marquette on PowerShell Theory Blog
443 FOLLOWERS
I love to explore and discover how Powershell works.
Kevin Marquette on PowerShell Theory Blog
5y ago
PowerShell functions are very robust with several features that greatly improves the way users interact with them. One important feature that is often overlooked is -WhatIf and -Confirm support and it is easy to add to your functions. In this article, we will dive deep into how to implement this ..read more
Kevin Marquette on PowerShell Theory Blog
5y ago
If you are working on the ADV200005 Security Advisory for CVE-2020-0796, the primary workaround is to disable SMB Compression on the server. Let’s take a look at how to do that in the registry with PowerShell. Index Index Disabling SMBv3 Compression Enabling Current Status PSSessions Idempotent changes Configuration management Why ..read more
Kevin Marquette on PowerShell Theory Blog
6y ago
Like many other languages, PowerShell has statements for conditionally executing code in your scripts. One of those statements is the if statement. Today we will take a deep dive into one of the most fundamental commands in PowerShell. Index Index Conditional execution The if statement Comparison operators -eq for equality ..read more
Kevin Marquette on PowerShell Theory Blog
6y ago
I am a big fan of modules as a way to package and distribute PowerShell functions. I create modules all the time and I tend to use a fairly robust set of build and release scripts. More recently, I have wanted to release an individual advanced function as a module ..read more
Kevin Marquette on PowerShell Theory Blog
6y ago
Let me tell you about a Jira module that I have been building over the last two weeks. I have been thinking about creating my own module for a while now. I was talking about my idea after a recent user group and got a lot of positive feedback on ..read more
Kevin Marquette on PowerShell Theory Blog
6y ago
Over on /r/PowerShell, we share with each other everything that we have done with PowerShell every month and reflect on that at the end of the year. This has been a big year for me. Not only have I been able to work on some great projects professionally, I also ..read more
Kevin Marquette on PowerShell Theory Blog
6y ago
Arrays are a fundamental language feature of most programming languages. They are a collection of values or objects and are therefore, difficult to avoid. Let’s take a close look at arrays and everything they have to offer. Page Index Page Index What is an array? Basic usage Create an array ..read more