python - Powershell windows server 2012 .Path Error installing Hortonworks Data Platform (HDP) -


i'm trying install hadoop windows (hortonworks data platform 2.0), in windows server 2012 enviroment, , creating next powershell command

$currentpath = (get-itemproperty -path $key -name) .path + ';' 

i error

at line:1 char:52 +$currentpath = (get-itemproperty -path $key -name) .path + ';' + unexpected toke '.path' in expression or statement    + categoryinfo          : parsererror:(:) [], parentcontainserrorrecordexception    + fullyqualifiederrorid : unexpectedtoken 

what doing wrong, keep in mind i'm going oficial documentation horton works

http://docs.hortonworks.com/hdpdocuments/hdp2/hdp-2.1-win-latest/bk_installing_hdp_for_windows/content/win-softwareinstall-ps.html#win-cli-python

let's see,

to start, have space here ) .path

secondly path not appear valid property returned cmdlet once correct errant space still not work

thirdly, specifying parameter -name without providing value


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -