Posts

Ping Monitor Batch File With Colour Changes

Image
A script to continuously monitor an IP address and give clear indications when up or down with timestamp, handy for trouble shooting a network/server issues. Copy and paste in Notepad and save as a batch file: @echo off SET OUT=0F color %OUT% mode 44,20 echo mode 44,20 echo off & cls Title = Ping monitor set /p IP=Enter your IP Address : :top set mytime=%time:~0,2%_%time:~3,2%_%time:~6,2% set mydate=%date% PING -n 1 %IP% | FIND "TTL=" >nul IF ERRORLEVEL 1 (SET OUT=4F & echo %mydate% : %time:~0,2%:%time:~3,2%:%time:~6,2%% : Down & Title Down %IP%) ELSE (SET OUT=2F & echo %mydate% : %time:~0,2%:%time:~3,2%:%time:~6,2%% : Up & Title Up %IP%) color %OUT% ping -n 2 -l 10 127.0.0.1 >nul GoTo top

ITIL V4 Foundations Study Notes

Service management - is defined as a set of specialised organization capabilities for enabling value to customers in the form of services. Value - the perceived benefits, usefulness and importance of something. Customers - define requirements for services and take responsibility for outcomes. Users - use services. Sponsors - authorize the budget for service consumption. Supplier - external partner who provides services to the organization. Organization - a group of people that has its own function, responsibilities and authority to achieve specific objectives. A service is a means of enabling Value co-creation by facilitating desired outcomes for customers without the customer having to manage specific costs and risks. Product - a configuration of resources, created by the organization that will be potentially valuable to customers. Service offering - a specific mix of services and products to a specific customer: goods - ownership is transferred to customer Access to resources - Owner...

AZ-104 - Microsoft Azure Administrator Study Notes

  Manage Azure identities and governance RBAC Roles Contributor Full access to manage Azure resources Cannot assign roles in Azure RBAC Owner Full access to manage Azure resources Can assign roles to other users in Azure RBAC Reader Can view resources but cannot make changes User Access Administrator Can manage user access to Azure resources There is a limit of 2000 custom roles per tenant devtest labs user role only lets you connect, start, restart and shutdown virtual machines in azure devtest labs. You can assign custom roles to users, groups, and service principals at management group, subscription, and resource group scopes. Custom roles can be shared between subscriptions that trust the same Microsoft Entra tenant. There is a limit of 5,000 custom roles per tenant. (For Microsoft Azure operated by 21Vianet, the limit is 2,000 custom roles.) Custom roles can be created using the Azure portal, Azure PowerShell, Azure CLI, or the REST API. Azure Policy Used to ensure Azure resou...