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
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
Post a Comment