---
title: "Simon Diehm (@simondiehm) | Hashnode"
description: "Simon Diehm (@simondiehm) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@simondiehm"
---

@simondiehm

# Simon Diehm

@simondiehm · Joined November 2022

### [Powershell & retrieving all property values of an object](https://simondiehm.com/powershell-retrieving-all-property-values-of-an-object?utm_source=hashnode&utm_medium=feed)

When using Powershell Get- cmdlets, properties of objects with multiple values can be cut off from the display when there are more than 4 values, shown by the presence of an ellipsis "...". For example: PS > Get-Process chrome | Select-Object -Proper...

2 min read · [simondiehm.com](https://simondiehm.com/powershell-retrieving-all-property-values-of-an-object?utm_source=hashnode&utm_medium=feed)

[Aug 30, 2023](https://hashnode.com/posts/powershell-retrieving-all-property-values-of-an-object/64eee390304113ed8f9b7a7e)

### [Darktrace API - Powershell example](https://simondiehm.com/darktrace-api-powershell-example?utm_source=hashnode&utm_medium=feed)

Here's an example code snippet to make an API call to Darktrace using Powershell. Find the instances of 'changeme' and change to the correct value. $Time = (Get-Date).ToUniversalTime().ToString("yyyy-MM-dd HH:mm:ss") $PrivateToken = "changeme" $Publi...

1 min read · [simondiehm.com](https://simondiehm.com/darktrace-api-powershell-example?utm_source=hashnode&utm_medium=feed)

[Aug 22, 2023](https://hashnode.com/posts/darktrace-api-powershell-example/64e434404088e28a1e17b5ff)

### [Reverse engineering file share shortcut process](https://simondiehm.com/reverse-engineering-file-share-shortcut-process?utm_source=hashnode&utm_medium=feed)

Upon starting a new role in a new team at a new company, one of the IT processes that was not fully understood by existing staff was how desktop shortcuts to file shares were created on user's desktops. Here is a rundown of my process to "reverse eng...

5 min read · [simondiehm.com](https://simondiehm.com/reverse-engineering-file-share-shortcut-process?utm_source=hashnode&utm_medium=feed)

[Nov 30, 2022](https://hashnode.com/posts/reverse-engineering-file-share-shortcut-process/6386cf428ff2cee237b0798f)

### [Palo Alto GlobalProtect VPN - add extra agent config to gateway](https://simondiehm.com/palo-alto-globalprotect-vpn-add-extra-agent-config-to-gateway?utm_source=hashnode&utm_medium=feed)

Overview This article details how to add additional GlobalProtect agent configurations to a GlobalProtect gateway. Thanks to Ahmad Bilal for his guidance on writing this article. Example Scenario You have a Palo Alto firewall and GlobalProtect VPN Y...

3 min read · [simondiehm.com](https://simondiehm.com/palo-alto-globalprotect-vpn-add-extra-agent-config-to-gateway?utm_source=hashnode&utm_medium=feed)

[Nov 18, 2022](https://hashnode.com/posts/palo-alto-globalprotect-vpn-add-extra-agent-config-to-gateway/63770c5bc3b4a65996613794)

### [Automate AzureAD Multifactor Authentication Enrollment](https://simondiehm.com/automate-azuread-multifactor-authentication-enrollment?utm_source=hashnode&utm_medium=feed)

Overview This article covers how to automatically enroll users in your Azure AD environment with multi-factor authentication (MFA). This is achieved using Powershell and the Microsoft Graph API. The example will use SMS-based MFA. You can also use th...

2 min read · [simondiehm.com](https://simondiehm.com/automate-azuread-multifactor-authentication-enrollment?utm_source=hashnode&utm_medium=feed)

[Nov 17, 2022](https://hashnode.com/posts/automate-azuread-multifactor-authentication-enrollment/6375c7c937440868f54b1535)
