Windows 10: 10 basic PowerShell commands that every Windows 10 user should know

Discus and support 10 basic PowerShell commands that every Windows 10 user should know in Windows 10 News to solve the problem; [ATTACH] Windows PowerShell is powerful and can do almost everything that a person wants on his computer. But the only problem is that it is a command... Discussion in 'Windows 10 News' started by WinClub, Jan 3, 2019.

  1. WinClub New Member

    10 basic PowerShell commands that every Windows 10 user should know

    WinClub, Jan 3, 2019
    #1
  2. OneMoar Win User

    Windows 10 Tweaks

    Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CF1, Package was not found.
    Windows cannot remove Microsoft.3DBuilder_10.0.0.0_x64__8wekyb3d8bbwe because the current user does not have that
    package installed. Use Get-AppxPackage to see the list of packages installed.
    yea its saying it can't find the package here is the output from getxapp package
     
    OneMoar, Jan 3, 2019
    #2
  3. [Windows 10] hide/prohibit install of specific Windows Update

    Edit: Try "Show or hide updates" troubleshooter package first and let us know if it works for you.


    Adapted from Preventing a certain Windows Update from installing on Windows 10 by Igal Tabachnik.
    • Uninstall the problematical driver/update.
    • Restart the computer, if necessary, and/or switch to an administrator account.
    • Download Windows Update PowerShell Module and extract it to: %WINDIR%\System32\WindowsPowerShell\v1.0\Modules After doing so, you will have a %WINDIR%\System32\WindowsPowerShell\v1.0\Modules\PSWindowsUpdate folder with a bunch of files.
    • Start -> All Apps -> expand Windows PowerShell -> right-click on Windows PowerShell and select Run as Administrator. This is very important or you'll get errors in Windows PowerShell.
    • Now you should see the PowerShell window and you'll have to enter a series of commands. First order of business is loading up PSWindowsUpdate. Note: You have to do this every time you restart PowerShell and want to use PSWindowsUpdate commands!
      CommandDescriptionSet-ExecutionPolicy Unrestricted -ForceAllows the use of unsigned PowerShell scripts.Import-Module PSWindowsUpdateLoads PSWindowsUpdateSet-ExecutionPolicy Restricted -ForceClose the potential security hole.
    • Enter Get-WUList. This command will take a little while to execute. It retrieves the list of all available updates on Windows Update. If you do not see the problematical update here, it is either no longer being offered or it is installed.
    • Now you need to decide how to filter what update you want to hide. Here's some examples:
      CommandDescriptionHide-WUUpdate -Title "*Realtek High Definition Audio"This looks for a title that ends with (note the asterisk) "Realtek High Definition Audio"Hide-WUUpdate -Title "Realtek*"This looks for a title that starts with (note the asterisk) "Realtek"
      When you enter the above command, it will loop through all results it finds and ask whether or not you want to hide it. Make sure you only say "yes" to the one you want hidden and "no" to the rest.
    • It will automatically show the updated results. Verify there is an "H" under the status of the ones you want hidden and not behind the rest. If it is correct, close out of PowerShell and return to your normal user account if necessary. Run Windows Update and the update should not show/install.
    If you want to unhide an update, add -HideStatus:$false to the Hide-WUUpdate command.
     
    FordGT90Concept, Jan 3, 2019
    #3
  4. OneMoar Win User

    10 basic PowerShell commands that every Windows 10 user should know

    Windows 10 Tweaks

    @W1zzard looks like the hashing/version is different on some systems
    this syntax works better
    powershell "Get-AppxPackage *3d* | Remove-AppxPackage"
    powershell "Get-AppxPackage *bing* | Remove-AppxPackage"
    powershell "Get-AppxPackage *solit* | Remove-AppxPackage"
    powershell "Get-AppxPackage *people* | Remove-AppxPackage"
    powershell "Get-AppxPackage *zune* | Remove-AppxPackage"
    powershell "Get-AppxPackage *photos* | Remove-AppxPackage"
    powershell "Get-AppxPackage *phone* | Remove-AppxPackage"
    powershell "Get-AppxPackage *communi* | Remove-AppxPackage"
    someone already compiled all the tweaks listed into a handy choice driven .cmd file
    you can get that from here
    http://forums.mydigitallife.info/threads/63498-Windows-10-TNBT-(The-next-big-tweak)-official-thread
     
    OneMoar, Jan 3, 2019
    #4
Thema:

10 basic PowerShell commands that every Windows 10 user should know

Loading...
  1. 10 basic PowerShell commands that every Windows 10 user should know - Similar Threads - basic PowerShell commands

  2. Every command of PowerShell is broken saying "command was found in the module"

    in Windows 10 Gaming
    Every command of PowerShell is broken saying "command was found in the module": I can't use powershell anymoreInfo:powershell is v1.0 according to $PSHOMELiterary no commands are working including cd and echohere is the image:What I have tried:change ExecutionPolicy, it was remoteSigned, now it is unrestrictedsfc /scannow showingand here is the log:...
  3. Every command of PowerShell is broken saying "command was found in the module"

    in Windows 10 Software and Apps
    Every command of PowerShell is broken saying "command was found in the module": I can't use powershell anymoreInfo:powershell is v1.0 according to $PSHOMELiterary no commands are working including cd and echohere is the image:What I have tried:change ExecutionPolicy, it was remoteSigned, now it is unrestrictedsfc /scannow showingand here is the log:...
  4. Every command of PowerShell is broken saying "command was found in the module"

    in Windows 10 BSOD Crashes and Debugging
    Every command of PowerShell is broken saying "command was found in the module": I can't use powershell anymoreInfo:powershell is v1.0 according to $PSHOMELiterary no commands are working including cd and echohere is the image:What I have tried:change ExecutionPolicy, it was remoteSigned, now it is unrestrictedsfc /scannow showingand here is the log:...
  5. Powershell command "net users"

    in Windows 10 Gaming
    Powershell command "net users": I recently did a powershell search using 'net users'. It brought up all the accounts in my windows 10 computer. it showed 3 accounts: a 'default acct' with a name that I apparently created a long time ago. it also showed a 'guest acct' with another name. it also showed a name...
  6. Powershell command "net users"

    in Windows 10 Software and Apps
    Powershell command "net users": I recently did a powershell search using 'net users'. It brought up all the accounts in my windows 10 computer. it showed 3 accounts: a 'default acct' with a name that I apparently created a long time ago. it also showed a 'guest acct' with another name. it also showed a name...
  7. Powershell command "net users"

    in Windows 10 Customization
    Powershell command "net users": I recently did a powershell search using 'net users'. It brought up all the accounts in my windows 10 computer. it showed 3 accounts: a 'default acct' with a name that I apparently created a long time ago. it also showed a 'guest acct' with another name. it also showed a name...
  8. Top 10 Commands Every Windows User Must Know

    in Windows 10 Ask Insider
    Top 10 Commands Every Windows User Must Know: [ATTACH] submitted by /u/Zebhany123 [link] [comments] https://www.reddit.com/r/Windows10/comments/ualtmr/top_10_commands_every_windows_user_must_know/
  9. Windows 10 basic User guide

    in Windows 10 Ask Insider
    Windows 10 basic User guide: Hey everyone, I need some advice. I am looking for a User educational guide for Win 10. I am volunteering at a nonprofit, upgrading computers from Win 7 to Win 10 and the manager has requested that I create a User guide for the less computer literate folks. If y’all know if...
  10. How useful is it to know the command line and/or powershell, for a user who doesn't depend...

    in Windows 10 Ask Insider
    How useful is it to know the command line and/or powershell, for a user who doesn't depend...: I'm a casual windows user. Not a coder, programmer etc. I like to tinker and tweak things only to the extent of making my low-end laptop efficient and making my workflow productive (i.e., not much). I think i have some aptitude to get used to the command line. I used linux...

Users found this page by searching for:

  1. basic power shell commands