Log inRegister

Command Prompt versus PowerShell

Attention: I'm mostly using PowerShell 7.x instead of Windows' built-in PowerShell 5.x.
  Command Prompt PowerShell
show system variables set dir env:
use an environment variable set pc=%computername%
echo %pc%
$pc = $env:computername
echo $pc
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
This page was cached on 21 Mar 2024 - 22:40.