This requires Entra ID P1 licensing to work. The first method is manual and requires you to authenticate each time you want to download the logs. You can tweak the output as needed. If you want to run this as a scheduled task and therefore won’t be able to manually authenticate each time, then you […]
Category: Uncategorized
Navigating the Legal Landscape with AI – A Cautionary Tale
The legal profession stands on the cusp of a technological revolution, with artificial intelligence (AI) poised to transform the way lawyers work. From drafting contracts to conducting research, AI promises efficiency and speed. However, a recent study fromStanford’s Human-Centered AI Institute (HAI) raises significant concerns about the reliability of AI in legal settings1. The Hallucination […]
The Return to On-Premises Data Centres: Navigating the Shift from Public Cloud Services
In recent years, a significant trend has emerged in the digital infrastructure landscape. Organisations worldwide are re-evaluating their reliance on public cloud offerings, with many opting to migrate back to on-premises data centres. This move is influenced by a multitude of factors, including cost considerations, the need for greater control over data, and the complexities […]
Batch script to reset users home directory permissions
123@echo off for /d %%d in (*.*) do icacls %%d /setowner Domain\%%d /t for /d %%d in (*.*) do icacls %%d /reset /t
PowerShell Script to find LastLogonDate and PasswordLastSet information from Active Directory for list of computers in a text file
1234[Array]$OutList = foreach ($computer in Get-Content -Path C:\Temp\InputFile.txt) { Get-ADComputer -Identity $computer -Property LastLogonDate, PasswordLastSet -ErrorAction SilentlyContinue | select Name, LastLogonDate, PasswordLastSet } $OutList | Export-CSV C:\Temp\OutputFile.csv -NoTypeInformation