Providing Free and Editor Tested Software Downloads
< HOME | TUTORIALS | GEEK-CADE| WEB TOOLS | YOUTUBE | NEWSLETTER | DEALS! | FORUMS | >

MajorGeeks.com - This is the first download of the rest of your geeky lives.

Software Categories

All In One Tweaks
Android
Antivirus & Malware
Appearance
Back Up
Browsers
CD\DVD\Blu-Ray
Covert Ops
Drivers
Drives (SSD, HDD, USB)
Games
Graphics & Photos
Internet Tools
Linux Distros
MajorGeeks Windows Tweaks
Multimedia
Networking
Office & Productivity
System Tools

Other news

· How To and Tutorials
· Life Hacks and Reviews
· Way Off Base
· MajorGeeks Deals
· News
· Off Base
· Reviews


Opera One
Everything
you need.
Already
there.
AI assistant
Aria, built right in
Free VPN
No account needed
Ad blocker
Faster, cleaner web
Tab Islands
Grouped browsing
Useful sidebars
Make it yours
No Clunky Extensions Needed.



MajorGeeks Approved.



Download free

spread the word

· YouTube
· Facebook
· Instagram
· Twitter
· Pintrest
· RSS/XML Feeds
· News Blur
· Yahoo
· Symbaloo

about

· Top Freeware Picks
· Malware Removal
· Geektionary
· Useful Links
· About Us
· Copyright
· Privacy
· Terms of Service
· How to Uninstall

top downloads

1. GS Auto Clicker
2. Macrium Reflect FREE Edition
3. Smart Defrag
4. MusicBee
5. Microsoft Visual C++ 2015-2022 Redistributable Package
6. K-Lite Mega Codec Pack
7. Sergei Strelec's WinPE
8. Visual C++ Redistributable Runtimes AIO Repack
9. McAfee Removal Tool (MCPR)
10. ImgBurn
More >>

top reads

Star How To Quickly Restart Windows Explorer in Windows 11

Star How To Restart the Start Menu Without Rebooting in Windows 11

Star Ways To Check System Uptime in Windows 11

Star How To Set a Metered Connection for a Wi-Fi Network in Windows 11

Star How To View All Installed Programs and Apps in Windows 11

Star How To Find a Drive's File System Type

Star How Much Storage Space Are Your Installed Apps Using in Windows 11?

Star How To Reset and Fix the Settings App in Windows 11

Star How To Remove the Windows 11 Updated Start Menu

Star How To Download a Windows 11 ISO


MajorGeeks.Com » Overview» Tutorials and Video Guides » How to Run Windows PowerShell (Video)

How to Run Windows PowerShell (Video)

By Timothy Tibbetts

on 06/19/2023

Hop into IObit’s Easter Sale and save up to 90% on top utilities, plus score 3 FREE months before the deal disappears! πŸ°πŸŒ·πŸ†

If you've downloaded a lot on MajorGeeks, odds are you've come across PowerShell scripts. Advanced users and IT administrators frequently use them, but how will you ever become an advanced user if you don't learn? So, if you're wondering how to get a PowerShell script to work, look no further.

PowerShell is Microsoft's shell and scripting tool. PowerShell typically refers to its command-line interface (CLI) or a DOS prompt, if you will. Most Powershell scripts have switches allowing you to run specific commands but some do the work for you and have an almost GUI like feel.

In Windows 10 you'll want to open a command prompt; Start, Windows Powershell, right-click and "Run As Administrator."

Now, to find out what your permission levels are, type in "Get-ExecutionPolicy."

You will get one of four possible responses:

Restricted: PowerShell won't run any scripts and is the default setting.
AllSigned: PowerShell will only run scripts that are signed with a digital signature.
RemoteSigned: Similar to AllSigned, PowerShell won't run scripts unless they have a digital signature and will prompt you before it runs a script from a publisher it hasn't seen before. Anything already downloaded and run once won't prompt again.
Unrestricted: PowerShell will run anything you throw at it, but it will prompt you first.

So, which one do you choose? It depends on where you got your script. Remember you can always change this again later.

For reference, here is how I set mine to Unrestricted following the steps above:



Now you can run PowerShell scripts. To run a script, open a PowerShell window, type the script's name followed by the script's parameters (if any), and press Enter. If you double-click and PowerShell file, it will open it in Notepad. This is done for security purposes.

Optionally, you can now right-click on any PowerShell script and choose "Run with PowerShell." However, most scripts are written to execute and close, so you won't know what happened if anything. Some scripts with a minimal GUI will work this way, but most require you run it from an elevated Command Prompt and some won't do anything without entering command-line parameters. Each script should provide the command-line parameters in their description.

Here's a video covering everything we just discussed.



Similar:
The Ultimate List of Every Known Command Prompt and PowerShell Commands
How-To Run PowerShell or the Command Prompt as Administrator
Remove Windows 10 Apps Using PowerShell
Remove Windows 10, 8 and 8.1 Built-In Apps Using PowerShell
How to Securely Delete Files in Windows 10 With PowerShell and Cipher
What's the Difference Between PowerShell and PowerShell Core?
PowerShell and Command Prompt 101
PowerShell Data Execution Policies Explained

comments powered by Disqus





© 2000-2026 MajorGeeks.com
Powered by Contentteller® Business Edition