I am trying to import posh-ssh moudle to upload files to sftp server. I cannot install module in my windows server 2012 R2. Hence i used save-module in my local system and tried to import the module in the server. It imports few cmdlets but does not import the rest which i require to upload files to sftp.
Missing cmdlets Get-SFTPFile Set-SFTPFile New-SFTPSession
I was trying to import the module by importing .psm1 file which did not include all the cmdlets . When i imported using .psd1 file , it include all the cmdlets from the module.