You are not logged in.
Pages: 1
Offline
You don't really need @echo off in powershell as the defaults are pretty sensible, but if you need to, most commands support -OutVariable and -Verbose Common parameters
REM
Use #
%variable%
Use $
e.g.
PS C:\>$_myvar = "test123"
PS C:\>"$_myvar"
You also have the longer syntax of Set-Variable and Get-Variable, these give you access to additional object properties, for example you can assign a Description to the variable.
And yes powershell supports all the operators you could ask for, when I get time I will add some Syntax pages for this stuff.
Offline
Pages: 1