Alex's Weblog

Weblog di Ermanno Goletto (Codename Alex - A Learning EXperience)
posts - 438, comments - 3539, trackbacks - 467

My Links

News

Il blog è stato
trasferito al
 seguente link:


DevAdmin Blog

Add my blog to Live

Foto

Curriculum Vitae


Il contenuto di questo blog e di ciascun post viene fornito “così come é”, senza garanzie, e non conferisce alcun diritto. Questo blog riporta il mio personale pensiero che non riflette necessariamente il pensiero del mio datore di lavoro.

Logo Creative Commons Deed


Logo MCTS

Logo MCSA

Logo MCP

Logo Microsoft Certified Business Management Solutions Professional

Microsoft Certified Business Management Solutions Specialist


Logo UGIdotNET UGIdotNET Contributor


Logo UGISS UGISS Contributor


Logo SysAdmin.it SysAdmin.it Staff


Article Categories

Archives

Post Categories

Blogs

Database

Development

Friends

IT

Knowledge Base

Links

MBS

MCP

MVP Sites

User Groups

Virtualization

August 2006 Blog Posts

Elencare i print job tramite WMI

Uno snippet per i print job in corso. Dim path As New System.Management.ManagementPath("root\cimv2")Dim options As New System.Management.ConnectionOptions 'Local Hostpath.Server = "." 'Remote Host'path.Server = "ServerName"'options.Username = "DomainName\UserName"'options.Password = "UserPassword" Dim scope As New System.Management.ManagementScope(path, options)Dim query As New System.Management.ObjectQuery( _       "SELECT Name, Document, JobStatus, Owner, TotalPages, Size, TimeSubmitted FROM Win32_PrintJob")Dim search As New System.Management.ManagementObjectSearcher(scope, query)Dim objectCollection As System.Management.ManagementObjectCollection objectCollection = search.Get() Dim printerName, document, owner As StringDim pages, size As System.UInt32Dim timeSubmitted As DateTimeFor Each prntJob As System.Management.ManagementObject In objectCollection       printerName = prntJob("Name").ToString().Split(","c)(0)       document = prntJob("Document").ToString()       owner = prntJob("Owner").ToString()       pages = System.Convert.ToUInt32(prntJob("TotalPages"))       size = System.Convert.ToUInt32(prntJob("Size"))       timeSubmitted = System.Management.ManagementDateTimeConverter.ToDateTime( _                prntJob("TimeSubmitted").ToString())        Console.WriteLine("Printer: " & printerName)       Console.WriteLine("Document: " & document)       Console.WriteLine("Owner: " & owner)       Console.WriteLine("Pages: " &...

posted @ Wednesday, August 23, 2006 12:29 PM | Feedback (4) | Filed Under [ Links Code & Snippet ]

KB Exchange 2003

How to use a VBScript to write proxy addresses to an Ldifde.exe-compatible import file in Exchange Server 2003 http://support.microsoft.com/kb/922258

posted @ Tuesday, August 22, 2006 8:59 AM | Feedback (1) | Filed Under [ Links IT ]

KB ASP.NET

Loading Web Parts into a catalog at run time http://support.microsoft.com/kb/910446

posted @ Friday, August 11, 2006 7:41 PM | Feedback (4) | Filed Under [ Links ASP ]

Modifica allo script Sendmail.vbs

Dietro suggerimento ho modificato lo Script per inviare mail tramite CDOSYS per supportare anche i parametri -Cc e -Bcc.

posted @ Friday, August 11, 2006 4:20 PM | Feedback (1) | Filed Under [ IT ]

Powered by:
Powered By Subtext Powered By ASP.NET