SDSimon Diehminsimondiehm.com·Aug 30, 2023 · 2 min readPowershell & retrieving all property values of an objectWhen 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...00
SDSimon Diehminsimondiehm.com·Aug 22, 2023 · 1 min readDarktrace API - Powershell exampleHere'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...00
SDSimon Diehminsimondiehm.com·Nov 30, 2022 · 5 min readReverse engineering file share shortcut processUpon 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...00
SDSimon Diehminsimondiehm.com·Nov 18, 2022 · 3 min readPalo Alto GlobalProtect VPN - add extra agent config to gatewayOverview 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...00
SDSimon Diehminsimondiehm.com·Nov 17, 2022 · 2 min readAutomate AzureAD Multifactor Authentication EnrollmentOverview 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...00