Quantcast
Channel: PowerShell General
Viewing all articles
Browse latest Browse all 10624

passing the path as a variable in powershell script

$
0
0

i want to pass the path as a variable to my script

the error is 

cannot find path path does not exist

my code

$a=read-host

$b=read-host

copy-item $a $b


Viewing all articles
Browse latest Browse all 10624

Trending Articles