Powershell: Everything you wanted to know about ShouldProcess
Kevin Marquette on PowerShell Theory
by
4y 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
Visit website
Powershell: How to Disable SMBv3 Compression
Kevin Marquette on PowerShell Theory
by
4y 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
Visit website
Powershell: Everything you wanted to know about the IF statement
Kevin Marquette on PowerShell Theory
by
5y 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
Visit website
Powershell: Building Micro Modules
Kevin Marquette on PowerShell Theory
by
5y 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
Visit website
Powershell: Jira module project
Kevin Marquette on PowerShell Theory
by
5y 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
Visit website
2018: What have you done with PowerShell this year?
Kevin Marquette on PowerShell Theory
by
5y 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
Visit website
Powershell: Everything you wanted to know about arrays
Kevin Marquette on PowerShell Theory
by
5y 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
Visit website

Follow Kevin Marquette on PowerShell Theory on FeedSpot

Continue with Google
Continue with Apple
OR