Prosty serwer HTTP w Pythonie z przekierowaniem 308

Prosty serwer HTTP w Pythonie z przekierowaniem 308
W dzisiejszym wpisie pokażę wam jak uruchomić prosty web serwer, który będzie dostępny wewnątrz sieci i po wpisaniu jego adresu użytkownik zostanie przekierowany na adres zewnętrzny. Ja zrobiłem swój web serwer na Debianie i jest napisany w pythonie. Posłużyłem się frameworkiem Flask. Serwer będzie wykonywał przekierowanie na podany adres zewnętrzny. Na początek musimy zainstalować Python ( jeśli…

Raport UpTime – PowerShell

Raport UpTime – PowerShell
Idąc w ślad za wpisem Raport ze statusem ochrony Defender w PowerShell postanowiłem zrobić skrypt, który przygotuje listę serwerów na podstawie danych z AD tak jak w poprzednim przypadku oraz pozyska informację o aktualnym UpTime oraz ostatnim czasie uruchomienia. W pierwszym kroku musimy pobrać listę komputerów lub serwerów. Jeśli mamy to gdzieś w pliku to możemy tej…

Uptime report – PowerShell

Uptime report – PowerShell
Following the post about the Defender status report in PowerShell, I decided to create a script that will generate a list of servers based on Active Directory data, just like in the previous case, and gather information about the current UpTime and last boot time. In the first step, we need to retrieve a list of computers…

Status report of Defender – Powershell

Status report of Defender – Powershell
Today, I will present you with a script that will retrieve a list of servers from a specified OU in AD and display the status of individual protection options in Defender for them. In the first step, we need to fetch the list of computers or servers. If we have this list in a file, we can…

Raport ze statusem ochrony Defender – PowerShell

Raport ze statusem ochrony Defender – PowerShell
Dzisiaj zaprezentuję Wam skrypt, który pobierze z określonego OU w AD listę serwerów i wyświetli dla nich status poszczególnych opcji ochrony w Defenderze. W pierwszym kroku musimy pobrać listę komputerów lub serwerów. Jeśli mamy to gdzieś w pliku to możemy tej listy użyć. Ja jednak pobieram listę maszyn z AD. [crayon-69f4596bf3060059392197/] Zmienna $ComputerList będzie zawierała wszystkie hosty…

Exchange Online – report of mailboxes size – PowerShell

Having a large number of test mailboxes can benefit from a report that shows the size of all mailboxes. If you want to check an individual mailbox, you can do it with a single command. [crayon-69f4596bf34c9158945452/] The result of this command will be: What if we have many mailboxes? I've written a script that allows checking the…

Exchange Online – statystyki rozmiaru skrzynek

Mając dużo skrzynek testowych może przydać się raport, który pokaże rozmiar wszystkich skrzynek mailowych. Jeśli zależy nam na sprawdzeniu pojedynczej skrzynki to można to zrobić z pomocą jednej komendy [crayon-69f4596bf39a2151528932/] Wynikiem tego polecenia będzie A co jeśli mamy wiele skrzynek? Napisałem skrypt, który pozwoli na sprawdzenie rozmiarów wszystkich skrzynek i wyświetli je w raporcie. [crayon-69f4596bf39a9269172940/] Wynikiem tego…

Konfiguracja autologowania – PowerShell

Konfiguracja autologowania – PowerShell
Czasami mamy potrzebę skonfigurowania komputera czy komputera typu POS w trybie autologowania, tak aby użytkownik od razu po uruchomieniu komputera miał dostęp do aplikacji. Obecnie w Windows 10 jest możliwość uruchomienia urządzenia w trybie kiosk, jednak nie zawsze jest to wystarczające - szczególnie w firmach produkcyjnych. W prosty sposób, autologowanie można skonfigurować za pomocą aplikacji autologon z…

Autologon configuration – PowerShell

Autologon configuration – PowerShell
Sometimes we have the need to configure a computer or a POS-type computer in auto-login mode so that the user has immediate access to the application right after the computer starts. Currently, in Windows 10, there is a possibility to run a device in kiosk mode, but it's not always sufficient, especially in manufacturing companies. In a…

History of user activity on SharePoint

Not so much people know that SharePoint allows for file auditing, focusing on file operations restricted to specific types of actions and specific users. If you are a SharePoint service administrator, you can easily initiate such an audit. To start, access the Microsoft Purview administration panel and, after logging in, choose the Audit section on the left-hand…