This cmdlet returns the VBOAmazonS3Folder object that contains an array of Amazon S3 folders. You can get the array of the folders for the following types of Amazon object storage:
Amazon S3
S3 Compatible
Parameters
Parameter
Description
Type
Required
Position
Accept Pipeline Input
Accept Wildcard Characters
Bucket
Specifies an Amazon S3 bucket. The cmdlet will return an array of the folders added to this bucket.
Accepts the VBOAmazonS3Bucket object. To get this object, run the Get-VBOAmazonS3Bucket cmdlet.
True
Named
False
Name
Specifies a name of the Amazon S3 folder. The cmdlet will return the folder with this name.
String
False
Named
False
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBOAmazonS3Folder object that contains an array of Amazon S3 folders.
Run the Get-VBOAmazonS3Account cmdlet. Specify the ID parameter value. Save the result to the $account variable.
Run the New-VBOAmazonS3ServiceConnectionSettings cmdlet. Set the $account variable as the Account parameter value. Specify the RegionType parameter value. Save the result to the $connection variable.
Run the Get-VBOAmazonS3Bucket cmdlet. Set the $connection variable as the AmazonS3ConnectionSettings parameter value. Specify the Region parameter value. Save the result to the $bucket variable.
Run the Get-VBOAmazonS3Folder cmdlet. Set the $bucket variable as the Bucket parameter value. Specify the Name parameter value.
Example 2. Getting S3 Compatible Folders
This example shows how to get S3 Compatible folders.