Replacement characters in PowerShell output

Started by Viktor

Viktor

Replacement characters in PowerShell output   16 July 2021, 14:10

Hi Support!

My Remote PowerShell command does not work. It outputs "Error: [aspc082]" followed by a row of replacement characters (diamonds with a question marks inside each one).
The command:
Get-Service AVP -ComputerName aspc82| Where-Object {$_.status -eq "running"}| Format-Wide -Property Status -Column 1
If it is executed in the command line, there are no errors.

Help me please
SoftPerfect Support forum - Ann avatar image
Ann

Re: Replacement characters in PowerShell output   16 July 2021, 14:23

It looks like you are getting an error message in non-Latin characters that aren't displayed properly. This was a bug in our Network Scanner which we have resolved in the latest build. Please try it. This time the error message should be readable and hopefully shed light on what's wrong.

Alternatively, if you simply want to know whether a service is running, you can use the Remote Services feature as shown below. It will connect directly to the Service Manager and query the status:

SoftPerfect support forum

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 **     **   *******   **     **  ********   **     ** 
  **   **   **     **   **   **   **     **   **   **  
   ** **    **           ** **    **     **    ** **   
    ***     ********      ***     ********      ***    
   ** **    **     **    ** **    **           ** **   
  **   **   **     **   **   **   **          **   **  
 **     **   *******   **     **  **         **     ** 

Message: