Search This Blog

Tuesday, January 31, 2023

a number of multi-tier applications that are not suitable to run by using Azure Container Instances. In order to determine whether they can be run as containerized workloads, you want to evaluate using Kubernetes as the container orchestrator. To further minimize management overhead, you want to test Azure Kubernetes Service

 a number of multi-tier applications that are not suitable to run by using Azure Container Instances. In order to determine whether they can be run as containerized workloads, you want to evaluate using Kubernetes as the container orchestrator. To further minimize management overhead, you want to test Azure Kubernetes Service

Register-AzResourceProvider -ProviderNamespace Microsoft.Insights

 Register-AzResourceProvider -ProviderNamespace Microsoft.Insights


Register-AzResourceProvider -ProviderNamespace Microsoft.AlertsManagement


Monday, January 30, 2023

癌症的治疗方法

 - src internet



$location = (Get-AzResourceGroup -Name az104-03b-rg1).Location

 $location = (Get-AzResourceGroup -Name az104-03b-rg1).Location


$rgName = 'az104-03c-rg1'


New-AzResourceGroup -Name $rgName -Location $location


Get-AzResourceGroup -Name $rgName



$diskConfig = New-AzDiskConfig `

 -Location $location `

 -CreateOption Empty `

 -DiskSizeGB 32 `

 -Sku Standard_LRS


$diskName = 'az104-03c-disk1'


New-AzDisk `

 -ResourceGroupName $rgName `

 -DiskName $diskName `

 -Disk $diskConfig


Get-AzDisk -ResourceGroupName $rgName -Name $diskName


New-AzDiskUpdateConfig -DiskSizeGB 64 | Update-AzDisk -ResourceGroupName $rgName -DiskName $diskName


Get-AzDisk -ResourceGroupName $rgName -Name $diskName


(Get-AzDisk -ResourceGroupName $rgName -Name $diskName).Sku


New-AzDiskUpdateConfig -Sku Premium_LRS | Update-AzDisk -ResourceGroupName $rgName -DiskName $diskName


(Get-AzDisk -ResourceGroupName $rgName -Name $diskName).Sku



LOCATION=$(az group show --name 'az104-03c-rg1' --query location --out tsv)


RGNAME='az104-03d-rg1'


az group create --name $RGNAME --location $LOCATION



az group show --name $RGNAME


DISKNAME='az104-03d-disk1'


az disk create \

--resource-group $RGNAME \

--name $DISKNAME \

--sku 'Standard_LRS' \

--size-gb 32


az disk show --resource-group $RGNAME --name $DISKNAME


az disk update --resource-group $RGNAME --name $DISKNAME --size-gb 64


az disk show --resource-group $RGNAME --name $DISKNAME --query diskSizeGb


az disk update --resource-group $RGNAME --name $DISKNAME --sku 'Premium_LRS'


az disk show --resource-group $RGNAME --name $DISKNAME --query sku


az group list --query "[?starts_with(name,'az104-03')].name" --output tsv


az group list --query "[?starts_with(name,'az104-03')].[name]" --output tsv | xargs -L1 bash -c 'az group delete --name $0 --no-wait --yes'



Sunday, January 29, 2023

New-AzResourceGroup -Name $rgName -Location $location

(Get-AzLocation).Location


 $location = '[Azure_region]'


 $location = 'westus'


 $rgName = 'az104-06-rg1'


 New-AzResourceGroup -Name $rgName -Location $location




New-AzResourceGroupDeployment `

   -ResourceGroupName $rgName `

   -TemplateFile $HOME/az104-06-vms-loop-template.json `

   -TemplateParameterFile $HOME/az104-06-vms-loop-parameters.json


$rgName = 'az104-06-rg1'

$location = (Get-AzResourceGroup -ResourceGroupName $rgName).location

$vmNames = (Get-AzVM -ResourceGroupName $rgName).Name


foreach ($vmName in $vmNames) {

  Set-AzVMExtension `

  -ResourceGroupName $rgName `

  -Location $location `

  -VMName $vmName `

  -Name 'networkWatcherAgent' `

  -Publisher 'Microsoft.Azure.NetworkWatcher' `

  -Type 'NetworkWatcherAgentWindows' `

  -TypeHandlerVersion '1.4'

}


/subscriptions/95bb138a-c6ee-4589-b624-83cafa8149df/resourceGroups/az104-06-rg1/providers/Microsoft.Network/virtualNetworks/az104-06-vnet2


/subscriptions/95bb138a-c6ee-4589-b624-83cafa8149df/resourceGroups/az104-06-rg1/providers/Microsoft.Network/virtualNetworks/az104-06-vnet3


Install-WindowsFeature RemoteAccess -IncludeManagementTools


Install-WindowsFeature -Name Routing -IncludeManagementTools -IncludeAllSubFeature


Install-WindowsFeature -Name "RSAT-RemoteAccess-Powershell"


Install-RemoteAccess -VpnType RoutingOnly


Get-NetAdapter | Set-NetIPInterface -Forwarding Enabled


Get-AzResourceGroup -Name 'az104-06*'


Get-AzResourceGroup -Name 'az104-06*' | Remove-AzResourceGroup -Force -AsJob






(Get-AzLocation).Location

 (Get-AzLocation).Location


centralus

southafricanorth

centralindia

eastasia

japaneast

koreacentral

canadacentral

francecentral

germanywestcentral

norwayeast

switzerlandnorth

uaenorth

brazilsouth

eastus2euap

qatarcentral

asia

asiapacific

australia

brazil

canada

europe

france

germany

global

india

japan

korea

norway

singapore

southafrica

switzerland

unitedstates

northcentralus

westus

centraluseuap

westcentralus

southafricawest

australiacentral

australiacentral2

australiasoutheast

japanwest

koreasouth

southindia

westindia

canadaeast

francesouth

germanynorth

norwaywest

switzerlandwest

ukwest

uaecentral

brazilsoutheast

PS /home/michael> 

PS /home/michael> 

PS /home/michael> 

PS /home/michael> 

PS /home/michael> (Get-AzLocation).Location

eastus

eastus2

southcentralus

westus2

westus3

australiaeast

southeastasia

northeurope

swedencentral

uksouth

westeurope

centralus

southafricanorth

centralindia

eastasia

japaneast

koreacentral

canadacentral

francecentral

germanywestcentral

norwayeast

switzerlandnorth

uaenorth

brazilsouth

eastus2euap

qatarcentral

asia

asiapacific

australia

brazil

canada

europe

france

germany

global

india

japan

korea

norway

singapore

southafrica

switzerland

unitedstates

northcentralus

westus

centraluseuap

westcentralus

southafricawest

australiacentral

australiacentral2

australiasoutheast

japanwest

koreasouth

southindia

westindia

canadaeast

francesouth

germanynorth

norwaywest

switzerlandwest

ukwest

uaecentral

brazilsoutheast

Saturday, January 28, 2023

Test-NetConnection -ComputerName 10.52.0.4 -Port 3389 -InformationLevel 'Detailed'

 Test-NetConnection -ComputerName 10.52.0.4 -Port 3389 -InformationLevel 'Detailed'

Test-NetConnection -ComputerName 10.51.0.4 -Port 3389 -InformationLevel 'Detailed'


In case you run into an issue with the Azure portal interface not displaying the virtual networks created in the previous task, you can configure peering by running the following PowerShell commands from Cloud Shell:

 $rgName = 'az104-05-rg1'


$vnet1 = Get-AzVirtualNetwork -Name 'az104-05-vnet1' -ResourceGroupName $rgname


$vnet2 = Get-AzVirtualNetwork -Name 'az104-05-vnet2' -ResourceGroupName $rgname


Add-AzVirtualNetworkPeering -Name 'az104-05-vnet1_to_az104-05-vnet2' -VirtualNetwork $vnet1 -RemoteVirtualNetworkId $vnet2.Id


Add-AzVirtualNetworkPeering -Name 'az104-05-vnet2_to_az104-05-vnet1' -VirtualNetwork $vnet2 -RemoteVirtualNetworkId $vnet1.Id


您可以使用音量键快捷方式来开启或关闭TalkBack。 在设备侧边找到两个音量键。 同时按住两个音量键并保持3 秒钟。 如需确认要开启或关闭TalkBack,请再次同时按住两个音量键并保持3 秒钟。

 您可以使用音量键快捷方式来开启或关闭TalkBack。 在设备侧边找到两个音量键。 同时按住两个音量键并保持3 秒钟。 如需确认要开启或关闭TalkBack,请再次同时按住两个音量键并保持3 秒钟。

Get-AzResourceGroup -Name 'az104-11*' ; Get-AzResourceGroup -Name 'az104-11*' | Remove-AzResourceGroup -Force -AsJob

 Get-AzResourceGroup -Name 'az104-11*'


Get-AzResourceGroup -Name 'az104-11*' | Remove-AzResourceGroup -Force -AsJob


azure link automation account with log analytics workspace

 https://stackoverflow.com/questions/60387435/how-to-connect-existing-automation-account-and-log-analytics-workspace-in-azure

click update mgmt


Tuesday, January 24, 2023

noun: albino; plural noun: albinos a person or animal having a congenital absence of pigment in the skin and hair (which are white) and the eyes (which are usually pink).

 noun: albino; plural noun: albinos

a person or animal having a congenital absence of pigment in the skin and hair (which are white) and the eyes (which are usually pink).

gyre 3rd person present:

 gyre 3rd person present: 

burrow ~ a hole or tunnel ruckus 骚动

 burrow ~ a hole or tunnel   ruckus 骚动

AZURE bits .... application gateway vs load balancer

 

here is the big picture

application gateway can target VMs in multi vnets, endpoints in other azure regions, even outside azure

load balancer only for vms in the some virtual network



Friday, January 20, 2023

setup ASUS RP-AX56 WIFI range extender ~~~ I see something like asus app setup not working for this model

 for manual setup

initial setup: find the wifi rp-xx , connect

browse to 192.168.50.1

then follow the on-screen steps


Saturday, January 14, 2023

How do I extend a trial period for Azure AD Premium 2

 

How do I extend a trial period for Azure AD Premium 2

you can probably get months of AD P 2

https://learn.microsoft.com/en-us/answers/questions/1060643/how-do-i-extend-a-trial-period-for-azure-ad-premiu?source=docs

activate AD P 2 for one month

then after 1 month, activate enterprise mobility for another trial month, which includes P 2



Friday, January 13, 2023

Thursday, January 12, 2023

Tuesday, January 10, 2023

wifi signal going through glass ?

 Materials such as drywall, plywood, other kinds of wood and glass can be easily penetrated by wireless signals. However, materials such as brick, plaster, cement, metal, stone, and double-glazed glass may cause problems. 

-src internet

https://community.ui.com/questions/why-wifi-can-not-go-through-regular-glass-of-house-window/2b0e2132-4551-4deb-8f82-b797e208df19

Standard single-pane plate (or safety) glass used in most old construction -- sure, should be fine.

Standard double- or triple-pane plate glass windows used in most modern construction (last 20 years or so) -- sure should be fine

 

If it's a "low-e" window, or has other modern coatings (e.g. the UV blockers, etc), then your chances of blasting through the window are pretty much zero.


Monday, January 9, 2023

电子配线架,英文为E-panel或者Patch Panel,是采用计算机技术及电子配线设备对布线中的接插软线进行实时管理的系统

 https://baike.baidu.com/item/%E7%94%B5%E5%AD%90%E9%85%8D%E7%BA%BF%E6%9E%B6/8155536

电子配线架,又称“综合布线管理系统”、 “智能布线管理系统”或者“实时智能管理系统“等,其基本功能是:

1.引导跳线,其中包括用LED灯引导的,显示屏文字引导以及声音和机柜顶灯引导等方式;

2.实时记录跳线操作,形成日志文档;

3.以数据库方式保存所有链路信息;

4.以Web方式远程登陆系统。

我们把具有以上功能的配线架统称为:电子配线架。

Thursday, January 5, 2023

arcserver bought storagecraft shadow protect spx? Arcserve and StorageCraft have signed a merger agreement

arcserver bought storagecraft shadow protect spx

Arcserve and StorageCraft have signed a merger agreement


Tuesday, January 3, 2023

How to Turn On or Off Birthday Calendar in Outlook.com

 https://www.youtube.com/watch?v=W2qlib_C-ls


login to hotmail website

go to gear icon

view all

calendar

turn off birthday reminder


草莓当然很脏,洗过以后也很脏

 草莓当然很脏,洗过以后也很脏

Sunday, January 1, 2023