mikefrobbins.com
open-menu closeme
Home
About
mikefrobbins.com
twitter github linkedin rss
  • PowerShell Tokenizer more Accurate than AST in Certain Scenarios

    calendar Feb 21, 2019 · AST PowerShell  ·
    Share on: twitter facebook linkedin copy

    As many of you know, I've been working on some module building tools. One of the things I needed was to retrieve a list of PowerShell modules that each function required (a list of dependencies). This seemed simple enough through PowerShell's AST (Abstract Syntax Tree) as shown in the following example. 1$File = …


    Read More
  • My Solution to Iron Scripter 2019 Preparatory Challenge 1

    calendar Feb 16, 2019 · PowerShell PowerShell Summit Scripting Games  ·
    Share on: twitter facebook linkedin copy

    Anyone who has competed in the scripting games before knows that I'm always looking for a challenge when it comes to writing PowerShell code. While the scripting games haven't been held in the last several years, they've somewhat been replaced by the Iron Scripter competition at the PowerShell + DevOps Global Summit …


    Read More
  • Unexpected Results when Comparing Different Datatypes in PowerShell

    calendar Feb 14, 2019 · PowerShell  ·
    Share on: twitter facebook linkedin copy

    Earlier this week, I saw a tweet from a fellow PowerShell community member who mentioned PowerShell was returning inaccurate results. The command shown in the tweet was similar to the one in the following example. 1Get-AppxPackage | 2Where-Object -Property IsFramework -eq 'False' | 3Select-Object -Property …


    Read More
  • What’s a PowerShell One-Liner & NOT a PowerShell One-Liner?

    calendar Feb 7, 2019 · PowerShell  ·
    Share on: twitter facebook linkedin copy

    Lately, I've seen a few examples of commands that aren't PowerShell one-liners being passed off as such by people in the PowerShell community who "should" know better. If I were interviewing someone who claimed to be a PowerShell expert with more than five years of experience, I would definitely ask these …


    Read More
  • Return a List of the Private Functions in a PowerShell Module

    calendar Jan 31, 2019 · PowerShell  ·
    Share on: twitter facebook linkedin copy

    In my quest to build a PowerShell module to convert a non-monolithic PowerShell module from development to a monolithic one for production, I wanted some way to validate that all of the functions were indeed migrated. While I'm pointing my tools to the public and private sub-folders within my development module and …


    Read More
  • Resolving Microsoft SQL Server Error 4064 with PowerShell

    calendar Jan 11, 2019 · PowerShell SQL Server  ·
    Share on: twitter facebook linkedin copy

    Recently, a fellow IT Pro contacted me and stated they were unable to login to one of their SQL Servers using Windows Authentication. The following error was generated when attempting to login to SQL Server Management Studio (SSMS). Their exact words were "I think we have a permissions problem". Clicking on …


    Read More
  • Use PowerShell to Install a DHCP Server on a Windows Server 2019 (Server Core) Active Directory Domain Controller

    calendar Dec 6, 2018 · Active Directory DHCP Server PowerShell Windows Server 2019  ·
    Share on: twitter facebook linkedin copy

    You need to have an Active Directory domain in place. I'm picking up where I left off in my previous blog article Use PowerShell to Create a New Active Directory Forest on Windows 2019 Server Core Installation (no-GUI). The procedure shown in this blog article is for demonstration purposes only. Install the DHCP server …


    Read More
  • Use PowerShell to Create a New Active Directory Forest on Windows 2019 Server Core Installation (no-GUI)

    calendar Nov 29, 2018 · Active Directory PowerShell Windows Server 2019  ·
    Share on: twitter facebook linkedin copy

    You have a fresh installation of Windows Server 2019 that was installed using the default installation type of server core installation (no-GUI). This server will be the first domain controller in a brand new Active Directory forest. You've completed the following configuration prior to attempting to turn this server …


    Read More
  • 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
    • ««
    • «
    • 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