azure-az104-flashcards

Various Topics

Files sharing

SMB protocol

Ensure port 445 is open: The SMB protocol requires TCP port 445 to be open; connections will fail if port 445 is blocked. :bangbang:

You can check if your firewall is blocking port 445 with the Test-NetConnection cmdlet. To learn about ways to work around a blocked 445 port, see the Cause 1: Port 445 is blocked section of our Windows troubleshooting guide.

UNC Path

Universal Naming Convention (UNC) In Windows operating systems, the UNC name format is:

 \\servername\sharename\path\filename

Example with storage account egch and a file share named demo:

 \\egch.file.core.windows.net\demo

## Move Resources to a different subcription

 $   Move-AzResource -DestinationSubscriptionId "<myDestinationSubscriptionID>" `
    -DestinationResourceGroupName "<myDestinationResourceGroup>" `
    -ResourceId <myResourceId,myResourceId,myResourceId>

Net use

Connects a computer to or disconnects a computer from a shared resource, or displays information about computer connections. The command also controls persistent net connections. Used without parameters, net use retrieves a list of network connections.

% net use e: \\financial\letters

Resource Groups

Azure resource groups are specific to Azure regions. But resources in a resource group often span multiple regions.

We can create a resource in a RG having a different region than the RG.