<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Best Practices on PowerShell.org - Welcome Automaters!</title><link>https://powershell.org/tags/best-practices/</link><description>Recent content in Best Practices on PowerShell.org - Welcome Automaters!</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 05 Nov 2020 18:53:35 +0000</lastBuildDate><atom:link href="https://powershell.org/tags/best-practices/index.xml" rel="self" type="application/rss+xml"/><item><title>Writing Your Own PowerShell Functions / Cmdlets</title><link>https://powershell.org/articles/2020-11-05-writing-your-own-powershell-functions-cmdlets/</link><pubDate>Thu, 05 Nov 2020 18:53:35 +0000</pubDate><guid>https://powershell.org/articles/2020-11-05-writing-your-own-powershell-functions-cmdlets/</guid><description>&lt;p&gt;This article is an attempt at describing some of my thought process when building functions. By functions I mean a command that you can execute after importing a module. I am not referring to running a script that accepts parameters and input. Having a task to complete for a function is of course the first objective. Once an idea is in mind I like to write as much as the Help section first as possible as this helps me outline and plan what I am going to do.&lt;/p&gt;</description></item><item><title>Creating a PowerShell Module to Improve Your Code</title><link>https://powershell.org/articles/2020-07-27-creating-a-powershell-module-to-improve-your-code/</link><pubDate>Mon, 27 Jul 2020 18:24:52 +0000</pubDate><guid>https://powershell.org/articles/2020-07-27-creating-a-powershell-module-to-improve-your-code/</guid><description>&lt;p&gt;Do you have PowerShell code that you reuse in your scripts over and over? Do you have server names hard coded in variables? Are you using a text file or CSV file to import server names? Do you find yourself only utilizing one server out of a cluster of servers to make your PowerShell commands? These are the questions I asked myself and the answer used to be YES. In this post, I will go over how you can store your infrastructure server information in a SQL database and call that data from a custom PowerShell module. By utilizing this method, you can expect the below benefits:&lt;/p&gt;</description></item></channel></rss>