Windows PowerShell Error when it was running as Administrator

Mr. Chapht 20 Reputation points
2024-02-07T08:56:04.99+00:00

Showing results for How to delete Microsoft Phone Link
Search instead for How to delete Miscosoft Phone Link

Search Results

Featured snippet from the web

  1. Open PowerShell as Administrator. Go to Start Menu > PowerShell > Right click > Run as administrator.
  2. Run the following command in PowerShell and press enter: Get-AppxPackage Microsoft.YourPhone -AllUsers | Remove-AppxPackage.
  3. Phone link will be removed from your device.

10 Aug 2022

As suggested by the above & given instructions to uninstall Microsoft Phone Link, I ran the PowerShell as an Administrator Credential got the error as shown in the attached file. Please advise and share promptly. THANKSPoweShell Error

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Anonymous
    2024-02-07T09:40:12.4766667+00:00

    Hi Mr. Chapht,

    Please remove the extra dot at the end of the line and try again.

    Get-AppxPackage Microsoft.YourPhone -AllUsers | Remove-AppxPackage
    

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Olaf Helper 47,581 Reputation points
    2024-02-07T09:02:46.55+00:00

    You have to import the "appx" module, before you can use it, of course.

    Import-Module appx
    

    User's image

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.