title: Unexpected token 'sha1' in expression or statement. For Generating keyhash for facebook developer account app
body: <p>I am trying to generate key hash for app in which I have integrate facebook sign in </p>
  
  <p>For generationg keyhash I am using code beloew as per facecook document </p>
  
  <pre><code>&gt; C:\Program Files\Java\jdk1.8.0_111\bin&gt; keytool -exportcert -alias androiddebugkey -keystore "C:\Users\Akash\.android \debug.keystore" |"C:\OpenSSL\bin\openssl" sha1 -binary | "C:\OpenSSL\bin\openssl" base64
  </code></pre>
  
  <p>but it shows me error like:</p>
  
  <pre><code>At line:1 char:97
  + ... ers\Akash\.android\debug.keystore" | "C:\OpenSSL\bin\openssl" sha1 -b ...
  +                                          ~~~~~~~~~~~~~~~~~~~~~~~~
  Expressions are only allowed as the first element of a pipeline.
  At line:1 char:122
  + ... kash\.android\debug.keystore" | "C:\OpenSSL\bin\openssl" sha1 -binary ...
  +                                                              ~~~~
  Unexpected token 'sha1' in expression or statement.
  At line:1 char:137
  + ... :\OpenSSL\bin\openssl" sha1 -binary | "C:\OpenSSL\bin\openssl" base64
  +                                           ~~~~~~~~~~~~~~~~~~~~~~~~
  Expressions are only allowed as the first element of a pipeline.
  At line:1 char:162
  + ... :\OpenSSL\bin\openssl" sha1 -binary | "C:\OpenSSL\bin\openssl" base64
  +                                                                    ~~~~~~
  Unexpected token 'base64' in expression or statement.
      + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
  </code></pre>