NoLogo -NoExit -NoProfile {1} -OutputFormat {Text | XML} -InputFormat {Text | XML} {1} {1} -Command { - {1} | {1} | -args ...

{0} [ [ [-NoLogo] [-NoExit] [-NoProfile]
{1}     [-OutputFormat {{Text | XML}}] [-InputFormat {{Text | XML}}]
{1}   ]
{1}   [-Command {{ -
{1}             |  [  ]
{1}             |  [ -args  ]
{1}             }}
{1}   ]
{1} ]
{1} [ -Help | -?]

-NoLogo
    Do not display the copyright banner on startup.
-NoExit
    Keep running after completing all startup commands.
-NoProfile
    Do not load a user profile.
-OutputFormat
    Format the output of all objects as either text strings (Text) or in a
    serialized CLIXML format (XML).
-InputFormat
    The input from stdin is formatted as either text strings (Text) or in a
    serialized CLIXML format (XML).
-Command
    {0} runs the commands specified and then exits, unless -NoExit is also
    specified. Do not specify other characters after the -Command switch,
    they will be read as command arguments.
      -
          Read input commands from the keyboard by using stdin.
       [  ]
          Specifies a string containing the PowerShell commands to be run. Use
          the format "{{}}". The quotation marks identify a string and
          the invocation operator (&) causes {0} to run the command.
       [ -args  ]
          Specifies a block of PowerShell commands to be run. Use the format
          {{}}.
-Help | -?
    Show the syntax summary help.