Using PowerShell to Clean Up Sophos Temp Files

using-powershell-to-clean-up-sophos-temp-files

Recently I’ve encountered a strange issue that affected one Windows workstation with Sophos AV (Endpoint) software installed.  Sometimes this software creates some temporary files with ‘$$$’ extension and apparently it never removes them.

I thought that the process of analysis and implementing a solution for this edge case was perfect for an article and it is applicable to many similar situations when scripting is required to collect information or mitigate.

Continue reading “Using PowerShell to Clean Up Sophos Temp Files”

Workaround ADFS errors when using certificates with CNG Keys

workaround-adfs-errors-when-using-certificates-with-cng-keys

I can describe ADFS (Active Directory Federation Services) as the de-facto standard service to extend Active Directory as an Identity provider to inside or outside the organisation in order to achieve the Single-Sign-On (SSO) experience and Security that modern systems/users needs and expects.

The first version of ADFS was an additional download of Windows 2003 R2, but started to get popular and used as a service in Windows Server 2008/2008 R2.

Microsoft Azure AD Connect with Azure AD or products offered by Okta or  Auth0 (just to name a few) started to make of ADFS federation redundant in the past 3-4 years, but a lot of functionalities have been added in the last version of ADFS with Windows  Server 2019 which made it still relevant.

In my humble opinion, ADFS is not dead yet! Continue reading “Workaround ADFS errors when using certificates with CNG Keys”

Base64 Encoding with Powershell and .NET Framework

Base64 Encoding with Powershell and .NET Framework

Today I’ve answered a question in one of my blog articles on SendGrid API and PowerShell on how to add attachments to an email when using the API.
The official documentation is pretty clear if you want to pass a text or binary file as an attachment the SendGrid API is requiring a couple of strings: filename and content in base64,  but in case anybody finds a roadblock here this article it may help you. Continue reading “Base64 Encoding with Powershell and .NET Framework”

Working Remotely – Different solutions for Small Businesses with Powershell and SSH Tunnels

The first quarter of 2020 changed our personal and professional life in a lot of ways. I’ve read a lot of articles around the trends of adoption of cloud services and all software that should facilitate the challenge of enabling in every country the same practices and processes of working remotely.

During the last couple of months, I’ve received from small-medium businesses owners and IT professionals the same question how to transition smoothly and quickly.  Working in the operations field for mid-large organisations it required me to step back from the most obvious and structured approaches and be more flexible and down-to-earth.

Continue reading “Working Remotely – Different solutions for Small Businesses with Powershell and SSH Tunnels”