Articles

PowerShell articles, tutorials, and guides from community experts.

n2501r
PowerShell for Admins

Creating a PowerShell Module to Improve Your Code

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.

Robin Dadswell
In Case You Missed It

ICYMI: PowerShell Week of 17-July-2020

Topics include OneDrive client, HTML reports, Beautiful code and more… Special thanks to Robin Dadswell, Prasoon Karunan V, Kiran Patnayakuni and Kevin Laux Automate Azure update management scheduling with PowerShell by Barbara Forbes on 12th July Barbara is explaining about how to automate Azure update management and scheduling updates using PowerShell Active Directory DHCP Report to HTML or EMAIL with zero HTML knowledge by Przemyslaw Klys on 12th July Przemyslaw is using PSWriteHTML module and and demonstrating how to generate html reports seamlessly.

n2501r
PowerShell for Admins

Manage Citrix Tags with PowerShell

Managing Citrix tags can be a long painful process if done the traditional way through Citrix Studio, that is what drove me to PowerShell for this task. Citrix Studio is a great tool, but it can be very time consuming especially if you have to do bulk tag actions. Citrix tags can be used in several methods, but I have focused on desktop tagging. This post will cover the following scenarios: