- 最新
- 投票最多
- 评论最多
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}
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?
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?
相关内容
- AWS 官方已更新 8 个月前
- AWS 官方已更新 1 年前
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?