Windows 10: Need to repair the windows powershell 5.1 to fix basic cmdlets that were deleted accidently

Discus and support Need to repair the windows powershell 5.1 to fix basic cmdlets that were deleted accidently in Windows 10 Software and Apps to solve the problem; I am using Windows 10 Enterprise Version 1909 OS Build 18363.1916 with per-installed Windows PowerShell.> $PSVersionTableName Value---- -----PSVersion... Discussion in 'Windows 10 Software and Apps' started by Srijith_Vakkil, Dec 8, 2021.

  1. Need to repair the windows powershell 5.1 to fix basic cmdlets that were deleted accidently


    I am using Windows 10 Enterprise Version 1909 OS Build 18363.1916 with per-installed Windows PowerShell.> $PSVersionTableName Value---- -----PSVersion 5.1.18362.1801PSEdition DesktopPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}BuildVersion 10.0.18362.1801CLRVersion 4.0.30319.42000WSManStackVersion 3.0PSRemotingProtocolVersion 2.3SerializationVersion 1.1.0.1I accidentally deleted some folders for cmdlet from inbuilt PowerSh

    :)
     
    Srijith_Vakkil, Dec 8, 2021
    #1

  2. PowerShell cmdlet to manage audio devices

    Hi,

    I would love to see even more PowerShell cmdlets that let you manage the native settings in Windows 10.

    I have two topics I would appreciate if someone from Microsoft could shed some light on

    • Is there a long term goal to release PowerShell cmdlets for all settings you can configure in the Windows 10 GUI/Control panel?
    • It would be great to get native PowerShell cmdlet to managing audio/recording devices. To be able to select/change the default playback and recording devices could be of big help in an enterprise environment. One example could be to make sure the correct
      speaker and mic are selected when running a video conference system based on Windows 10.

    Are the above topics something that are planned for future Windows 10 releases?

    Regards Erik

    * Moved from Insider *
     
    Erik Droszcz, Dec 8, 2021
    #2
  3. PowerShell script run - Cmdlets

    Greetings - in the last month my role (support for Microsoft) has begun running database searches using PowerShell ISE - the procedure and software I was given by Microsoft to follow specified PowerShell ISE, not PowerShell. The first week or so the searches
    seemed to run fine and I got good results returned. Then the searches stopped successfully executing. I got various error messages, or just illogical results, and so I tried reinstalling PowerShell a couple of times, with no success. On Friday 8/12 I upgraded
    to Win10 Anniversary Ed. I still can't successfully run a PowerShell ISE search request. So, I'm hoping the Forum can help:

    1. When I Run a request I get this pop-up: "Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your computer. If you trust this script, use the Unbock-File cmdlet to allow the script to run without
    this warning message. Do you want to run ...". I then get 3 options 1) Do not run, 2) Run Once, 3) Suspend.

    My understanding is that the "Unbock-File cmdlet" is a single-feature command that manipulates objects in Windows PowerShell. Where should I insert the "Unbock-File cmdlet" ? I trust the script because it was provided to me by Microsoft.

    2. I've been selecting option 2) Run Once. The script will then run for a while, and then I get this error message "[Expression Error] The import Cosmos.Document matches no exports. Did you miss a module reference?"

    How do resolve this issue? Reinstalling PowerShell has not seemed to help.

    Any help much appreciated!
     
    Jacqui Schultz, Dec 8, 2021
    #3
  4. Brink Win User

    Need to repair the windows powershell 5.1 to fix basic cmdlets that were deleted accidently

    Microsoft announces PowerShell Crescendo Preview.1

    Read more: https://devblogs.microsoft.com/power...ndo-preview-1/
     
    Brink, Dec 8, 2021
    #4
Thema:

Need to repair the windows powershell 5.1 to fix basic cmdlets that were deleted accidently

Loading...
  1. Need to repair the windows powershell 5.1 to fix basic cmdlets that were deleted accidently - Similar Threads - Need repair powershell

  2. Accidently delete a folder and need to recover

    in Windows 10 Gaming
    Accidently delete a folder and need to recover: Dear Sir/Madam,I hope this message finds you well.I am using Windows 11, and I have a folder on the desktop that is 300 GB in size. I accidentally deleted that folder, and given that my Recycle Bin limit is 48 GB, the folder did not move to it. I have already used System...
  3. Accidently delete a folder and need to recover

    in Windows 10 Software and Apps
    Accidently delete a folder and need to recover: Dear Sir/Madam,I hope this message finds you well.I am using Windows 11, and I have a folder on the desktop that is 300 GB in size. I accidentally deleted that folder, and given that my Recycle Bin limit is 48 GB, the folder did not move to it. I have already used System...
  4. Need to repair the windows powershell 5.1 to fix basic cmdlets that were deleted accidently

    in Windows 10 Gaming
    Need to repair the windows powershell 5.1 to fix basic cmdlets that were deleted accidently: I am using Windows 10 Enterprise Version 1909 OS Build 18363.1916 with per-installed Windows PowerShell.> $PSVersionTableName Value---- -----PSVersion 5.1.18362.1801PSEdition DesktopPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}BuildVersion 10.0.18362.1801CLRVersion...
  5. Need to repair the windows powershell 5.1 to fix basic cmdlets that were deleted accidently

    in Windows 10 Installation and Upgrade
    Need to repair the windows powershell 5.1 to fix basic cmdlets that were deleted accidently: I am using Windows 10 Enterprise Version 1909 OS Build 18363.1916 with per-installed Windows PowerShell.> $PSVersionTableName Value---- -----PSVersion 5.1.18362.1801PSEdition DesktopPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}BuildVersion 10.0.18362.1801CLRVersion...
  6. powershell cmdlet for system properties performance

    in Windows 10 BSOD Crashes and Debugging
    powershell cmdlet for system properties performance: Hello is there powershell cmdlet performance in system properties to like edit it ? https://answers.microsoft.com/en-us/windows/forum/all/powershell-cmdlet-for-system-properties/6f0614e0-6d91-4a3f-bf19-e6ecc8e61c16
  7. PowerShell error : Install-module is not recognized as the name of a cmdlet on Powershell...

    in Windows 10 Installation and Upgrade
    PowerShell error : Install-module is not recognized as the name of a cmdlet on Powershell...: HI, I am trying to install a powershellmodule and getting the below error message. install-module : The term 'install-module' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,...
  8. Why do signed PowerShell cmdlets run slower than unsigned cmdlets on Windows 10?

    in Windows 10 News
    Why do signed PowerShell cmdlets run slower than unsigned cmdlets on Windows 10?: [ATTACH]A cmdlet is a lightweight command that is used in the Windows PowerShell environment. The Windows PowerShell runtime invokes these cmdlets within the context of […] This article Why do signed PowerShell cmdlets run slower than unsigned cmdlets on Windows 10? first...
  9. No PowerShell cmdlets recognized

    in Windows 10 Support
    No PowerShell cmdlets recognized: Running powershell as Administrator or running the ISE as Administrator (which shows Admin at top of one of the two images) isn't returning what I am expecting for looking at tasks scheduled. Any idea what's up with the output in the images? I was running Windows 7 Home...
  10. PowerShell Scripting - The Basics

    in Windows 10 Tutorials
    PowerShell Scripting - The Basics: How to: PowerShell Scripting - The Basics [img] Information A PowerShell script is a collection of commands and cmdlets to be run in logical order, previous lines in script determining values and variables in command lines thereafter. The principle is the same than in...