Share via

Powershell Script

Anonymous
2025-01-14T09:00:12+00:00

Hi

Need some help to create a Powershell script that will automatically MSCommerce using certificate authentication to retrieve whether any MS product policies are enabled for end-user Self Service Purchase as "Enabled", this need to be a scheduled tasks to run one a month. Results should be out put to a file to attached to service desk ticket.

If any one can help with this is appreciated.

Many thanks in advance

Kind Regards

Arumai

Microsoft 365 and Office | Install, redeem, activate | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-01-14T12:11:48+00:00

    Dear Arumai Kumaran,

    Good day! Thank you for reaching out to Microsoft community.

    As per your description, it seems like that you are looking to create a PowerShell script that uses certificate-based authentication to access MSCommerce and check if any Microsoft product policies have the Self-Service Purchase setting enabled for end users. The script should:

    1. Run automatically as a scheduled task monthly.
    2. Output the results to a file that can be attached to a service desk ticket.

    However, there is another specific channel for your mentioned concern where you will get some possible information for certain specific resources and platform from our related community members.

    I understand your concern but since your problem is related to PowerShell script, I would also like to suggest you post your concern in the related community i.e., Ask a question - PowerShell | Microsoft Community Hub Q&A to get the detailed help from the experts.

    Apologies for redirecting you to different community as the members in the category posted focus on the users with out of the box concerns on Microsoft 365 and have limited knowledge on the MS PowerShell; so, to get the fast and better assistance, we have redirected you in the correct path.

    Appreciate your patience and understanding. Have a great day!!

    Best Regards,

    S M Nazmun Nur

    Was this answer helpful?

    0 comments No comments