Where to download the Amazon FSx CLI for remote management on PowerShell

0

I see numerous references to an FSX CLI but I cannot find any links or information on where to download the Powershell module. I find a module on the Powershell Gallery website (AWS.Tools.FSx) related to FSx but that is part of the "AWS Tools for PowerShell" and that does not have the share management commands such as New-FSxSMBShare. Can someone please point me in the right direction to download the Amazon FSx CLI for remote management on PowerShell?

질문됨 2년 전868회 조회
2개 답변
1

Link- https://docs.aws.amazon.com/fsx/latest/WindowsGuide/remote-pwrshell.html#using-rps

To start a remote PowerShell session on your file system

Connect to a compute instance that has network connectivity with your file system as a user that is a member of the delegated FSx Administrators Group that you chose when provisioning the file system.

Open a Windows PowerShell window on the compute instance.

Use the following command to open the remote session on your Amazon FSx file system. Replace FSxFileSystem-Remote-PowerShell-Endpoint with the Windows Remote PowerShell endpoint of file system that you want to administer.

PS C:\Users\delegateadmin> enter-pssession -ComputerName FSxFileSystem-Remote-PowerShell-Endpoint -ConfigurationName FsxRemoteAdmin [fs-0123456789abcdef0]: PS> If your instance is not part of the Amazon FSx AD domain, you are prompted to enter user credentials in a pop-up. If your instance is joined to the domain, you will not be asked for credentials.

You can also run Amazon FSx CLI for remote management CLI on PowerShell commands on your file system using the Invoke-Command cmdlet, described following.

The following example illustrates the syntax required when using the Invoke-Command cmdlet to run PowerShell commands on an FSx for Windows File Server file system.

PS C:\Users\delegateadmin> Invoke-Command -ComputerName amznfsxzzzzzzzz.corp.example.com -ConfigurationName FSxRemoteAdmin -scriptblock { fsx-command}

profile pictureAWS
지원 엔지니어
답변함 2년 전
  • Ok. Thanks. I'm assuming based on this response that there is no way (or need) to download and install the PowerShell module on my PC? It sounds like the only way to use it is to run Invoke-Command to connect to the FSX file system and then it runs the FSX-* commands from there?

0

The link is here: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/remote-pwrshell.html

Can you share where you were looking in the documentation, so we can add a pointer/link in that place?

AWS
답변함 2년 전
  • I must be really blind today. That is the documentation I've been looking at and I cannot find any link on that page that downloads the PowerShell module. Can you please provide a direct link to the download?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠