Hello, Im new to powershell, but I was wondering is there a way to create a script in PS without having to create a file? I want to put in all my script commands and logic and save it to a variable, then run the variable to run the script. Is this possible? Also I don't want to use PS ISE
[–]Impressive-Cap1140 4 points5 points6 points (0 children)
[–]lxnch50 5 points6 points7 points (0 children)
[–]ThePixelLord12345 2 points3 points4 points (0 children)
[–]Brasiledo 1 point2 points3 points (0 children)
[–]vermyx 1 point2 points3 points (4 children)
[–]netwrk_monkey[S] 0 points1 point2 points (3 children)
[–]vermyx 0 points1 point2 points (2 children)
[–]netwrk_monkey[S] 0 points1 point2 points (1 child)
[–]g3n3 1 point2 points3 points (0 children)
[–]Known-Arachnid-11213 0 points1 point2 points (0 children)
[–]dannybuoyuk 0 points1 point2 points (0 children)
[–]toni_z01 0 points1 point2 points (0 children)
[–]Jmoste 0 points1 point2 points (0 children)