The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,533 other followers

Archive for the ‘Console (command prompt window)’ Category

Ensure DeployIT can execute commands on your Windows machine

Posted by jpluimers on 2016/02/08

DeployIT (now XL-Deploy) uses a Remote Plugin to connect to other systems. When conncting to Windows systems, it requires WinRM to be configured on the target.

You can either run winrm qc or winrm quickconfig (they are equivalent), then answer y to the question.

C:\temp>winrm quickconfig
WinRM already is set up to receive requests on this machine.
WinRM is not set up to allow remote access to this machine for management.
The following changes must be made:

Create a WinRM listener on HTTP://* to accept WS-Man requests to any IP on this
machine.

Make these changes [y/n]? y

WinRM has been updated for remote management.

Created a WinRM listener on HTTP://* to accept WS-Man requests to any IP on this
 machine.

More detailed instructions are in the overthere/README.md.

–jeroen

via:

Posted in Console (command prompt window), Power User, Windows | 2 Comments »

paping – Cross-platform TCP port testing, emulating the functionality of ping (port ping) – Google Project Hosting

Posted by jpluimers on 2015/12/22

Hopefully someone will move this to Github before Google code goes down: paping – Cross-platform TCP port testing, emulating the functionality of ping (port ping) – Google Project Hosting.

Paping (pronounced pah ping) is a computer network administration utility used to test the reachability of a host on an Internet Protocol (TCP/IP) network and to measure the time it takes to connect to a specified port

–jeroen

via:

Posted in *nix, *nix-tools, Communications Development, Console (command prompt window), Development, Internet protocol suite, Power User, TCP, Windows | 1 Comment »

windows – Find out whether an environment variable contains a substring – Stack Overflow

Posted by jpluimers on 2015/09/25

Very smart case insensitive way answered by jeb:

if NOT "%foo%"=="%foo:bar=%" echo FOUND

–jeroen

via windows – Find out whether an environment variable contains a substring – Stack Overflow.

Posted in Batch-Files, Console (command prompt window), Development, Power User, Scripting, Software Development, Windows | Leave a Comment »

A few links on modifying Windows console (cmd.exe) appearance and behaviour (registry settings, commands, etc)

Posted by jpluimers on 2015/09/14

For my own link archive:

Modify cmd.exe properties using the command prompt – Stack Overflow.

On:

  • mode con: cols=XX lines=YY
  • HKLM and HKCU keys Software\Microsoft\Command Processor\CompletionChar with values like CompletionChar and PathCompletionChar

windows – How to change Screen buffer size in DOS Command Prompt from batch script – Stack Overflow.

On setting the cmd.exe parameters through the registry

  • values like ScreenBufferSize and WindowSize
  • setting the values from the .NET Console class with properties like WindowWidth, BufferWidth and BufferHeight

Microsoft Windows XP – Configure the command prompt.

On setting it through the properties for your console prompt.

For Batch – Where is CMD.EXE options stored?.

On setting the registry values for various console window titles.

–jeroen

Posted in Console (command prompt window), Power User, Windows | Leave a Comment »

 
%d bloggers like this: