---
title: "AWS PowerShell With Wasabi"
slug: "how-do-i-use-aws-powershell-with-wasabi"
updated: 2026-05-28T15:54:36Z
published: 2026-05-28T15:54:36Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wasabi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AWS PowerShell With Wasabi

[AWS PowerShell](https://aws.amazon.com/powershell/) is a tool that can be used to manage S3 object storage environments with PowerShell scripting tools and has been validated for use with Wasabi. To use AWS PowerShell with Wasabi, install it on your Windows environment and follow the steps below. For installation steps, refer to [Installing the AWS Tools for PowerShell on Windows](https://docs.aws.amazon.com/powershell/latest/userguide/pstools-getting-set-up-windows.html). To download the tools, visit [AWS Tools for PowerShell](https://aws.amazon.com/powershell/). Once AWS PowerShell is installed, add a new profile to the AWS SDK store and run `Set-AWSCredential`. Your access key and secret key are stored in your default credentials file.

```plaintext
PS C:\> Set-AWSCredential -AccessKey AKIAIOSFODNN7EXAMPLE -SecretKey wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY -StoreAs MyProfileName
```

- `-AccessKey`: The access key.
- `-SecretKey`: The secret key.
- `-StoreAs`: The profile name, which must be unique.
- To specify the default profile, set the profile name to `default`.

For more information regarding setting, removing, and listing profiles, refer to [Using AWS Credentials](https://docs.aws.amazon.com/powershell/latest/userguide/specifying-your-aws-credentials.html).

## Creating a New Bucket

Run the following command to create a new bucket.

```plaintext
PS C:\> New-S3Bucket -BucketName "yourbucketnamehere" -EndpointUrl "https://s3.eu-central-1.wasabisys.com" -Region "eu-central-1"
```

- `-Region-&nbsp;`: This is an optional parameter.
- `-EndpointUrl-`: This is a required parameter.

## Listing Buckets

Run the following command to list all the buckets.

```plaintext
C:\> Get-S3Bucket  -EndpointUrl "https://s3.wasabisys.com"
```

Example output:

![](https://cdn.document360.io/bef0a1ea-7768-4d5a-b520-c4fe2f7fafad/Images/Documentation/pwjcau7tguwscuswmw7mgwmceclip0.png)

## Uploading an Object to Your Bucket

Run the following command to upload an object to your bucket.

```plaintext
PS C:\> Write-S3Object -BucketName "ps-rahul" -Key "image.png" -File "C:\Users\wasabi\Downloads\image.png" -EndpointUrl "http://s3.eu-central-1.wasabisys.com" -Region "eu-central-1"
```

- `-Region-&nbsp;`: This is an optional parameter.
- `-EndpointUrl-`: This is a required parameter.

![](https://cdn.document360.io/bef0a1ea-7768-4d5a-b520-c4fe2f7fafad/Images/Documentation/1wpc8qccauk597enrywpamceclip0.png)

For more cmdlets, refer to [AWS Tools for PowerShell Cmdlet Reference](https://docs.aws.amazon.com/powershell/latest/reference/).

**

The *-ProfileName* parameter was not used in the above cmdlets as the credentials used were set up in the default profile. If your default profile is associated with an S3 provider other than Wasabi, be sure that you are using the correct profile to access your storage at Wasabi.

The endpoints vary with the region of your bucket. For more information regarding service URLs, review [Service URLs for Wasabi's Storage Regions](https://docs.wasabi.com/docs/what-are-the-service-urls-for-wasabis-different-storage-regions).
