DRIVE EFFICIENCY THROUGH AUTOMATED IT.
SAVE COST THROUGH CONSOLIDATION OF IT.
WANT TO KNOW MORE ABOUT STRATEGIC CONSULTING CLICK HERE.
MICROSOFT / RISUAL HYPER-V CLOUD EVENT 22ND MARCH 2011 CLICKHERE.
Home > Uncategorized > “Command line error.” when using the STSADM command-line tool

“Command line error.” when using the STSADM command-line tool

When using the SharePoint command-line tool STSADM, you may receive “Command line error.” even though the syntax is correct:

image

Solution

Manually type out the command rather than copying/pasting from another application such as Internet Explorer. This is caused by the encoding method, particularly any hyphens in the command. Hyphens and dashes vary between ANSI and UTF-8 encoding.

Categories: Uncategorized Tags: ,
  1. No comments yet.
  1. No trackbacks yet.