Windows 8 and 8.1 Forums


Windows Power Shell

  1. #1

    Windows Power Shell


    Open any folder, click on "File" and you find "Windows Power Shell." It's designed mostly for network controllers. Has anybody found any useful commands or programs for it?

      My System SpecsSystem Spec

  2. #2


    Posts : 828
    Windows 7 x64 Ultimate/Windows 8.1/Linux


    Powershell has been around for quite a long time but in Windows 8, especially Server, it's the primary administration console. There are two interfaces for Powershell, the 'standard' UI, which is what you've found and the Powershell ISE (Integrated Scripting Environment) which can be found in Control Panel/Administrative Tools. Either can be launched directly by using WinKey+R. For more information, take a look at the following:

    Windows PowerShell Support
    Powershell.com

    The 'standard' Powershell' console is a good replacement for the usual command prompt.
      My System SpecsSystem Spec

  3. #3


    Posts : 1,320
    Server 2012 / 8.0


    Hello Vince53.

    Here is my contribution.

    Removal of hiberfil.sys (the hibernation file or image of your memory)

    You can also execute this simple function with the Command Prompt (Admin) that you can get by right clicking the bottom left corner of the desktop (Windows 8 CP)

    If you ever do disk imaging and you find that the file hiberfil.sys adds alot to the size of the image,
    which is unnecessary to backup inside of the disk image,
    especially if you have no need to hibernate,
    you can easily remove it from the system.


    >> control panel -> Administrative Tools -> (right click) (select Run as Administrator) Windows Powershell

    c:\ powercfg.exe -h off

    hiberfil.sys is now removed from your system

    to restore hiberfil.sys

    again Run as Administrator...

    c:\ powercfg.exe -h on

    For those unfamiliar with hiberfil.sys,
    it exists if your system has hibernation enabled.
    It is a system file and cannot be seen unless you go to folder options and unhide hidden files and unhide protected operating system files.
    If someone tries the recommendation above to remove hiberfil.sys which can get to several gigabytes,
    one can see the file be removed and restored from its default location in the root when the command is executed.
    Otherwise, executing the command does not provide any evidence of action unless you go look for it.

    cheers
    Last edited by mdmd; 28 Apr 2012 at 04:51.
      My System SpecsSystem Spec

  4. #4


    thanks, Fellows. I checked out both sites and read your instructions, and I decided that I'd better stay out of this one.
      My System SpecsSystem Spec

  5. #5


    Posts : 1,851
    8250 x86 + 7 SP1 x86 + Ubuntu 12.04 LTS x86


    Quote Originally Posted by mdmd View Post
    Otherwise, executing the command does not provide any evidence of action unless you go look for it.
    Yeah it does. It disables the ability to hibernate.

    Unless you meant running off first and then also running on after...
      My System SpecsSystem Spec

  6. #6


    Posts : 1,320
    Server 2012 / 8.0


    yes, yes.
    removing hibernation was the goal.
    If you do not need it, why have it.

    One can always restore it.

    I have no use for hibernation and the file size is about 7 gigabytes
      My System SpecsSystem Spec

  7. #7


    Posts : 1,851
    8250 x86 + 7 SP1 x86 + Ubuntu 12.04 LTS x86


    Quote Originally Posted by mdmd View Post
    yes, yes.
    removing hibernation was the goal.
    If you do not need it, why have it.

    One can always restore it.

    I have no use for hibernation and the file size is about 7 gigabytes
    Oh heck ya...for desktops, it's practically a must to rid of it. It's always slightly smaller than the installed system RAM. So I'm guessing you have 8 GB.

    Good backup tip though, for sure.
      My System SpecsSystem Spec

Windows Power Shell
Related Threads
Classic Shell for Windows 8 in Software and Apps
Hi, everybody The latest version of Classic Shell supports Windows 8 Consumer Preview. The new features are: A customizable start button. You can pick from Classic, Aero and Metro styles, or select your own image. Unlike Start8 and ViStart, this is a real start button. It can extend beyond...
Yesterday, My computer's performance took a nose dive. I ran multiple AV programs which found some PUPs and what looked to be a trojan. I wasn't freaked out because I removed it, but my computer only slightly sped up. I can't use my computer like I normally have and can't game. This is driving me...
Hello all, I'm trying to launch my application directly after boot. Someone had adviced me to replace shell from "explorer.exe" to the application I want to launch. Is it the correct way for launching the application after boot. Please advice. Thanks, Narayanan K
List of Windows 8 and 8.1 Shell Commands A shell command can be typed in the Run (Windows+R) dialog, search, File Explorer address bar, and Internet Explorer address bar to open a Windows shell folder. This tutorial will show you a list of shell commands that can be used to easily open...
Every time I go to control panel and then hardware and then to touchpad settings I get a crash after making whatever change I want and clicking OK to finish and close. I don't know what the shell common dll is or why it fails but it gets old. Any input will be appreciated.
I never like upgrades, so am planning on a format (Samsung SSD) and a clean install of Win 8.1 from the image I downloaded. However I have one (biggish to me) concern, I still like to use a program called (Ex7forW8exe) this gives me the Windows 7 lookalike/classic shell, Start button and Start...
I Made a windows replacement shell and dont know how to make it startup insted of explorer I want to replace that where can i find where to put it in regedit but when i type explorer just a lot of numbers and lettles how can i replace that. I know how to do it in windows xp but not windows 8,...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook