mikefrobbins.com
open-menu closeme
Home
About
mikefrobbins.com
twitter github linkedin rss
  • Import a Hyper-V Virtual Machine with PowerShell

    calendar Jul 10, 2019 · Hyper-V PowerShell  ·
    Share on: twitter facebook linkedin copy

    I recently ran into a problem where an exported VM from Windows Server 2016 running Hyper-V wasn't able to be imported on Windows Server 2019 running Hyper-V. When attempting to perform the import, the GUI stated "No virtual machines files found" as shown in the following image. This problem may have been due …


    Read More
  • Determine the Generation of a Hyper-V VM with PowerShell

    calendar Jun 28, 2019 · Hyper-V PowerShell  ·
    Share on: twitter facebook linkedin copy

    Ever need to determine what generation all of the virtual machines are on your Hyper-V servers? This is simple using the Get-VM command that installs as part of the Hyper-V module for Windows PowerShell. 1Get-WindowsOptionalFeature -FeatureName hyperpowershell -Online While the previous command will work on both …


    Read More
  • Mitigating BlueKeep with PowerShell

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

    When it comes to security, most people normally approach it at one extreme or the other. Some people do nothing and don't worry about it. All I can say for those folks is good luck with that and I hope your resume is updated. Others go into full blown panic mode, especially those who don't take the time to understand …


    Read More
  • Find an Application that runs as a Service in your Environment with PowerShell

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

    I recently worked with a vendor to remove an old application that was no longer being used from a server in one of my customer's environments. While many applications may be left to die on the server long after they're needed, this particular one transmitted data to a partner company so it definitely needed to be …


    Read More
  • Video: Finding Performance Bottlenecks of Windows Based Systems with PowerShell

    calendar May 23, 2019 · PowerShell PowerShell Summit Video  ·
    Share on: twitter facebook linkedin copy

    Earlier this month, I presented a session on Finding Performance Bottlenecks with PowerShell at the PowerShell + DevOps Global Summit 2019 in Bellevue, Washington. The session seemed to be well received by the audience based on the feedback that I received from the attendees. The video from this presentation is now …


    Read More
  • Using the AST to Find Module Dependencies in PowerShell Functions and Scripts

    calendar May 17, 2019 · AST PowerShell  ·
    Share on: twitter facebook linkedin copy

    Earlier this week, Chris Gardner presented a session on Managing dependencies in PowerShell for the Mississippi PowerShell User Group. I mentioned that I had written a function to retrieve PowerShell module dependencies that's part of my ModuleBuildTools module. Get-MrAST is one of the primary functions that numerous …


    Read More
  • Sort PowerShell Results in both Ascending and Descending Order

    calendar May 9, 2019 · PowerShell  ·
    Share on: twitter facebook linkedin copy

    A few weeks ago I was trying to figure out how to sort something in PowerShell with one property sorted descending and another one ascending. How to accomplish this was hiding in plain sight in the help examples for Sort-Object, but I thought I would documented it here for future reference. Use the Property parameter …


    Read More
  • Use PowerShell to Identify the Process ID for SQL Server Services

    calendar Apr 25, 2019 · PowerShell SQL Server  ·
    Share on: twitter facebook linkedin copy

    I recently saw a blog article on How to Identify Process ID for SQL Server Services? – Interview Question of the Week #185 written by Pinal Dave. While his answer is simple with TSQL, what if you're not a SQL guy? You can also retrieve this information with PowerShell from Windows itself. When it comes to retrieving …


    Read More
  • Enable Tab Completion in VSCode for a PowerShell ISE like Experience

    calendar Apr 16, 2019 · PowerShell VSCode  ·
    Share on: twitter facebook linkedin copy

    I'm using VSCode for all of my PowerShell development at this point. I reloaded my system from scratch on March 13th of this year. Yesterday was the first time I've opened the PowerShell ISE since then and it was only to determine if something worked differently between the two (I tweeted this out yesterday). One of …


    Read More
  • Run SQL Server PowerShell Cmdlets as a Different User

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

    One of the ways I practice the principal of least privilege is by logging into my computer as a domain user who is also a standard local user. I typically run PowerShell as a domain user who is a local admin and elevate on a per command basis using a domain account with more access only when absolutely necessary. The …


    Read More
    • ««
    • «
    • 2
    • 3
    • 4
    • 5
    • 6
    • »
    • »»

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

  • What does sudo apt update on Linux do?
  • How to configure Azure PowerShell global settings with the *-AzConfig cmdlets
  • Opening specific panes in system settings from the command line on macOS
  • Determine disk usage from the command line on macOS
  • Splitting the PowerShell PSModulePath Cross-Platform
  • Sync VS Code Settings between Computers with Different User Profile Paths
  • Rendering Images in Markdown Preview of Hugo Site
  • Enable PowerShell remoting on ArcoLinux

Categories

POWERSHELL 335 ACTIVE-DIRECTORY 34 SCRIPTING-GAMES 32 SQL-SERVER 20 DESIRED-STATE-CONFIGURATION 18 AZURE 10 HYPER-V 10 LINUX 8 POWERSHELL-SUMMIT 8 VSCODE 8 IIS 6 OFFICE-365 6 PESTER 6 GIT 5 WINDOWS-10 5 ARCOLINUX 4 AST 4 OPERATIONAL-VALIDATION 4
All Categories
ACTIVE-DIRECTORY34 ALTARO-VM-BACKUP2 APPASSURE1 ARCOLINUX4 AST4 AWS1 AZURE10 AZURE-POWERSHELL2 CENTOS1 CROSS-PLATFORM1 DEBIAN1 DESIRED-STATE-CONFIGURATION18 DHCP-SERVER2 EXCHANGE-SERVER2 EXCHANGE-SERVER-20102 GIT5 GROUP-POLICY1 HARDWARE1 HUGO2 HYPER-V10 IIS6 LINUX8 MACOS3 MARKDOWN1 MICROSOFT-SQL-SERVER3 NANO-SERVER1 OFFICE-3656 OPERATIONAL-VALIDATION4 PACMAN1 PAMAC1 PARU1 PESTER6 PLASTER2 POWERSHELL335 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 VSCODE8 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 328 ACTIVE-DIRECTORY 32 SCRIPTING-GAMES 30 SQL-SERVER 21 DSC 19 DESIRED-STATE-CONFIGURATION 18 HYPER-V 11 VIDEO 11 AZURE 10 PESTER 10 AST 8 LINUX 8 POWERSHELL-VERSION-5 8 VSCODE 8 IIS 6 OFFICE-365 6 POWERSHELL-SCRIPT-MODULE-DESIGN 6 POWERSHELL-SUMMIT 6
All Tags
ACTIVE-DIRECTORY32 ALTARO-VM-BACKUP2 APPASSURE1 ARCOLINUX4 AST8 AWS1 AZ1 AZURE10 AZURE-POWERSHELL2 AZURERM1 CENTOS1 CROSS-PLATFORM1 DEBIAN1 DEDUPLICATION1 DESIRED-STATE-CONFIGURATION18 DHCP1 DHCP-SERVER2 DSC19 EQUALLOGIC1 EXCHANGE-20101 EXCHANGE-SERVER2 EXCHANGE-SERVER-20101 GIT5 GITHUB3 GROUP-POLICY1 HARDWARE1 HUGO2 HYPER-V11 IIS6 LINUX8 MACOS3 MARKDOWN1 NANO-SERVER1 NIMBLE1 OFFICE-3656 ONEGET5 OPERATION-VALIDATION-FRAMEWORK1 OPERATIONAL-VALIDATION4 PACMAN1 PAMAC1 PARU1 PESTER10 PLASTER2 POWERSHELL328 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 VSCODE8 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