Windows 10: PowerShell Bitlocker command uses unaproved verbs and verbosity setting

Discus and support PowerShell Bitlocker command uses unaproved verbs and verbosity setting in Windows 10 Customization to solve the problem; If I have this statement at the start of a script: #requires -Version 3.0 -Modules BitLocker, Hyper-V, Storage I see this message when I run the... Discussion in 'Windows 10 Customization' started by ray.g, Jul 18, 2018.

  1. ray.g Win User

    PowerShell Bitlocker command uses unaproved verbs and verbosity setting


    If I have this statement at the start of a script:


    #requires -Version 3.0 -Modules BitLocker, Hyper-V, Storage


    I see this message when I run the script:


    WARNING: The names of some imported commands from the module 'BitLocker' include unapproved verbs that might make them
    less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose
    parameter. For a list of approved verbs, type Get-Verb.


    I also find that if I want to use:


    Write-Verbose


    Statements to debug the script if:


    $VerbosePreference = 'Continue'


    The BitLocker CmdLets hang and do not appear complete.


    If I set:


    $VerbosePreference = 'SilentlyContinue'


    Everything works as expected.


    I am running the script as a normal user with an elevated PowerShell process doing the work using a named pipe for communication.


    Any thoughts?


    Win10/64 V1803 17134.166

    :)
     
    ray.g, Jul 18, 2018
    #1
  2. Kursah Win User

    PowerShell instead of Commandline in Creators Update

    Interestingly enough my personal laptop just got the update...and still has Command Prompt listed, not PowerShell...

    Edit: Not that it matters...I use both regularly. *Toast :toast:
     
    Kursah, Jul 18, 2018
    #2
  3. Pavan_N Win User
    Uninstall Photo app by using Powershell command

    Hi Lorraine,

    Thank you for posting your response.

    I apologize for the miscommunication. Follow the steps below and check if that helps.


    • 1. Open the Start menu, type Windows PowerShell in the search bar.

      2. Right click on the Windows PowerShell and select Run as administrator.

      3. Enter the below command to uninstall the Photo app.

      • get-appxpackage *Microsoft.Windows.Photos* | remove-appxpackage ( check the spacing)
    After performing the above steps, install the Photo app from the Windows store.

    Hope this information is helpful. Please do let us know if you need further assistance, we’ll be glad to assist you.

    Thanks
     
    Pavan_N, Jul 18, 2018
    #3
  4. Pavan_N Win User

    PowerShell Bitlocker command uses unaproved verbs and verbosity setting

    Uninstall Photo app by using Powershell command

    Hi Lorraine,

    Thank you for posting in Microsoft Community.

    This issue might have occurred because of wrong command. I suggest you to follow the steps below and check if that helps.

    • Right click on Start button and select Command prompt (admin).
    • Type the command get-appxpackage *Microsoft.Windows.Photos* | remove-appxpackage hit
      Enter.

    Note: Before performing these steps close all the application and store.

    Hope this information is helpful. Please do let us know if you need further assistance, we’ll be glad to assist you.

    Thanks
     
    Pavan_N, Jul 18, 2018
    #4
Thema:

PowerShell Bitlocker command uses unaproved verbs and verbosity setting

Loading...
  1. PowerShell Bitlocker command uses unaproved verbs and verbosity setting - Similar Threads - PowerShell Bitlocker command

  2. How to suspend bitlocker on a non-system drive using command line or powershell

    in Windows 10 Gaming
    How to suspend bitlocker on a non-system drive using command line or powershell: I don't have accees to the control panel "suspend bitlocker" settings because I have "windows 10 22H2 home".So I have been using both command line and powershell commands whichever happens to be most convenient for me, to induce the suspension "indefinitely" with any of the...
  3. How to suspend bitlocker on a non-system drive using command line or powershell

    in Windows 10 Software and Apps
    How to suspend bitlocker on a non-system drive using command line or powershell: I don't have accees to the control panel "suspend bitlocker" settings because I have "windows 10 22H2 home".So I have been using both command line and powershell commands whichever happens to be most convenient for me, to induce the suspension "indefinitely" with any of the...
  4. How to suspend bitlocker on a non-system drive using command line or powershell

    in AntiVirus, Firewalls and System Security
    How to suspend bitlocker on a non-system drive using command line or powershell: I don't have accees to the control panel "suspend bitlocker" settings because I have "windows 10 22H2 home".So I have been using both command line and powershell commands whichever happens to be most convenient for me, to induce the suspension "indefinitely" with any of the...
  5. Powershell command

    in Windows 10 Software and Apps
    Powershell command: Hi How can i get a list via powershell commandof expired users password in AD like this screenshot.Thanks https://answers.microsoft.com/en-us/windows/forum/all/powershell-command/54833831-89ba-4641-a5b2-2d55e848aab8
  6. Unable to start CMD from command line using switch -verb runas

    in AntiVirus, Firewalls and System Security
    Unable to start CMD from command line using switch -verb runas: I was able to start cmd as administrator from cmd/powershell using the following command: start cmd -verb runas I am no longer do so. The command fires up a new cmd window but without admin privelege. I am not aware which update or changes blocked this functionality....
  7. How to use Powershell command Set-ADAccountPassword as a prompt

    in Windows 10 Ask Insider
    How to use Powershell command Set-ADAccountPassword as a prompt: This is where I am currently at: $firstname = Read-Host -Prompt "Please Enter the First name" $lastname = Read-Host -Prompt "Please enter the last name New-ADUser -Name "$firstname $lastname" -GivenName "$firstname" -Surname "$lastname" -UserPrincipalName...
  8. PowerShell "Get-Command -Verb Get" format different from documentation

    in Windows 10 Network and Sharing
    PowerShell "Get-Command -Verb Get" format different from documentation: According to the documentation for PowerShell 6, the PowerShell command "Get-Command -Verb Get" should output a format similar to: CommandType Name Definition ----------- ---- ---------- Cmdlet Get-Acl...
  9. Check BitLocker Drive Encryption Status for Drive using Command Prompt or PowerShell

    in Windows 10 News
    Check BitLocker Drive Encryption Status for Drive using Command Prompt or PowerShell: [ATTACH] [ATTACH]BitLocker is a drive encryption utility that comes pre-installed with Windows 10. It is useful in keeping important files away from the intruders. This is done by using a Password, or various other authentication methods. New files tend to be [...] This post...
  10. Use "Command Prompt" instead of "PowerShell"

    in Windows 10 Customization
    Use "Command Prompt" instead of "PowerShell": Hi! I'm using Windows 10 version 1807, In this version, the option "Open in Command Prompt" fully removed from Explorer, in "File" menu and [Shift]+[Right Click] menu, And there's no option to get it back in Settings, only there's an option for [Alt]+[X] menu. I have to...