Showing results for October 2021 - PowerShell Community

Oct 25, 2021
3
0

How to use the Secret modules

@DoctorDNS
@DoctorDNS

Q: I have a bunch of scripts we use in production that make use of Windows credentials. In some cases, these scripts have an actual password in plain text, while others read the password from an XML file. Is there a better way? A: Scripts with high-privilege account passwords in plain text is not a good idea. There are several methods you can use ...

SecretManagementpasswordscredentials
Oct 14, 2021
0
1

A closer look at the Crescendo configuration

Sean Wheeler
Sean Wheeler

In my previous post, I looked at the details of a Crescendo output handler from my VssAdmin module. In this post, I explain the details of a cmdlet definition in the Crescendo JSON configuration file. The purpose of the configuration The structure for the interface of a cmdlet is a reasonably predictable thing. The pattern of the script ...

Crescendojsonconfiguration
Oct 11, 2021
0
1

A closer look at the parsing code of a Crescendo output handler

Sean Wheeler
Sean Wheeler

In my previous post, I showed you how to parse the output from the command. The output of is not very complex. The goal of the post was to introduce some parsing strategies that you can use to create a full Crescendo module. In this post, I explain the details of a more complex parsing function that I created for my VssAdmin module. Examining ...

Crescendooutput handlerparsing
Oct 4, 2021
5
2

Converting string output to objects

Sean Wheeler
Sean Wheeler

In my previous post, I talked about using Crescendo to create a PowerShell module for the command in Windows. As I explained, you have to write Output Handler code that parses the output of the command you are using. But if you never written a parser like this, where do you start? In this post I show you how to parse the output from the command...

Crescendoparsing stringsnetstat