I guess I couldn't described my query properly here. Attempted all the way which i could see over the web before raising query here.
like you suggested, I have followed the steps to convert ppk file to pem file and used it, however it is not authenticated properly.
$session = New-SSHSession $esxi -KeyFile .\encrypted_openssh.pem -AcceptKey:$true -Credential root
New-SSHSession : Permission denied (publickey).
At line:1 char:12
+ $session = New-SSHSession $esxi -KeyFile .\encrypted_openssh.pem -Acc ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (Renci.SshNet.SshClient:SshClient) [New-SSHSession], SshAuthenticationException
+ FullyQualifiedErrorId : SSH.NewSshSession
Using Plink with same key authentication works fine
PS C:\> .\plink.exe -ssh root@esxi.int.corp -batch -i .\id_rsa.ppk "ls"
COVData.json
CSUTData.json
CSUTSettingsData.json
CSUTiLODetails.json
CSystemInventory.json
altbootbank
backup_cfg.dat
Also i just want to use key similar way authentication like using putty & plink.
would it be possible?