GPO - printer tcp/ip change from create to replace

Jester400 21 Reputation points
2022-11-08T17:27:13.107+00:00

I'm looking for information but I can't find it. I'm not an expert in PowerShell and even less in handling gpo's with PS.

Would it be possible to modify a gpo that is configured to create a tcp/ip printer and we want it to be Replace for a while?

If we had to change one printer nothing happens, we change it through the GUI and that's it, the problem is that there are 400 printers and after 48/72 hours we have to change it again to create.

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,389 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Rich Matheisen 45,096 Reputation points
    2022-11-08T18:53:48.317+00:00

    Why use PowerShell? GPO's are centralized so making a change should be easy to accomplish using the GUI. I'm pretty sure his is going to be a change in the Group Policy Preference.

    I think you'd do better by adding the tag windows-group-policy to your question and removing the windows-server-powershell tag.

    0 comments No comments

  2. Jester400 21 Reputation points
    2022-11-10T16:01:23.477+00:00

    Because I have to do this change 400 times and 48 hours later another 400 times.

    There are more or less 5000 printers, and every printer has its own GPO, and we have to correct 400.


  3. Jester400 21 Reputation points
    2022-11-15T13:06:12.947+00:00

    I don't know how was created, when I arrived one year ago everything was created.

    If you have to modify 5 or 10 objects probably you can do it without any mistake, but if you have to make 400 changes sure you are going to make some mistakes and obviously is more useful and quick automatize the process ( if it is possible ) than do it manually

    0 comments No comments