locked
Forever getting 'xxx is not recognized as the name of a cmdlet' RRS feed

  • Question

  • Running at PS C:\> Get-OSCInstalledApplication -ComputerName "xx-xxxx-xx" | Export-Csv -Path C:\installedApps.csv

    Constantly getting this error:

    Get-OSCInstalledApplication : The term 'Get-OSCInstalledApplication' 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, verify that the
    path is correct and try again.

    Tuesday, June 6, 2017 9:53 PM

All replies

  • You know that you have to install the proper module first, right?

    https://gallery.technet.microsoft.com/scriptcenter/Get-a-List-of-Installed-c47393ed


    Grüße - Best regards

    PS:> (79,108,97,102|%{[char]$_})-join''

    • Proposed as answer by Hello_2018 Wednesday, June 7, 2017 10:31 AM
    Tuesday, June 6, 2017 10:09 PM
  • Hi,

    You need to install the module first then get-commands from the module to see if you have installed correctly.

    Best regards,

    Andy


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Edited by Hello_2018 Wednesday, June 7, 2017 10:32 AM
    • Proposed as answer by Hello_2018 Tuesday, June 13, 2017 3:01 AM
    Wednesday, June 7, 2017 10:31 AM
  • Hi,
    Was your issue resolved? 
    If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.
    If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.
    If no, please reply and tell us the current situation in order to provide further help.
    Best Regards,
    Andy

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, June 8, 2017 10:03 AM