Si le point précédent est correct, lancez le script directement en PowerShell pour voir si le script lui-même est bien formé et voir quel résultat il obtient.
Si nous obtenons des erreurs dans l’exécution, nous devrons corriger le comportement du script, sinon nous devrons vérifier les autorisations du script et les actions qu’il effectue, par exemple :
Si vous effectuez une requête vers un serveur en utilisant un utilisateur, celui-ci doit avoir les autorisations nécessaires pour effectuer la requête.
La machine qui lance le script a une connectivité avec le serveur sur lequel elle lance la requête.
En cas de présence d’un nom de domaine dans le script, faites l’appel à l’IP en cas de problème avec le serveur DNS.
Si aucun problème n’a été détecté auparavant, nous devrons mettre l’agent en mode «debug» pour analyser l’exécution qu’il lance. (Nous recommandons l’utilisation du type de module generic_data_string dans le cas où le module renvoie une sortie qui ne correspond pas à son type d’origine).
En mettant l’agent en mode de débogage, un fichier pandora_debug.log sera créé dans le répertoire de l’agent où seront écrites toutes les exécutions effectuées par l’agent, afin que nous puissions obtenir l’exécution du script.
We use technologies like cookies to store and/or access device information. We do this to improve browsing experience and to show (non-) personalized ads. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Siempre activo
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Siempre activo
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Please note:
This action will also remove this member from your connections and send a report to the site admin.
Please allow a few minutes for this process to complete.