Forum Discussion

Mostafa67's avatar
Mostafa67
Level 3
3 years ago

How to list all policies with a schedule Name

 

hi ,bpplist only shows all servers. I want to see the list of all servers based on the "weekly" schedule

C:\Program Files\Veritas\NetBackup\bin\admincmd>bppllist????

 

How can I separate weekly in the list of servers in coomand prompt

2 Replies

  • I don't know about on the Windows side, but I'm sure there's a way to do this in PowerShell. In Linux, I would do this just to keep things simple:

    bppllist -allpolicies -L | grep -E "Policy Name:"\|"Weekly"

    While this isn't perfect, it does weed out most of what you aren't after.

    • Mostafa67's avatar
      Mostafa67
      Level 3

      I want that export Servers Name Base on policy such as Schedule Name=Weekly or Schedule Name=Daily. Because there are many servers.

      I want a windows command for display the "policy names" if schedule = weekly

      output example:

      Policy Name:       Schedule:
      3DXPRUA1          Weekly
      3DU01DC01         Weekly
      ARCHIVE             Weekly
      ARCHEALE          Weekly

      Master server and Media server windows server 2019