Jump to content
Updated Privacy Statement

Elias Winburne

Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by Elias Winburne

  1. Hmmm. I see a flaw in my approach. "Search for "bind service " with a space at the end" will actually find services bound to monitors... Now working with CLI two commands: show svcbindings and show servicegroupbindings If I can find all the service names, I could use "show svcbindings <name of service> to see bindings or not?
  2. I plan to use the CLI to remove the Objects that have no binding. I think I figured out a way to do it. Export the ns.conf file Open in Notepad++ Search for "add service " with a space at the end Copy the results to Excel to column A in a tab Now you have all the services being added In Notepad++ Search for "bind service " with a space at the end Copy the results to Excel in another tab Now you have all the services being bound In Excel in the "add" data, use a formula in column B like =TEXTAFTER(A1,"add service ") notice the space at the end. Pull down formula. This will remove the text before the service name Copy and paste column B to column C as values In column D use a formula like =TEXTBEFORE(C1," ") notice the space at the end. Pull down formula. This will provide the service name and remove all text after it Copy and paste column D to column E as values Now you have all the adds and bindings identified In the next column you use a formula to find any services that do have a bindings. IF(ISNA(MATCH(E1,C:C,0)),E1) Column E is bindings list and Column C is services. Pull down the formula to the longest list. This will bring out all the services that do not match the bindings. or you can get the results ready for the CLI with =CONCAT("Text ", IF(ISNA(MATCH(E1,C:C,0)),E1, ""), " some other text") I got some help from my Citrix Lead Technical Account Manager, Amy Devon, on the Excel manipulation. There may be an easier way... The CLI is wonderful and dangerous. Backup before you remove the services.
  3. I want to find all objects that do not have any binding. Trying to do some clean up. Anyone know a way to find/list these objects.
×
×
  • Create New...