mikefrobbins.com
open-menu closeme
Home
About
mikefrobbins.com
twitter github linkedin rss
  • What’s the Recommended Editor for PowerShell Scripts?

    calendar Nov 15, 2018 · PowerShell VSCode  ·
    Share on: twitter facebook linkedin copy

    You've probably heard, as I have, that Visual Studio Code (VSCode) is the latest whiz-bang editor that you should be using for PowerShell (and I am for development of PowerShell code on my primary workstation). One word of caution though is to make sure to put things into perspective and not be so quick to shun people …


    Read More
  • Managing the Hyper-V Default Switch in Windows 10 version 1709 and higher with PowerShell

    calendar Nov 8, 2018 · Hyper-V PowerShell Windows 10  ·
    Share on: twitter facebook linkedin copy

    Windows 10 version 1709 introduced a default Hyper-V virtual switch which is installed when the Hyper-V role is added. As you can see in the following example, by default on Windows 10, the default virtual switch does not exist because the Hyper-V role hasn't been added. 1Get-NetAdapter Now that the Hyper-V role has …


    Read More
  • PowerShell Script Module Design: Building Tools to Automate the Process

    calendar Nov 1, 2018 · AST PowerShell PowerShell Script Module Design  ·
    Share on: twitter facebook linkedin copy

    As I previously mentioned a little over a month ago in my blog article PowerShell Script Module Design Philosophy, I'm transitioning my module build process to a non-monolithic design in development and a monolithic design for production to take advantage of the best of both worlds. Be sure to read the previously …


    Read More
  • Learn about the PowerShell Abstract Syntax Tree (AST) – Part 3

    calendar Oct 25, 2018 · AST PowerShell  ·
    Share on: twitter facebook linkedin copy

    This blog article is the third in a series of learning about the PowerShell Abstract Syntax Tree (AST). Be sure to read the other two if you haven't already. Learning about the PowerShell Abstract Syntax Tree (AST) Learn about the PowerShell Abstract Syntax Tree (AST) – Part 2 Learn about the PowerShell Abstract Syntax …


    Read More
  • Learn about the PowerShell Abstract Syntax Tree (AST) – Part 2

    calendar Oct 24, 2018 · AST PowerShell  ·
    Share on: twitter facebook linkedin copy

    In my previous blog article a few weeks ago on Learning about the PowerShell Abstract Syntax Tree (AST), I mentioned there was an easier way to retrieve the AST so that you didn't have to cast everything to a script block. There are two .NET static methods, ParseFile and ParseInput, that are part of the Parser Class in …


    Read More
  • Use PowerShell to Monitor IIS Websites and Application Pools

    calendar Oct 18, 2018 · IIS PowerShell  ·
    Share on: twitter facebook linkedin copy

    I recently received a request to write a script for monitoring IIS websites and their application pools on a specific Windows 2012 R2 server and start them if they were stopped. This is something I created fairly quickly and thought I would share. I always try to centralize any scripts I write and have them run on a …


    Read More
  • Use PowerShell to Install the Remote Server Administration Tools (RSAT) on Windows 10 version 1809

    calendar Oct 3, 2018 · PowerShell Windows 10  ·
    Share on: twitter facebook linkedin copy

    My computer recently updated to Windows 10 version 1809 and as with all previous major updates of Windows 10, this wipes out the Remote Server Administration Tools (RSAT). However, unlike previous versions, Microsoft has now made RSAT available via Features on Demand and while you're supposed to be able to install them …


    Read More
  • Learning about the PowerShell Abstract Syntax Tree (AST)

    calendar Sep 28, 2018 · AST PowerShell PowerShell Script Module Design  ·
    Share on: twitter facebook linkedin copy

    This week, I'll continue where I left off in my previous blog article PowerShell Script Module Design Philosophy. Moving forward, the development versions of my PowerShell script modules will use a non-monolithic design where each function is dot-sourced from the PSM1 file. When I move them to production, I'll convert …


    Read More
  • PowerShell Script Module Design Philosophy

    calendar Sep 21, 2018 · PowerShell PowerShell Script Module Design  ·
    Share on: twitter facebook linkedin copy

    Years ago, when I first learned how to create PowerShell script modules, I built them with all the functions in one huge monolithic PSM1 file. I like the monolithic script module design from a performance and security standpoint along with the ease of signing fewer files if you’re taking advantage of code signing to …


    Read More
  • PowerShell Script Module Design: Don’t Use Asterisks (*) in your Module Manifest

    calendar Sep 13, 2018 · PowerShell PowerShell Script Module Design  ·
    Share on: twitter facebook linkedin copy

    Using asterisks (*) in your module manifest is a bad idea no matter how you look at it. First, your module will be slower because it will have to figure out what to export. More importantly, if you use a "#Requires -Modules" statement in your functions and they're in separate PS1 files, all of the specified …


    Read More
    • ««
    • «
    • 4
    • 5
    • 6
    • 7
    • 8
    • »
    • »»

Mike F. Robbins photo

Mike F. Robbins

Scripting | Automation | Efficiency
Read More

Disclaimer

All information and code on this site is for informational purposes only and provided as-is. This site does not provide any warranty, either express or implied. All thoughts and opinions are my own.

Recent Posts

  • Generating PowerShell module documentation with platyPS
  • Use symlinks to version-control your PowerShell profile with Git
  • Navigating the Nuances of PowerShell Syntax with Get-Help and Get-Command
  • Building and Deploying a Blog with Hugo and GitHub Pages
  • Automatically convert a PowerShell command to use splatting
  • Securing API Keys with PowerShell Secrets Management in Azure Key Vault
  • Configure Azure PowerShell upgrade notifications
  • Create Calculated Properties in PowerShell with Select-Object, Format-Table, and Format-List

Categories

POWERSHELL 342 ACTIVE-DIRECTORY 34 SCRIPTING-GAMES 32 SQL-SERVER 20 DESIRED-STATE-CONFIGURATION 18 AZURE 12 HYPER-V 10 VSCODE 9 LINUX 8 POWERSHELL-SUMMIT 8 IIS 6 OFFICE-365 6 PESTER 6 AZURE-POWERSHELL 5 GIT 5 WINDOWS-10 5 ARCOLINUX 4 AST 4
All Categories
ACTIVE-DIRECTORY34 ALTARO-VM-BACKUP2 APPASSURE1 APPLICATION-INSIGHTS1 ARCOLINUX4 AST4 AWS1 AZURE12 AZURE-POWERSHELL5 CENTOS1 CROSS-PLATFORM1 DEBIAN1 DESIRED-STATE-CONFIGURATION18 DHCP-SERVER2 EXCHANGE-SERVER2 EXCHANGE-SERVER-20102 GIT5 GITHUB-PAGES1 GROUP-POLICY1 HARDWARE1 HUGO3 HYPER-V10 IIS6 LINUX8 MACOS3 MARKDOWN1 MICROSOFT-SQL-SERVER3 NANO-SERVER1 OFFICE-3656 OPERATIONAL-VALIDATION4 PACMAN1 PAMAC1 PARU1 PESTER6 PLASTER2 POWERSHELL342 POWERSHELL-CORE3 POWERSHELL-STUDIO1 POWERSHELL-SUMMIT8 POWERSHELL-WEB-ACCESS1 RASPBERRY-PI1 REGULAR-EXPRESSIONS1 SAPIEN-TECHNOLOGIES3 SCRIPTING-GAMES32 SERVER-CORE2 SQL-SERVER20 STORAGE-AREA-NETWORK2 TRAINING-VIDEOS4 UBUNTU1 VERSION-CONTROL4 VIRTUALIZATION1 VSCODE9 VWORKSPACE1 WINDOWS1 WINDOWS-105 WINDOWS-81 WINDOWS-8.11 WINDOWS-SERVER-2003-R21 WINDOWS-SERVER-20081 WINDOWS-SERVER-2008-R21 WINDOWS-SERVER-20123 WINDOWS-SERVER-2012-R22 WINDOWS-SERVER-20161 WINDOWS-SERVER-20192
[A~Z][0~9]

Tags

POWERSHELL 335 ACTIVE-DIRECTORY 32 SCRIPTING-GAMES 30 SQL-SERVER 21 DSC 19 DESIRED-STATE-CONFIGURATION 18 AZURE 12 HYPER-V 11 VIDEO 11 PESTER 10 VSCODE 9 AST 8 LINUX 8 POWERSHELL-VERSION-5 8 GIT 6 IIS 6 OFFICE-365 6 POWERSHELL-SCRIPT-MODULE-DESIGN 6
All Tags
ACTIVE-DIRECTORY32 ALTARO-VM-BACKUP2 APPASSURE1 APPLICATION-INSIGHTS1 ARCOLINUX4 AST8 AWS1 AZ1 AZURE12 AZURE-POWERSHELL5 AZURERM1 CENTOS1 CROSS-PLATFORM1 DEBIAN1 DEDUPLICATION1 DESIRED-STATE-CONFIGURATION18 DHCP1 DHCP-SERVER2 DSC19 EQUALLOGIC1 EXCHANGE-20101 EXCHANGE-SERVER2 EXCHANGE-SERVER-20101 GIT6 GITHUB4 GITHUB-ACTIONS1 GITHUB-CLI1 GITHUB-PAGES1 GROUP-POLICY1 HARDWARE1 HUGO3 HYPER-V11 IIS6 LINUX8 MACOS3 MARKDOWN2 NANO-SERVER1 NIMBLE1 OFFICE-3656 ONEGET5 OPERATION-VALIDATION-FRAMEWORK1 OPERATIONAL-VALIDATION4 PACMAN1 PAMAC1 PARU1 PESTER10 PLASTER2 POWERSHELL335 POWERSHELL-CORE3 POWERSHELL-SCRIPT-MODULE-DESIGN6 POWERSHELL-STUDIO1 POWERSHELL-SUMMIT6 POWERSHELL-VERSION-58 POWERSHELL-WEB-ACCESS1 POWERSHELLGET2 PRODUCTIVITY-HACKS1 PSBLOGWEEK1 RASPBERRY-PI1 REGULAR-EXPRESSIONS1 SAN2 SCRIPT-ANALYZER1 SCRIPTING-GAMES30 SERVER-CORE2 SOURCE-CONTROL4 SQL-SERVER21 STORAGE-AREA-NETWORK2 UBUNTU1 VERSION-CONTROL4 VIDEO11 VISUAL-STUDIO-CODE3 VSCODE9 VWORKSPACE1 WINDOWS1 WINDOWS-106 WINDOWS-82 WINDOWS-8.11 WINDOWS-SERVER-2003-R21 WINDOWS-SERVER-20124 WINDOWS-SERVER-2012-R21 WINDOWS-SERVER-20192 WMI2
[A~Z][0~9]
mikefrobbins.com

Copyright  MIKEFROBBINS.COM. All Rights Reserved

to-top