Connexion

Récupérer mon mot de passe

Qui est en ligne ?
Il y a en tout 0 utilisateur en ligne :: 0 Enregistré, 0 Invisible et 0 Invité :: 1 Moteur de recherche

Aucun

Le record du nombre d'utilisateurs en ligne est de 21 le Jeu 17 Oct 2013, 13:40
Derniers sujets
Flux RSS



Flag Counter
Partenaires

[WMIC] EXEMPLE D'URILISATION DE WMIC

Voir le sujet précédent Voir le sujet suivant Aller en bas

[WMIC] EXEMPLE D'URILISATION DE WMIC

Message par Sachadee le Mar 30 Juil 2013, 03:13

Quelque exemples de requete possible avec WMIC :

exemple pour connaître le fabricant du BIOS :

Wmic BIOS GET Manufacturer

le nom du BIOS :

wmic BIOS GET name



ALIASALIAS GET FriendlyName,PWhere,Target
BASEBOARDBASEBOARD GET Product,Manufacturer
BIOSBIOS GET Manufacturer,Name,ReleaseDate,SMBIOSBIOSVersion
BOOTCONFIGBOOTCONFIG GET BootDirectory,Description
CDROMCDROM GET Drive,MediaLoaded,Name,Size,SystemName,VolumeName
COMPUTERSYSTEMCOMPUTERSYSTEM GET Domain,Manufacturer,Model,Name,PrimaryOwnerName
CPUCPU GET CurrentClockSpeed,DeviceID,ExtClock,MaxClockSpeed,L2CacheSize,Caption
CSPRODUCTCSPRODUCT GET Name,Vendor
DATAFILEDATAFILE WHERE “Extension=’ini’ and path=’\\’” GET Name,LastModified
DATAFILEDATAFILE WHERE “Path=’\\windows\\system32\\wbem’ AND Extension=’dll’  GET Name,LastModified
DCOMAPPDCOMAPP GET AppID,Name
DESKTOP 
DESKTOPMONITORDESKTOPMONITOR WHERE Availability=’3′ GET ScreenHeight,ScreenWidth,PNPDeviceID
DEVICEMEMORYADDRESSDEVICEMEMORYADDRESS GET CSName,Name,StartingAddress,EndingAddress
DISKDRIVEDISKDRIVE GET InterfaceType,Model,Partitions,Size,SystemName,Model,Name
DISKQUOTADISKQUOTA WHERE “lIMIT>’100000’”
DMACHANNELDMACHANNEL LIST
ENVIRONMENTENVIRONMENT WHERE “Username=’’” GET Name, VariableValue,Name
FSDIRFSDIR WHERE “Path=’\\Windows\\’” GET CSName,Compressed,EightDotThreeFilename,Filename
GROUPGROUP WHERE “Name=’Domain Users’”
IDECONTROLLERIDECONTROLLER GET Manufacturer,Name,Status,SystemName
IRQIRQ GET CSName,Name,Status,IRQNumber
JOBJOB GET Command,RunRepeatedly,StartTime
LOADORDERLOADORDER GET Name,GroupOrder /format:csv:”sortby=GroupOrder”
LOGICALDISKLOGICALDISK WHERE “DriveType=’3’ OR DriveType=’4’” GET Caption
LOGONLOGON GET AuthenticationPackage,LogonID,LogonType,StartTime
MEMCACHEMEMCACHE GET InstalledSize,CacheType,SystemName
MEMLOGICALMEMLOGICAL GET TotalPageFileSpace,TotalPhysicalMemory
MEMORYCHIPMEMORYCHIP GET Capacity,DeviceLocator,MemoryType
MEMPHYSICALMEMPHYSICAL GET MaxCapacity,MemoryDevices
NETCLIENTNETCLIENT GET Name,Status
NETLOGINNETLOGIN GET PasswordExpires,Name,NumberOfLogons,ScriptPath,LogonServer
NETPROTOCOLNETPROTOCOL GET Name,Status,SupportsBroadcasting
NETUSENETUSE GET Name,Status,UserName
NICNIC GET AdapterType,Caption,MACAddress,NetconnectionStatus,ServiceName,MACAddress
NICCONFIGNICCONFIG WHERE MACAddress!=NULL GET Caption,DefaultIPGateway,DHCPServer,DNSHostName,DNSServerSearchOrder
NICCONFIGNICCONFIG WHERE Index=1 CALL EnableDHCP
NTDOMAINNTDOMAIN GET Description,DnsForestName,DomainControllerAddress
NTEVENT 
NTEVENTLOGNETEVENTLOG GET FileSize,MaxFileSize,LogFileName,OverWritePolicy
ONBOARDDEVICEONBOARDDEVICE GET Description,Enabled
OSOS GET CSName,CSDVersion,OSType,Version,NumberOfUsers,Caption,CurrentTimeZone
PAGEFILEPAGEFILE GET AllocatedBaseSize,CurrentUsage,Name,PeakUsage
PAGEFILESETPAGEFILESET WHERE Name=”C:\\pagefile.sys” SET InitialSize=5000
PARTITIONPARTITION GET DeviceID,BootPartition,Size,StartingOffset,SystemName,Size
PORTPORT GET CSName,Description,EndingAddress,StartingAddress
PORTCONNECTORPORTCONNECTOR GET PortType,InternalReferenceDesignator
PRINTERPRINTER GET DeviceID,Location,ShareName,Status,SystemName
PRINTERCONFIGPRINTERCONFIG GET Color,Name,PaperSize,PrintQuality,XResolution,YResolution
PRINTJOBPRINTJOB GET Document,Name,Owner,PagesPrinted,Status
PROCESSPROCESS WHERE NAME=”calc.exe” CALL Terminate
PROCESSPROCESS WHERE “WorkingSetSize>’1000000’* GET Caption,CSName
PRODUCTPRODUCT GET Name,Version,InstallDate
QFEQFE GET CSName,Description,HotFixID,InstallDate,InstalledBy
QUOTASETTINGQUOTASETTING LIST
RDACCOUNTRDACCOUNT GET AccountName,PermissionsAllowed,PermissionsDenied,SID
RDNICRDNIC GET NetWorkAdapterName,TerminalName
RDPERMISSIONSRDPERMISSIONS LIST
RDTOGGLERDTOGGLE /NODE:”computer1” RDTOGGLE WHERE “AllowTSConnections=’1’”
RECOVEROSRECOVEROS GET AutoReboot,DebugFilePath,KernelDumpOnly
REGISTRYREGISTRY GET CurrentSize,MaxinumSize,Status /FORMAT:CSV
SCSICONTROLLERSCSICONTROLLER GET DriverName,Manufacturer,Name,Status
SERVERSERVER
SERVICESERVICE WHERE Caption=”Telephony” CALL ChangeStartMode “Manual”
SERVICESERVICE GET Name,DisplayName,ProcessID,Started,StartMode
SHARESHARE GET Description,Name,Path /FORMAT:CSV
SOFTWAREELEMENTSOFTWAREELEMENT GET Description,InstallDate,Version
SOFTWAREFEATURESOFTWAREFEATURE GET Caption,Description,LastUse,Name
SOUNDDEVSOUNDDEV GET Manufacturer,Name,Status,SystemName
STARTUPSTARTUP GET Command,Description,Location,User
SYSACCOUNTSYSACCOUNT GET Domain,Name,SID
SYSDRIVERSYSDRIVER WHERE StartMode!=’Disabled’ GET DisplayName,PathName,Status
SYSTEMENCLOSURESYSTEMENCLOSURE GET ChassisTypes,LockPresent,Manufacturer,SerialNumber
SYSTEMSLOTSYSTEMSLOT GET ConnectorType,Shared,SlotDesignation,Status
TAPEDRIVETAPEDRIVE GET Compression,Description,Name,Status
TEMPERATURETEMPERATURE GET CurrentReading,Description,MaxReadable
TIMEZONETIMEZONE GET Bias,DaylightBias,StandardName
UPSUPS GET FirstMessageDelay,LowBatterySignal,MessageInterval
USERACCOUNTUSERACCOUNT WHERE “Name=’username’ AND Domain=’domain’”
VOLTAGEVOLTAGE GET Accuracy,CurrentReading,Description,MaxReadAble
VOLUMEQUOTASETTINGVOLUMEQUOTASETTING LIST
WMISETWMISET GET BuildVersion,LoggingDirectory,LoggingLevel,MaxLog

_________________
@SachaDee
avatar
Sachadee
Admin
Admin

Mensagens : 591
Data de inscrição : 04/06/2013

http://bbat.forumeiro.com

Revenir en haut Aller en bas

Voir le sujet précédent Voir le sujet suivant Revenir en haut

- Sujets similaires

 
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum