Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 20

Run a .PS1 file without PowerShell

0
0
I came across this article about how to use PowerShell without using PowerShell.

Below is code to run a PowerShell .ps1 file without using PowerShell.

I use CS-Script to run my C# code, but with a few changes to the code, you can use the C# compiler instead.

Code:
//css_args -verbose
//css_autoclass
//css_host /platform:x64
using System.Collections.ObjectModel...

Read more

Viewing all articles
Browse latest Browse all 20

Latest Images

Trending Articles





Latest Images