Telephone: 0208 942 5724
Email: info@aspecttraining.co.uk
YOUR COURSE, YOUR WAY - MORE EFFECTIVE IT TRAINING - NOW VIRTUALLY
Telephone: 0208 942 5724
Email: info@aspecttraining.co.uk
YOUR COURSE, YOUR WAY - MORE EFFECTIVE IT TRAINING
Aspect Training's Microsoft Window's Scripting Introduction/Intermediate course provides the knowledge on on how to write system administration scripts.
This practical learning course teaches how to use scripting techniques to gain control over your Microsoft Windows, Microsoft Internet Information Services (IIS), and Microsoft Exchange Server environments—all at your own pace.
Build practical skills on everything from writing your first script in Microsoft Visual Basic® Scripting Edition (VBScript) to working with Windows Scripting Host (WSH), Windows Management Instrumentation (WMI), and Active Directory® Services Interface (ADSI), and from creating logon scripts to automating the management of systems, user accounts, files, printers, the registry, network services, directory services, security features, group policy, and more.
Previous programming experience would be useful but is not essential
Option Explicit
On Error Resume Next
Dim
Enhancing Your Script
Docs That Make House Calls
Modifying an Existing Script
For Each...Next
Defining Constants
Constants vs. Variables
Shared Benefits of Constants and Variables
Collections
For...Next
Do While...Loop
Do Until...Loop
If...Then
Intrinsic Constants
If...Then...ElseIf
If...Then...Else
Select Case
Command-Line Arguments
Making the Change
Running from the Command Prompt
No Arguments?
Creating a Useful Error Message
Using Multiple Arguments
Reasons for Named Arguments
Making the Change to Named Arguments
Running a Script with Named Arguments
Moving Past Lame Arrays
What Does UBound Mean?
Two-Dimensional Arrays
Mechanics of Two-Dimensional Arrays
Using the For...Next Construction
Assigning Values to Each Element
Parsing Passed Text into an Array
Parsing Passed Text
Working with Dictionaries
Using the Dictionary
Compare Mode
Adding Items to the Dictionary
Creating File System Object
File It Under Files
File Properties
File Attributes
Implementing the Attributes Property
Setting File Attributes
Writing to a Text File
Overwriting a File
Existential File Approaches
Creating the Basic Folder
Automatic Cleanup
Deleting a Folder
Deleting Multiple Folders
Binding to Folders
Does the Folder Exist?
Copying Folders
Moving On Up
An Object in Any Other Namespace...
More Than Just a Name
Providers
Adding a Touch of Class
Querying WMI
Alternate Ways of Configuring the WMI Moniker
Accepting Defaults
Working with Multivalue Properties
Moniker Security Settings
WbemPrivilege Has Its Privileges
Selective Data from All Instances
Selecting Multiple Properties
Specifying Specifics
Smooth Operator
Where Is the Where Clause?
Working with ADSI
ADSI Providers
LDAP Names
IADsContainer
Binding
Creating Users
Working with Users
General User Information
Creating the Second Page
Staying Put
Deleting Users
Connecting to Active Directory to Perform a Search
Creating More Effective Queries
Searching for Specific Types of Objects
What is Global Catalog?
WMI and the Network
Making the Connection
Changing the TCP/IP Settings
Merging WMI and ADSI
Win32_NetworkAdapterConfiguration
15. Subs and Other Round Things
Working with Subroutines
Calling the Subroutine
Creating the Subroutine
Creating Users and Logging Results
Working with IADsADSystemInfo
Using Logon Scripts
Deploying Logon Scripts
Using the WshNetwork Class
Using the Join Function
First You Back Up
Creating the WshShell Object
Setting the comspec Variable
Defining the Command Line
Connecting to the Registry
Unleashing StdRegProv
Creating Registry Keys
Writing to the Registry
Deleting Registry Information
Working with Win32_Printer
Obtaining the Status of Printers
Creating a Filtered Print Monitor
Monitoring Print Queues
What’s in a Name?
CIM_ManagedSystemElement
CIM_Setting
IIsStructuredDataClass
CIM_Component
CIM_ElementSetting
Using MicrosoftIISv2
Making the Connection
Creating a Website
Working with the Exchange Provider
Connecting to MicrosoftExchangeV2
The Exchange_QueueSMTPVirtualServer Class
Exchange Public Folders
Exchange_FolderTree
Download Print Friendly PDF Back to Home