I'm trying to simply get some data into a variable (this s just an example of my issue, much bigger script in the works),
$var=get-physicaldisk
This works if I type it out in powershell, but if I try to script is with ps1 the variables never get filled. one method Ive used for other variables because of this was the set-variable, but this cant seem to be used in conjunction with a get command.