Scripting - Get-ADUser - How to retrieve User last logon date

There is an easy and quick way to get .TXT file with all AD Usernames and relatives last logon dates.

  1. You must execute Powershell module with Administrative rights.
  2. Import-Module activedirectory
  3. Get-Help Get-ADComputer
  4. Get-ADUser -filter * -Properties * | Select-Object SamAccountName, Company, @{Name="Manager";Expression={(Get-ADUser $_.Manager).sAMAccountName}}, enabled, LastLogonDate , AccountExpirationDate, displayname, GivenName, surname, custJDEEmployeeID | Export-csv C:\temp\ADUsers.csv

here it is an alternative article related to AD computers

SCRIPTING - HOW TO CHECK SERVER UPTIME WITH SINGLE COMMAND #part 2

In previous article I mentioned a way to check remote client/server uptime.

https://www.alessandromazzanti.com/2022/03/scripting-how-to-check-server-uptime.html

An alternative way is to execute these powershell commands:

$serverName = "NomeDelServer"

$uptime = (Get-WmiObject -Class Win32_OperatingSystem -ComputerName $serverName).ConvertToDateTime((Get-WmiObject -Class Win32_OperatingSystem -ComputerName $serverName).LastBootUpTime)

$uptime

Monitor #PRTG how to migrate server

I already published several blog articles related to PRTG product.

https://www.alessandromazzanti.com/search?q=prtg

During these days we managed PRTG server migration.

This is step by step article that we followed succesfully.

https://kb.paessler.com/en/topic/88205-how-can-i-move-or-migrate-a-prtg-installation-to-a-different-system-or-server




Security #30-day notice: Manage PAC Validation related to CVE-2024-26248 & CVE-2024-29056

The Windows security updates released on or after April 9, 2024 address elevation of privilege vulnerabilities with the Kerberos PAC Validation Protocol.


https://support.microsoft.com/en-us/topic/how-to-manage-pac-validation-changes-related-to-cve-2024-26248-and-cve-2024-29056-6e661d4f-799a-4217-b948-be0a1943fef1

Take Action

IMPORTANT Step 1 to install the update released on or after April 9, 2024 will NOT fully address the security issues in CVE-2024-26248 and CVE-2024-29056 by default. To fully mitigate the security issue for all devices, you must move to Enforced mode (described in Step 3) once your environment is fully updated.

To help protect your environment and prevent outages, we recommend the following steps:

  1. UPDATE: Windows domain controllers and Windows clients must be updated with a Windows security update released on or after April 9, 2024.

  2. MONITOR: Audit events will be visible in Compatibility mode to identify devices not updated.

  3. ENABLE: After Enforcement mode is fully enabled in your environment, the vulnerabilities described in CVE-2024-26248 and CVE-2024-29056 will be mitigated.
    (Install the April 2025 Windows update on all Windows domain controllers and Windows clients, once it becomes available later this year. Enforcement mode will be fully enabled in your environment. This will properly mitigate the vulnerabilities described in CVE-2024-26248 and CVE-2024-29056.)

Here it is another important article:

[update 2025.04.10]

Today I would like to highlight that if you installed January 2025 patch Enforced mode will be enabled by default.
The default Enforced mode settings can be overrided by an Administrator to revert to Compatibility mode changing propter registry key on all Domain Controllers (till, April 2025)



Teams #VDI version 24295.x.x.x or older deadline May 6th, 2025

Summary

Keep Microsoft Teams desktop clients (version 24295.x.x.x or older) updated to avoid warning banners starting March 2025 and blocking pages from May 6th, 2025. Ensure automatic updates or frequent updates to the golden image to stay current. Check the Teams Admin Center for client usage reports.

Here it is original article

https://admin.microsoft.com/AdminPortal/home?ref=MessageCenter/:/messages/MC1038442

Mobile - F-Gas Tool

English Version:

Today I would like to share an interesting and precious app related F-Gas tool 

F-Gas Tool is an innovative tool for calculating tons of CO2 equivalent with over 150 types of refrigerant gases available.

In addition, you also have the Gas Manager section that transforms your smartphone into a refrigerant gas management tool.

Access data entered from multiple devices, Android and iOS.

Data management through the Cloud ensures that new entries are updated on all connected devices, in an instant.

The app also supports data entry in offline mode, and will automatically update data with the Cloud as soon as there is an available connection, and after starting the app.

Android 

Iphone/Ipad (Open the Mac App Store to buy and download apps.)

<=================>

Italian Version:

Oggi vorrei mettere in evidenza, nel blog, quest'utilissima app di chi e' mestiere

F-Gas Tool e uno strumento di calcolo innovativo delle tonnellate di CO2 equivalente con oltre 150 tipi di gas refrigeranti a disposizione.

In più hai a disposizione anche la sezione Gas Manager che trasforma il tuo smart phone in uno strumento di gestione dei gas refrigeranti.

Accedi ai dati inseriti da dispositivi multipli, Android e iOS.

La gestione dati attraverso il Cloud fa si che i nuovi inserimenti siano aggiornati su tutti i dispositivi collegati, in un attimo.

L’app supporta anche l’inserimento dei dati in modalità offline, e aggiornerà in automatico i dati con il Cloud non appena ci sarà una connessione disponibile, e dopo aver avviato l’app.

Android 

Iphone/Ipad (Open the Mac App Store to buy and download apps.)

<=============>

Here direct link Linkedin app developer

https://www.linkedin.com/feed/update/urn:li:activity:6903951186672594944/

VIDEO DEMO F-Gas tool

F-Gas Calculator

English

https://lnkd.in/dwhMf-S

French 

https://lnkd.in/d754RSM

Polski

https://lnkd.in/ddkMP8C

Deutsch

https://lnkd.in/dubM35D

Italiano

https://lnkd.in/dqPavYK

Español

https://lnkd.in/dzrus5k

Português

https://lnkd.in/d9YGGH6

Gas Manager

Italiano

https://lnkd.in/dYFbPxR


#hvac hashtag#refrigeration hashtag#airconditioning hashtag#cooling hashtag#rac hashtag#hvacr hashtag#fgas hashtag#gwp hashtag#ios hashtag#android hashtag#fluorinatedgreenhousegases hashtag#service hashtag#gas hashtag#storage hashtag#energy