Warning: Constant ABSPATH already defined in /customers/0/c/e/ogenstad.net/httpd.www/wp-config.php on line 24 Warning: Cannot modify header information - headers already sent by (output started at /customers/0/c/e/ogenstad.net/httpd.www/wp-config.php:24) in /customers/0/c/e/ogenstad.net/httpd.www/wp-includes/feed-rss2-comments.php on line 8 Comments on: How to Document Servers with SYDI – Part 2 of 3 https://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/ Security Stories and Help with Network Documentation Tue, 26 Mar 2019 17:42:12 +0000 hourly 1 By: Sri https://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/comment-page-1/#comment-173688 Tue, 26 Mar 2019 17:42:12 +0000 http://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/#comment-173688 Dear Sir (Martin gomez),
the powershell works creating one sheet, can you incorporate the information that was going to the other sheets as well in some way shape of form

]]>
By: Martin gomez https://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/comment-page-1/#comment-126273 Wed, 21 Sep 2016 19:51:52 +0000 http://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/#comment-126273 Here is something useful. (I hope). I output sydi to xml files. then parse the xml using powershell to produce spreadsheets with the data I need.

<#
Martin Gomez

read xml into csv file. the xml input for this was produced by runing Sydi against a list of servers.

this is a snip of the xml data. to read serial number. the header is ..identifyingnumber (computer.machineinfo.identifyingnumber)

#>

cls
$path = “C:\Temp\Sydi_inventory\XML”
$OutPath = “C:\Temp\Sydi_inventory”
$ErrorActionPreference = “SilentlyContinue”
$xmls = gci $path\*.xml | select -ExpandProperty name

foreach ($xml in $xmls){

[xml]$Systemfile = get-content “$path\$xml”

foreach( $System in $Systemfile)
{
$a = $System.computer.system.name
$b = $System.computer.machineinfo.identifyingnumber
$c = $System.computer.machineinfo.manufacturer
$d = $System.computer.machineinfo.productname
$e = $System.computer.network.adapter.ip
$H = $System.computer.fqdn | select -ExpandProperty name
$i = $System.computer.operatingsystem | select -ExpandProperty name

$f = $e | select -First 1 | select -ExpandProperty address
$j = $e | select -First 1 | select -ExpandProperty subnetmask
$g = $e | select -Skip 2 | select -first 1 | select -ExpandProperty address
$k = $e | select -Skip 2 | select -first 1 | select -ExpandProperty subnetmask
$l = $e | select -Skip 4 | select -first 1 | select -ExpandProperty address
$m = $e | select -Skip 4 | select -first 1 | select -ExpandProperty subnetmask

$pos = $H.IndexOf(“.”)
$rightPart = $H.Substring($pos+1)
IF ($rightPart -like $null){$rightPart = “Workgroup” }

$1 = new-object psobject
$1| Add-Member name $a
$1| Add-Member Domain $rightPart
$1| Add-Member Serial $b
$1| Add-Member Manufacturer $c
$1| Add-Member model $d
$1| Add-Member IP1 $f
$1| Add-Member IP1_mask $J
$1| Add-Member IP2 $g
$1| Add-Member IP2_mask $K
$1| Add-Member IP3 $l
$1| Add-Member IP3_mask $m
$1| Add-Member OS $i

}
Write-Output $1 | Export-Csv $OutPath\Sydi_Hostlist.csv -NoTypeInformation -Append
}

]]>
By: milad https://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/comment-page-1/#comment-119732 Mon, 16 Nov 2015 19:53:54 +0000 http://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/#comment-119732 hi
i have a problem to connecting my clients and export their info
it says:
70-permission denied

where i should give the permission it needs?

]]>
By: Mohiuddin https://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/comment-page-1/#comment-110294 Fri, 14 Aug 2015 15:53:06 +0000 http://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/#comment-110294 Hello Patrick,

Firstly thank you very much for this script, I first used your script in 2005 and was very helpful, now i need to run this in my network server script is working fine but iam having issue with SQL & Exchange script, SQL script against sql 2012 hanging at getting SQL Jobs and just setting there for hours and Exchange against exchange 2007 not recognizing server, am I doing something wrong ??

]]>
By: patrick.ogenstad https://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/comment-page-1/#comment-105289 Sat, 20 Jun 2015 14:48:09 +0000 http://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/#comment-105289 Carl, you can edit the actual sydi-wrapper.vbs file to specify the options you want to use.

]]>
By: Carl https://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/comment-page-1/#comment-104772 Thu, 18 Jun 2015 07:57:33 +0000 http://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/#comment-104772 Hi, I came across this site and tried sydi in our servers.

I run an issue with sydi-wrapper.vbs

I want the output to be in MS-Word format rather than in XML format and put some word options like:
-b”Table List 4″
-f10
-d

Where can I modify the the sydi-wrapper.vbs?

Thank you.

]]>
By: Alec Waskiw https://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/comment-page-1/#comment-97161 Tue, 28 Apr 2015 21:34:45 +0000 http://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/#comment-97161 Hello Patrick,

My initial minimal testing has produced great results… minimal effort – low level – granular information… fantastic.

If I wish to use this commercially (in the council – ~100 servers (50 production) – what is the costing model… ?

Alec Waskiw

]]>
By: Chris https://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/comment-page-1/#comment-68320 Thu, 13 Jun 2013 13:06:22 +0000 http://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/#comment-68320 Thank you for creating this very useful tool. I am hoping you can assist with a stumbling block i have encountered.
I am running office 2010 with Excel 2010 on the computer deploying the SYDI scripts.

I am trying to run the overview and export
cscript.exe sydi-overview.vbs -x”C:\Scripts\Output files”
it begins to read the .xml files in the target folder but then after the Opening Excel File line, the command line window displays the following error

c:\Scripts\sydi-overview.vbs(549, 2) Microsoft VBScript runtime error: Object required: ‘objExcel.Cells(…).Value’

otherwise everything works perfectly with the exception of this one portion of the script.

]]>
By: Jake https://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/comment-page-1/#comment-67483 Tue, 07 May 2013 01:40:16 +0000 http://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/#comment-67483 Hello,
Can I somehow add columns to the spreadsheet? I need to know the network card adapter model, the speed of the port, if the port is used, IP address, and if anything else about the nic then that would be great!

Thanks!
Jake

]]>
By: Zul https://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/comment-page-1/#comment-58800 Thu, 24 Nov 2011 04:03:15 +0000 http://ogenstad.net/2006/10/18/how-to-document-servers-with-sydi-part-2-of-3/#comment-58800 Mickael,
Had the same issue and resolved by modifying the sydi-wrapper.vbs – http://www.remkoweijnen.nl/blog/2007/10/19/a-referral-was-returned-from-the-server/

]]>