Failed Exploring CI Pattern, Pattern name: Windows OS - Servers, error in Collect MSSQL info
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2025 06:28 AM - edited 02-20-2025 12:11 AM
Hi Team,
I am trying to run discovery to map an application, however getting the following error when running Quick Discovery.
Failed Exploring CI Pattern, Pattern name: Windows OS - Servers, To Check Pattern Log Press Here.
On checking the Pattern Logs, I am getting the following Payload error:
Can anyone assist me in finding the resolution for this?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2025 07:30 AM
Hi Suresh,
Could you please debug the pattern by clicking on the debug button to identify which step is failing and let us know what error you are receiving during the debug?
If you believe the solution provided has adequately addressed your query, could you please **mark it as 'Helpful'** and **'Accept it as a Solution'**? This will help other community members who might have the same question find the answer more easily.
Thank you for your consideration.
Selva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2025 12:17 AM - edited 02-20-2025 12:18 AM
Hi @Selva Arun
Thanks for your response.
I have tried to debug the discovery pattern and we have a step where it needs to get the all name spaces using WMI query operation and it giving the below error.
Error:
Execution of command com.snc.automation_common.integration.exceptions.InvalidCommandException
Original exception: The term 'New-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, verify that the path is correct and try again. At line:1 char:1 + importModuleIntoSession -modulePath 'E:\..
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error],
WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,
importModuleIntoSession on host {1} failed with status {2}. {3}
Can you assist me to fix this?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2025 07:41 AM
@suresh91 I think the issue is command "InvokeWMI_method' you can connect network team and find the exact command.
See the screenshot.
Mark my response as helpful if it resolves your doubt.
Thanks,
Mahesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2025 06:57 PM
Hi @suresh91
Can you validate the command which you are getting error by using command validation tool in our service now.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1123625
Mark it helpful and accept solution!! If this helps you to understand.