You can try to use the following PowerShell script
$account=Get-AzStorageAccount -ResourceGroupName "" -Name ""
$share=Get-AzStorageShare -Name "share2" -Context $account.Context
$share.ShareClient.GetRootDirectoryClient().GetFileClient("test.json").Exists()
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…