Test path for a blob file
i able read blob file using following command:
$p=get-azurestorageblob-container$containername-blob$blobname
but want know whether blob file present or not.
something like: test-path c:\scripts\archive
hello chirag54,
thanks post. according issue, maybe try wrap call get-azurestorageblob in try/catch , catch resourcenotfoundexception determine blob doesn't exist.
besides, issue more related azure, in order problem fixed asap, suggest post issue on azure script forum:
hope helps.
best regards,
please remember mark replies answers if , unmark them if provide no help. if have feedback technet subscriber support, contact tnmff@microsoft.com.
Windows Server > Windows PowerShell
Comments
Post a Comment