/build/static/layout/Breadcrumb_cap_w.png

Wie kann man eine Bericht erstellen, der nur die angebundenen Netzlaufwerke zeigt?

Hallo

ich muss einen Bericht über die angebunden Netz Laufwerke (Servername, Sharename) erstellen. Habe aber in der Berichte Option keine Angabe über "connected Drives" gefunden.

Brauche so eine Ausgabe "\\ServerName\Share$"


Danke 


0 Comments   [ + ] Show comments

Answers (3)

Posted by: Nico_K 1 year ago
Red Belt
0

The default language in the community is English, so I write all at first in English.

At first you need to verify a command which shows you all the connected drives.  "net use" should sufficient.
Then you create a Custom Inventory Rule.
Go to Inventory | Software | New
Name the new software item accordingly.
As Custom Inventory Rule you can use ShellCommandTextReturn(cmd /c net use) (or if you need it filtered, you can pipe it through findstr or similar)
Click on the mario block for more info.
Save it and wait for the "magic" to happen. In the next check in each system will report  all connections.
Now you can check if you have all you need.
If yes, go to Reporting | New and create a new report. Your created CIR shows up as option under Custom Fiels on the bottom of the wizard.

------------------------
German:
Hallo, die allgemeine Sprache hier ist Englisch, weil diese Sprache von jedem verstanden wird. Für andere Sprachen ist dies nicht zwingend gegeben.
Zuerst brauchen wir einen Befehl, der die notwendigen Dinge anzeigt. net use sollte alle notwendigen Informationen bereitstellen. Natürlich kann hier auch jede andere Variante versucht und getestet werden, ganz nach Ihren Bedürfnissen.

Mit dem notwendigen Befehl können wir eine Regel für benutzerdefiniierte Inventarisierung anlegen:
Inventar| Software |Aktion auswählen -> Neu
Das Feld Name muss ausfefüllt werden, und die Regel für benutzerdefinierte Inventarisierung muss gewählt werden. Ich empfehle alle Felder auszufüllen und einen sinnvollen Namen zu vergeben. Ich persönlich benenne meine Regeln immer wie Folgt: CIR (für Custom Inventory Rule, wie die Funktion in der englischen GUI genannt wird) <fortlaufende Nummer mit aufgefüllter Null> - Kurzbeschreibung der Funktion, also hier zB CIR 01 - Verbundene Laufwerke.
In das Feld Regel für benutzerdefinierte Inventarisierung wird die Regel eingegeben. Die kontextsensitive Hilfe (das blaue Feld mit dem Fragezeichen, welches Mario Block genannt wird, da eine eindeutige Ähnlichkeit zu dem Spiel zu sehen ist) gibt mehr Informationen.
ShellCommandTextReturn(cmd /c net use)
Bei der nächsten Inventarisierung werden die entsprechenden Systeme diesen Befehl ausführen und das Ergebnis ins Inventar übernehmen. Direkt nach dem Abspeichern ist hier noch nichts zu sehen.
Sobald das Ergebnis vorliegt, kann es noch durch Verfeinerungen des Befehls angepasst werden.
Sobald das Softwaredetail existiert, befindet in der Berichterstellung ein neuer Punkt.
Unter Berichterstellung | Berichte | Aktion auswählen | Neu (Assistent) befindet sich unter Anzuzeigende Felder ganz am Ende das neu erstellte Feld,was dann auch angezeigt und berichtet werden kann.

Posted by: gsteinberger 1 year ago
Senior White Belt
0

Hi

der Bericht ist gut gelaufen.

Aber es gibt keine Einträge im Bericht.

Was muss ich tun, dass die Netzlaufwerke dort angezeigt werden.

 

Vielen Dank

91XBCkf72megAAAABJRU5ErkJggg==
Posted by: gsteinberger 1 year ago
Senior White Belt
0

Oh sorry,


Hi

the reportwent well.

But thereare no entries in the report.

What do Ihave to do that the network drives are displayed there.

 

Thanks




Comments:
  • the system had no connected network drive at time of the inventory. - Nico_K 1 year ago
    • there is also another option:
      You may bind the shares under the user context (which really makes sense), in my test lab I bound them under SYSTEM for all users (was far away from the lab so I let the system do it for me ;) ) which also are the rights for the agent. It also runs as SYSTEM. Therefore you need a command which shows the network drives as SYSTEM. - Nico_K 1 year ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ