powershell : i cant open remote session without specify the FQDN anymore -
some days ago, able create remote session using short name of remote server/workstation.
this doesnt work anymore error :
+ categoryinfo : invalidargument : (computername1:string) [enter-pssession], psremotingtransportexcepti + fullyqualifiederrorid : createremoterunspacefailed
but when use complete domain name working : nsn computername1.domain.com
dns resolution correct, else can check troubleshoot problem ?
i've finaly found ! :)
i had modify default pssession option , set proxy 'noproxyserver' instead of default value 'none'
so added line in profile :
$pssessionoption = new-pssessionoption -proxyaccesstype noproxyserver
from technet :
none proxy access type not specified. means proxy information, such access type, authentication mechanism, , credential, not passed web services management (wsman) protocol service. field introduced in windows powershell 2.0.
noproxyserver no proxy server used when configuring proxy settings. mechanism resolves host names locally. field introduced in windows powershell 2.0.
Comments
Post a Comment