Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
how to assign a value to a variable in batch script using powershell
sapphiremoon
Programming language:
Shell/Bash
2021-06-30 01:38:44
0
Q:
how to assign a value to a variable in batch script using powershell
msulis
Code:
Shell/Bash
2021-03-11 08:07:20
@echo OFF for /f %%a in ('powershell -file script.ps1') do set "pass=%%~a" echo %pass%
1
Tags
using
value
variable
batch
how
sign
script
var
Related
declare dataset in powershell
bash how to pass shell variables to awk
parameter powershell
assign default value in shell script
refresh env variable windows powershell
powershell convert to exe
powershell set environment variable
how to login to another user in powershell
how to get environment variables in powershell
turn on component via powershell
powershell command line variables
add pc to domin and change name with powershell
powershell parameter
powershell print environment variables
Powershell script to add app to VNET integration
windows print environment variable powershell
New to Communities?
Join the community