Christopher Kibble's Technical Ramblings
  • Better PoSH: Using $PSDefaultParameterValues

    2019-07-15 PowerShell

    Today's quick PoSH tip comes from a conversation I had with Kevin Crouch (@PsychoData) and Brett Miller (@BrettMiller_IT), and I got to learn about the $PSDefaultParameterValues variable, which I'd never used before. Essentially, $PSDefaultParameterValue allows you to define ahead of your functions how certain …

    Read More
  • Detecting Skype Activity with PowerShell

    2019-07-11 PowerShell Skype

    I'm working on a project to get a number of drivers updated across an environment. One of the biggest problems is that if we update certain audio, video, or network drivers while the user is in a Skype call, the call will fail. Often in testing I found that reconnecting to the Skype call or presentation was difficult …

    Read More
  • Better PoSH: Avoid Using += for Arrays

    2019-07-08 PowerShell

    I've found myself hanging around some PowerShell chats lately, and I've been picking up on a lot of neat tricks to write better code. This one comes my way via Adam Cook from his blog post on his awesome new function Get-CMUnusedSources (seriously, if you're a ConfigMgr shop, check it out). Since PowerShell is one of …

    Read More
  • Calling sendmail from PowerShell on Linux

    2019-04-03 PowerShell

    I haven't blogged about it a lot, but I am trying to learn what I can about PowerShell on Linux. I feel like more and more services are headed to the cloud, and (even in Azure) will be able to run on Linux devices. Being able to write portable scripts to move between what I manage today, and what I may be asked to …

    Read More
  • Stop Using the Pipeline in PowerShell

    2018-05-22 PowerShell

    Last week I Fred Bainbridge and Ryan Ephgrave's MMSMOA session where they showed us that we shouldn't be using the pipeline anymore. Before beginning the session, I was as confused as you might be about why. The guys did a great job explaining it and I'm going to show you why in the same manner they showed me. Let's …

    Read More
  • Making Registry Changes for All Users with PowerShell

    2017-09-16 PowerShell

    I recently had to throw together a quick script to modify the registry of each current user on a set of given laptops, as well as any future users. While a GPO is normally the way to go for something like this, it wasn't an option for me here. This builds a little more on my May 2017 post where I just needed to get the …

    Read More
  • Modify Access Application Options in PoSH

    2017-06-21 PowerShell MSOffice

    I put together the following script to help a small group configure Microsoft Access during login in a kiosk environment. You're welcome to steal and modify as you see fit. For all the options you can possibly set, see this MSDN page (ignore the comment that it's for Visual Basic...) 1<# …

    Read More
  • Get List of User Profile Folders (PoSH)

    2017-05-02 PowerShell

    The following snippet of PowerShell will collect the list of profiles active on a system from the registry and populate an array. I remove any profile folder that does not exist, as well as any that are within the Windows folder (e.g. NetworkService, LocalSystem), but you can modify as you see fit if that doesn't meet …

    Read More
    • ««
    • «
    • 1
    • 2
    • »
    • »»

Chris Kibble

Technologist, PowerShell, Desktop Engineering, SQL.

Recent Posts

  • Finding or Recovering your WSL Data
  • Lenovo Vantage IMController Vulnerability - ConfigMgr Query
  • Lenovo Thunderbolt Firmware Version Detection
  • Import Teams Meeting Into Camtasia

Categories

CONFIGURATION-MANAGER 20 SYSTEMS-ADMINISTRATION 13 TROUBLESHOOTING 11 PKI 10 POWERSHELL 9 CONFERENCES 5 APPLICATION-PACKAGING 4 MSOFFICE 3 ACTIVE-DIRECTORY 2 DOMAINS-AND-HOSTING 2
All Categories
ACTIVE-DIRECTORY2 APPLICATION-PACKAGING4 CONFERENCES5 CONFIGURATION-MANAGER20 DOMAINS-AND-HOSTING2 EXCEL1 GEEKING-OUT1 GOOGLE1 GOOGLE-CHROME1 IPHONE1 JAVA1 MCAFEE-ENDPOINT-ENCRYPTION2 MICROSOFT-DOCS1 MSDOCS1 MSOFFICE3 NINITE1 PKI10 POWERPOINT1 POWERSHELL9 SYSTEMS-ADMINISTRATION13 TROUBLESHOOTING11 WINDOWS-101 YNAB2
[A~Z][0~9]

Series

STANDING-UP-A-CERTIFICATE-AUTHORITY 9 VIDEOS 5 STANDING-UP-A-GOOGLE-CERTIFICATE-AUTHORITY 2 SPEAKING-ENGAGEMENTS 1

Tags

CONFIGMGR 20 POWERSHELL 17 MSOFFICE 12 CA 9 PKI 9 SQL 9 EXCEL 7 MMS 7 GOOGLE 4 AUTOIT 3
All Tags
ACROBAT1 ANKER1 AUTOIT3 BATCH1 CA9 CAMTASIA1 CHROME3 CITRIX1 CONFIGMGR20 DOMAINS2 EDGE1 EXCEL7 FIRMWARE2 FLASH1 GITHUB2 GOOGLE4 IPHONE2 JAVA1 LENOVO2 MMS7 MOPHIE1 MSDOCS1 MSIEXEC1 MSOFFICE12 NAS1 NESSUS1 NINITE1 NOTEPAD++1 PKI9 POWERPOINT1 POWERSHELL17 SAFEBOOT2 SCCM1 SKYPE1 SONOS1 SQL9 SYNOLOGY1 TRAVEL1 VAMT1 VBA2 VISIO1 VMWARE1 WINDIRSTAT1 WINDOWS-103 WIZTREE1 WSL1 YNAB2
[A~Z][0~9]