&lt;?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Articles from November 2019 on PowerShell.org - Welcome Automaters!</title><link>https://powershell.org/articles/2019/11/</link><description>Recent content in Articles from November 2019 on PowerShell.org - Welcome Automaters!</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://powershell.org/articles/2019/11/index.xml" rel="self" type="application/rss+xml"/><item><title>ICYMI: PowerShell Week of 29-November-2019</title><link>https://powershell.org/articles/2019-11-29-icymi-powershell-week-of-29-november-2019/</link><guid>https://powershell.org/articles/2019-11-29-icymi-powershell-week-of-29-november-2019/</guid><pubDate>Fri, 29 Nov 2019 16:15:02 +0000</pubDate><description>&lt;p&gt;Topics include Invoke-Command, Objects, Introspection and more.&lt;/p&gt;</description><content:encoded>&lt;![CDATA[<p>Topics include Invoke-Command, Objects, Introspection and more.</p><p>Special thanks to Robin Dadswell, Prasoon Karunan V, and Kevin Laux.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://flxsql.com/monday-morning-module-maintenance-monoliners/"><em>Monday Morning Module Maintenance Monoliners</em></a></p><p>by Andy Levy on 25th November</p><p>Do enough work with PowerShell and you’ll build up a decent collection of modules installed from the gallery into either your computer or your user profile (or maybe both!). Here are two one-liners to help keep things up to date and tidy.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://ucstatus.com/2019/11/25/skypeonlineconnector-session-reconnection/"><em>SkypeOnlineConnector Session Reconnection</em></a></p><p>by Randy Chapman on 25th November</p><p>If you use the SkypeOnlineConnector PowerShell module to connect to and manage Skype for Business Online or Microsoft Teams, I have some exciting news.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://winsysblog.com/2019/11/using-invoke-command-in-powershell.html"><em>Using Invoke-Command In PowerShell</em></a></p><p>by Dan Franciscus on 26th November</p><p>In this article, Dan Franciscus covers how to use the Invoke-Command and why it is one of his favorite commands to use in PowerShell.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://office365itpros.com/2019/11/28/why-do-we-write-powershell-like-we-do/"><em>Why Do We Write PowerShell (for Office 365) Like We Do?</em></a></p><p>by Tony Redmond on 28th November</p><p>A reader asked why the PowerShell examples in the book (and this site) are “just code.” It’s a reasonable question that deserves a reasonable answer.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://adamtheautomator.com/powershell-objects/"><em>Back to Basics: Understanding PowerShell Objects</em></a></p><p>by Bill Kindle on 29th November</p><p>PowerShell is a powerful language. But what makes it so powerful? PowerShell objects. What are these magical objects and how does PowerShell work with them? Stay tuned to find out.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://youtu.be/LbGNQVbb_VI"><em>Youtube: Azure PowerShell Introduction</em></a></p><p>Learn the basics of using PowerShell with Azure, great primer.</p>]]></content:encoded></item><item><title>ICYMI: PowerShell Week of 22-November-2019</title><link>https://powershell.org/articles/2019-11-22-icymi-powershell-week-of-22-november-2019/</link><guid>https://powershell.org/articles/2019-11-22-icymi-powershell-week-of-22-november-2019/</guid><pubDate>Fri, 22 Nov 2019 15:10:16 +0000</pubDate><description>&lt;p&gt;Topics include Group-Object, Power Platform, Preview 6 and more.&lt;/p&gt;</description><content:encoded>&lt;![CDATA[<p>Topics include Group-Object, Power Platform, Preview 6 and more.</p><p>Special thanks to Robin Dadswell, Prasoon Karunan V, and Kevin Laux.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://powershell.one/tricks/performance/group-object"><em>Speeding Up Group-Object</em></a></p><p>by Tobias Weltner on 17th November</p><p>There is a design flaw in Group-Object. With a workaround, your scripts can be up tp 50x faster and still 2x faster on PowerShell Core.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://community.idera.com/database-tools/powershell/powertips/b/tips/posts/safely-using-wmi-in-powershell-part-2"><em>Safely Using WMI in PowerShell (Part 2)</em></a></p><p>by Prateik Singh on 18th November</p><p>In this mini-series, we are looking at the differences between Get-WmiObject and Get-CimInstance. Future PowerShell versions no longer support Get-WmiObject, so it is time to switch to Get-CimInstance if you haven’t already.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://adamtheautomator.com/powershell-passion/"><em>PowerShell: The Software that Changed My Life</em></a></p><p>by Adam Bertram on 19th November</p><p>In this personal blog post, learn how one technology managed to change the entire trajectory of a sysadmin.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://blog.admindroid.com/block-self-service-purchase-for-power-platform-products-using-powershell/"><em>How to Block Self-Service Purchase for Power Platform Products Using PowerShell</em></a></p><p>by the AdminDroid team on 19th November</p><p>Recently Microsoft announced Self-service purchase capabilities for Power Platform products (Power BI, PowerApps, and Flow).</p><p>Self-service purchase capability arrives automatically and enabled by default. Due to this change, individuals within the organization can buy subscriptions directly without contacting their IT department.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://devblogs.microsoft.com/powershell/powershell-7-preview-6/"><em>PowerShell 7 Preview 6</em></a></p><p>by Steve Lee on 21st November</p><p>Today we shipped PowerShell 7 Preview.6! This release contains a number of new features and many bug fixes from both the community as well as the PowerShell team. This will be the last preview release as we head towards a Release Candidate in December.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://www.reddit.com/r/PowerShell/comments/dxvkau/employee_deleted_60000_files_from_company/"><em>Reddit /r/PowerShell - Most Popular Weekly Post</em></a></p><p>Employee deleted 60,000 files from company sharepoint</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://twitter.com/jessitron/status/1196861737196277761"><em>Tweet of the Week</em></a></p><p>@Jessitron shows you how to create your own custom Prompt in PowerShell.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://www.youtube.com/watch?v=RTTw4OFR8QM&amp;feature=youtu.be"><em>Youtube: PowerShell Ping Buddy - Part 1</em></a></p><p>A video by Adam Driscoll showing off ping buddy a simple grid display for ping results.</p>]]></content:encoded></item><item><title>ICYMI: PowerShell Week of 15-November-2019</title><link>https://powershell.org/articles/2019-11-15-icymi-powershell-week-of-15-november-2019/</link><guid>https://powershell.org/articles/2019-11-15-icymi-powershell-week-of-15-november-2019/</guid><pubDate>Fri, 15 Nov 2019 15:09:43 +0000</pubDate><description>&lt;p&gt;Topics include string manipulation, bash, Python and Slack applications.&lt;/p&gt;</description><content:encoded>&lt;![CDATA[<p>Topics include string manipulation, bash, Python and Slack applications.</p><p>Special thanks to Robin Dadswell, Prasoon Karunan V, and Kevin Laux.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://powershell.one/tricks/performance/strings"><em>Speeding Up String Manipulation</em></a></p><p>by Tobias Weltner on 10th November</p><p>Appending text to strings using “+=” is convenient but slow. Learn how to do string manipulation without slowing down PowerShell.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://www.cyberdrain.com/monitoring-with-powershell-monitoring-active-directory-replication/"><em>Monitoring with PowerShell: Monitoring Active Directory replication</em></a></p><p>by Kelvin Tegelaar on 11th November</p><p>To make sure that the domain controllers keep replicating correctly and we detect issues early we use the Active Directory cmdlets in combination with our RMM system. This makes it so we can monitor the current status of the replication and alert if it does not work for a longer period of time.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://threadreaderapp.com/thread/1194296021297352705.html"><em>I sat down to learn enough PowerShell to recreate one of my bash functions.</em></a></p><p>by Jessica Joy Kerr on 12th November</p><p>As a user of Linux and Bash Jessica details the differences good and bad that she discovered while learning PowerShell.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://ironmansoftware.com/snek-integrating-python-in-powershell/"><em>Snek - Integrating Python in PowerShell</em></a></p><p>by Adam Driscoll on 14th November</p><p>Snek is a cross-platform PowerShell module for integrating with Python. It uses the Python for .NET library to load the Python runtime directly into PowerShell. Using the dynamic language runtime, it can then invoke Python scripts and modules and return the result directly to PowerShell as managed .NET objects.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://www.shudnow.net/2019/11/14/automate-azure-disk-encryption-for-windows-virtual-machines/"><em>Automate Azure Disk Encryption for Windows Virtual Machines</em></a></p><p>by Elan Shudnow on 14th November</p><p>The purpose of this article is to provide a script and demonstrate different scenarios in which my script can be used to help provide an automated method which can encrypt your OS and Data disks as well as automatically creating a Key Vault if one does not exist including the Access Policy configuration.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://www.reddit.com/r/PowerShell/comments/dwebjr/reminder_gethistory_exists_i_completely_forgot/"><em>Reddit /r/PowerShell - Most Popular Weekly Post</em></a></p><p>Get-History exists, don&rsquo;t forget!</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://twitter.com/alexandair/status/1195153217740562434?s=20"><em>Tweet of the Week</em></a></p><p>Happy Birthday PowerShell?</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://www.youtube.com/watch?v=lk0JYDzEoVM&amp;feature=youtu.be"><em>Youtube: Building a Slack application with PowerShell</em></a></p><p>In this video, I show how to create a Slack App with PowerShell using Universal Dashboard. I also show how to tunnel the webserver from localhost via ngrok.</p>]]></content:encoded></item><item><title>ICYMI: PowerShell Week of 8-November-2019</title><link>https://powershell.org/articles/2019-11-08-icymi-powershell-week-of-8-november-2019/</link><guid>https://powershell.org/articles/2019-11-08-icymi-powershell-week-of-8-november-2019/</guid><pubDate>Fri, 08 Nov 2019 15:00:58 +0000</pubDate><description>&lt;p&gt;Topics include speeding up the pipeline, while/until loops, why you shouldn&amp;rsquo;t use += and more!&lt;/p&gt;</description><content:encoded>&lt;![CDATA[<p>Topics include speeding up the pipeline, while/until loops, why you shouldn&rsquo;t use += and more!</p><p>Special thanks to Robin Dadswell, Prasoon Karunan V, and Kevin Laux.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://powershell.one/tricks/performance/pipeline"><em>Speeding Up the Pipeline - powershell.one</em></a></p><p>by Tobias Weltner on the 3rd November</p><p>The PowerShell Pipeline is robust but tends to be slow. With a couple of tricks you can speed it up tremendously and make it as fast as classic foreach loops.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://sid-500.com/2019/11/04/powershell-do-while-vs-do-until/"><em>PowerShell: Do-While vs. Do-Until vs. While</em></a></p><p>by Patrick Gruenauer on the 4th November</p><p>Understanding the differences between a do-while, do-until and while loop could be confusing. Is it the same? Why are there multiple techniques? In this blog post you will learn the differences.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://theposhwolf.com/howtos/PS-Plus-Equals-Dangers/"><em>PowerShell’s plus equals (+=), the array serial killer</em></a></p><p>by Anthony Howell on the 4th November</p><p>&ldquo;I did a livestream recently where I created a function to parse an HTML table and convert it to a PowerShell object. If you followed along, you probably noticed that I used a += with no shame whatsoever. Luckily, @PrzemyslawKlys caught it and asked that I fix it (you can see the commit history here, the actual request was a Twitter DM). This was a great reminder to me that += should be avoided!&rdquo;</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://www.jonathanmedd.net/2019/11/ansible-windows-and-powershell-the-basics-part-7-utilising-powershell-dsc.html"><em>Ansible, Windows and PowerShell: the Basics – Part 7, Utilising PowerShell DSC</em></a></p><p>by Jonathan Medd on 5th November</p><p>In Part 7 of this series we’ll continue our journey with Ansible, Windows and PowerShell and look at how utilise PowerShell DSC. If you or your team already own some automation created using PowerShell DSC then it is possible to re-use that via an Ansible Playbook. Or maybe you think that you or they would prefer to create configuration automation going forward using a perhaps more familiar PowerShell DSC, then this could be a solution for you.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="http://jdhitsolutions.com/blog/powershell/6905/creating-a-powershell-backup-system/"><em>Creating a PowerShell Backup System</em></a></p><p>by Jeff Hicks on the 7th November</p><p>The start of a series of articles demonstrating how Jeff built a PowerShell-based backup system for critical files employing the System.IO.FileSystemWatcher.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://twitter.com/azureposh/status/1192801892314861569"><em>Tweet of the Week</em></a></p><p>New PowerShell module for managing Azure Functions</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://www.youtube.com/watch?v=AsAQr9XK1Fc&amp;feature=youtu.be"><em>Youtube: Send Email with SendGrid and PowerShell</em></a></p><p>In this video, I set up a free SendGrid account in Azure and send email with the Rest API and PowerShell. I walk through the reusable function that builds the header and body of the message. This function is helpful for anyone who needs to send email from a PowerShell script that doesn’t have access to an SMTP relay or are behind a firewall that blocks outbound SMTP traffic.</p>]]></content:encoded></item><item><title>ICYMI: PowerShell Week of 1-November-2019</title><link>https://powershell.org/articles/2019-11-01-icymi-powershell-week-of-1-november-2019/</link><guid>https://powershell.org/articles/2019-11-01-icymi-powershell-week-of-1-november-2019/</guid><pubDate>Fri, 01 Nov 2019 15:00:55 +0000</pubDate><description>&lt;p&gt;Topics include Teams, Scheduled Jobs, Halloween fun and more&lt;/p&gt;</description><content:encoded>&lt;![CDATA[<p>Topics include Teams, Scheduled Jobs, Halloween fun and more</p><p>Special thanks to Robin Dadswell, Prasoon Karunan V, and Kevin Laux.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://4sysops.com/archives/managing-powershell-scheduled-jobs/"><em>Managing PowerShell scheduled jobs</em></a></p><p>by Mike Kanakos on 28th October</p><p>I&rsquo;d like to walk you through the management of PowerShell scheduled jobs. The concept of PowerShell jobs is not familiar territory for many PowerShell users. At first glance, the benefits of running any kind of job from the command line may not be obvious. Let&rsquo;s peel back the covers on managing scheduled jobs and the benefits that come with them.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://jdhitsolutions.com/blog/powershell/6879/the-powershell-magic-8-ball/"><em>The PowerShell Magic 8 Ball</em></a></p><p>by Jeffery Hicks on 28th October</p><p>Last year I shared some PowerShell code on Twitter about this time of year. I have a short script that uses Windows Presentation Foundation (WPF) to create a spooky graphical prompt that allows you to ask questions of a Magic 8 Ball.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://robindadswell.github.io/blog/2019/10/28/automated-microsoft-teams-policy-appliation-to-azure-ad-groups-using-powershell"><em>Automated Microsoft Teams Policy application to Azure AD Groups using PowerShell</em></a></p><p>by Robin Dadswell on 28th October</p><p>Use Azure AD Groups to manage teams policies for users who need different policies. This article provides a framework of how to do it including logging to teams.</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://adamtheautomator.com/powershell-arraylist/"><em>Using PowerShell ArrayLists and Arrays</em></a></p><p>by Nathan Kasco on 29th October</p><p>Get back to PowerShell basics learning how to use PowerShell arraylists and basic arrays in this how-to walkthrough!</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://powershell.one/tricks/network/porttest"><em>Port Testing with PowerShell</em></a></p><p>by TobiasPSP on 30th of October</p><p>Let’s check out how to use a TCPClient object to turn PowerShell into a fast and flexible network port tester!</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://www.reddit.com/r/PowerShell/comments/dorgmq/monitoring_microsoft_teams_using_powershell/"><em>Reddit /r/PowerShell - Most Popular Weekly Post</em></a></p><p>Monitoring Microsoft Teams using PowerShell Universal Dashboard</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://twitter.com/PSJamesP/status/1190267923174240256"><em>Tweet of the Week</em></a></p><p>Tickets are now on sale for PowerShell Summit!</p><h6 id="" class="ps-heading"><a class="ps-heading-anchor" href="#" aria-label="Link to this section" title="Link to this section"><i class="fas fa-link" aria-hidden="true"/></a></h6><p><a href="https://www.youtube.com/watch?v=FvW8hC87OQk"><em>Create an Active Directory new user onboarding website with PowerShell</em></a></p><p>In this video, we use the Active Directory PowerShell Module and Universal Dashboard to create a self-service website for creating new users in Active Directory.</p>]]></content:encoded></item></channel></rss>