Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-2 votes
2 answers
1k views

Why does this New-Item command work within powershell but not within a ps1 script?

Totally stuck here and have no idea what to do: I've got a multiple choice interactive Powershell script I'm putting together for the ops so they shave off a few minutes whenever they want to perform ...
Mastaxx's user avatar
  • 1,303