how to get security attribute of Printer with powershell

cook bada 1 Reputation point
2023-02-14T09:24:12.27+00:00

Hi Microsoft engineers

  when working with some object such as directory、file or printer,
in demand we would edit the Security Tab content of object attribute for security reasons,
If there is a convenient and fast way to perform printer security configuration with powershell script , Any help will be great, thanks.

Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 44,751 Reputation points
    2023-02-16T11:08:19.7233333+00:00

    Hi,

    Thank you for posting your query.

    Kindly follow the steps provided below to resolve your query.

    The Get-PrinterProperty cmdlet retrieves one or more printer properties for the specified printer.

    You cannot use wildcard characters with Get-PrinterProperty. You can use Get-PrinterProperty in a Windows PowerShell remoting session.

    You need administrator credentials to run Get-PrinterProperty.

    Go to this link for your reference and additional troubleshooting procedures https://learn.microsoft.com/en-us/powershell/module/printmanagement/get-printerproperty

    If the answer is helpful kindly click "ACCEPT AS ANSWER" and up vote it.

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

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