Exemples

 

 

accueil | console | VBScript | PowerShell | php | MySQL | documentation | formation  | trucs et astuces | exemples | glossaire

 

 

 

 

 

Les scripts ci-dessous sont (c) 2005-2010 Ed Wilson, Microsoft Corporation, extraits de son livre VBScript Step by Step (Microsoft Press). Votre serviteur a lu un certain nombre de livres techniques en trente et un ans d'informatique. Celui-ci est exceptionnel par sa clarté, sa pédagogie et la qualité de ses exemples. Dans cet ouvrage, aucune phrase ne comporte plus d'un sujet, un verbe et un complément, rendant sa lecture d'une fluidité étonnante. A lire absolument si l'on veut comprendre VBScript. [l'image ci-contre ne représente pas Ed Wilson]

 

Ces scripts se trouvent sur le CD d'accompagnement du livre. Ils sont rendus disponibles ci-dessous pour téléchargement libre de droits.

 

Cette liste HTML a été réalisée avec l'outil build_html_list.vbs.

 

 

ADouWmiDHCP.vbs
AlternateWMI.vbs
appLog.csv
argComputerService.vbs
ArrayReadTxtFile.vbs
ArrayReadTxtFileCheckServices.vbs
ArrayReadTxtFileUbound.vbs
BasicArrayForEachNext.vbs
BasicArrayForNext.vbs
BasicDictionary.vbs
BasicDictionaryAddKeys.vbs
BasicDictionaryCount.vbs
BasicDictionaryKEYS.vbs
BasicDictionaryRemoveKeys.vbs
BasicLog.vbs
BasicQuery.vbs
bindFolder.vbs
browseFolderListFiles.vbs
CheckArgsPingMultipleComputers.vbs
CheckArgsPingMultipleComputersSupplyValue.vbs
CheckNamedArgCS.vbs
CheckServiceStatus.vbs
CIMSettingClass.vbs
CmdDir.vbs
CollectionOfDrives.vbs
ComputerRoles.vbs
ConnectToADOU.vbs
ConvertToGig.vbs
copyFolder.vbs
copyFolderExtended.vbs
CPUType.vbs
CreateAddRemoveShortCut.vbs
CreateBasicFolder.vbs
CreateBasicFolder_checkFirst.vbs
CreateComputer.vbs
CreateGroup.vbs
CreateMultiFolders.vbs
CreateOU.vbs
CreateRegKey.vbs
CreateSite.vbs
CreateTempFileNameAndOpenInNotepad.vbs
createTextFile.vbs
createThreeUsers.vbs
CreateUser (2).vbs
CreateUser.vbs
CreateUsersLogAction.vbs
DeleteBasicFolder.vbs
DeleteMultiFolders.vbs
DeleteRegKey.vbs
DeleteUser.vbs
DetermineBios.vbs
DisplayAdminTools.vbs
DisplayAdminTools_logged.vbs
DisplayComputerNames (2).vbs
DisplayComputerNames.vbs
DisplayComputerNamesWithComments.vbs
DisplayProcessInformation.vbs
DisplayProcessInformationExtraConstants.vbs
DisplayProcessInformationFiveMinutes.vbs
DisplayWPAstatus.vbs
DoLoopMonitorForProcessDeletion.vbs
EfficientFolder.vbs
EfficientFolderLogging.vbs
EfficientFolderLoggingDelete.vbs
employeesTest.mdb
enableDHCP.vbs
ExchangeFolderTree.vbs
ExchangePublicFolders.vbs
ExchangeSMTPQueue.vbs
fileAttributes.vbs
FilterComputers.vbs
FilterComputersByName.vbs
FilterPrinterStatus.vbs
ForMatTxt.vbs
FunString.vbs
GetComments.vbs
GetCommentsTimed.vbs
ifThen.vbs
ifThenElse.vbs
isArray.vbs
Join.vbs
LinearScript.vbs
LISTAdminTools_logged.vbs
ListClassMethods.vbs
ListClassProperties.vbs
listfiles.vbs
listfilesExtProperties.vbs
ListFolderSizes.vbs
ListName_Only_AllShares.vbs
ListName_Path_Max_Shares.vbs
ListRunningProcesses.vbs
ListServicesInProcesses.vbs
ListShares.vbs
ListSpecificGreaterThanShares.vbs
ListSpecificShares.vbs
ListSpecificWhereVariableShares.vbs
ListWmiClasses.vbs
ListWmiClassesDictionary.vbs
ListWmiClassesTextSearch.vbs
ListWMINamespaces.vbs
ListWmiProviders.vbs
LoggedRunningProcesses.vbs
LogonScript.vbs
LogonScriptCallExternalScript.vbs
LogonScriptCallExternalScriptCaptureError.vbs
LookFor3GB.vbs
ModifyOrganizationPage.vbs
ModifyTelephoneAttributes.vbs
ModifyTerminalServerProfile.vbs
ModifyTerminalServerProperties.vbs
ModifyUserAddressTab.vbs
ModifyUserProfile.vbs
ModifyUserProperties.vbs
MonitorForChangedDiskSpace.vbs
MonitorPrinterStatus.vbs
MonitorPrintQueue.vbs
moveFolder.vbs
msgBox.vbs
MultipleComputerMouse.vbs
MultiValuesSearch.vbs
myFunLine.vbs
NamedArgCS.vbs
ParseAPPLog.vbs
Ping.vbs
pingMultipleComputers.vbs
PromptCPU.vbs
QueryAccessUsingADO.vbs
QueryAllProcessors.vbs
QueryAllProcessorsSyntax.vbs
QueryExcelUsingADO.vbs
QueryGC.vbs
ReadHotFixes.vbs
ReadSecurityEventLog.vbs
ReadSecurityEventLogHeader.vbs
ReadTextFile.vbs
RealServersAndServices.txt
RecursiveListOfFolders.vbs
RecursiveListWMINamespaces.vbs
RegBack.vbs
RetrieveComputerSystem.vbs
RetrieveWMISettings.vbs
runNetStat.vbs
SearchTXT.vbs
SearchTXTmultiValues.vbs
ServersAndServices.txt
ServiceAccount.vbs
ServiceAccountLogged.vbs
ServiceInfo.vbs
SetFileAttributes.vbs
SkipLineToLookFor3GB.vbs
SmallBIOS.vbs
SpaceAndVBNewLine.vbs
SpecificSearchServer.vbs
SubRoutineScript.vbs
SysInfo.vbs
TimerFormatNumberLoop.vbs
VerifyFileExists.vbs
VideoAdapterRam_HardCoded.vbs
VideoAdapterRam_UseFunction.vbs
WhileWendLoop.vbs
wmiProvidersXP.xls
workWith2DArray.vbs
WriteToRegKey.vbs

 

 

[début]


 

accueil | console | VBScript | PowerShell | documentation | formation  | trucs et astuces | exemples | glossaire