Get-SCSSHKey

VMM 라이브러리에서 Linux 관리자 SSHKey 개체를 가져옵니다.

Syntax

Get-SCSSHKey
   [-VMMServer <ServerConnection>]
   [-All]
   [<CommonParameters>]
Get-SCSSHKey
   [-VMMServer <ServerConnection>]
   -Name <String>
   [<CommonParameters>]
Get-SCSSHKey
   [-VMMServer <ServerConnection>]
   [-Release <String>]
   -FamilyName <String>
   [<CommonParameters>]
Get-SCSSHKey
   [-VMMServer <ServerConnection>]
   [-ID <Guid>]
   [<CommonParameters>]

Description

Get-SCSSHKey cmdlet은 VMM(Virtual Machine Manager) 라이브러리에서 Linux 관리자 SSHKey 개체를 가져옵니다.

예제

예제 1: VMM 라이브러리에서 모든 SSHKey 개체 가져오기

PS C:\> $SSHKey = Get-SCSSHKey -All

이 명령은 VMM 라이브러리의 모든 SSHKey 개체를 가져오고 각 개체에 대한 정보를 사용자에게 표시합니다.

예제 2: 이름으로 SSHKey 가져오기

PS C:\> $SSHKey = Get-SCSSHKey -Name "My.sshkey"
PS C:\> $SSHKey

첫 번째 명령은 My.sshkey라는 SSHKey 개체를 가져오고 해당 개체를 $SSHKey 변수에 저장합니다.

두 번째 명령은 $SSHKey 저장된 SSHKey 개체에 대한 정보를 표시합니다.

예제 3: 속성을 공유하는 모든 SSHKey 개체 가져오기

PS C:\> Get-SCSSHKey -FamilyName "Family01"

이 명령은 FamilyName 값이 Family01인 VMM 라이브러리에서 모든 SSHKey 개체를 가져오고 각 SSHKey에 대한 정보를 표시합니다.

매개 변수

-All

이 cmdlet은 부모 개체와 독립적으로 모든 하위 개체를 가져옵니다. 예를 들어 이 명령은 Get-SCVirtualDiskDrive -All 각 가상 디스크 드라이브 개체가 연결된 가상 머신 개체 또는 템플릿 개체에 관계없이 모든 가상 디스크 드라이브 개체를 가져옵니다.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-FamilyName

VMM 라이브러리의 물리적 리소스에 대한 패밀리 이름을 지정합니다.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ID

이 cmdlet이 가져오는 SSHKey 의 고유 ID를 지정합니다.

Type:Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

이 cmdlet이 가져오는 SSHKey 개체의 이름을 지정합니다.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Release

라이브러리 리소스의 릴리스를 설명하는 문자열을 지정합니다. VMM은 라이브러리로 가져온 모든 리소스에 대한 릴리스 값을 자동으로 만듭니다. 리소스를 가져온 후 문자열을 사용자 지정할 수 있습니다.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VMMServer

VMM 서버 개체를 지정합니다.

Type:ServerConnection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

출력

LinuxAdministratorSshKey

이 cmdlet은 LinuxAdministratorSshKey 개체를 반환합니다.