Search found 5 matches

by bareedaa
Sun Jun 09, 2013 1:56 am
Forum: VBScript
Topic: IMporting the XML file using VB.Net
Replies: 1
Views: 11784

IMporting the XML file using VB.Net

I would like to import the following XML files using vb.net. Please help::: <?xml version="1.0" encoding="iso-8859-1" standalone="no"?> <REQUEST> <REQUESTID>384778</REQUESTID> <SUBJECT>ENCANA.PRD.PERSON_3.NEWHIRE</SUBJECT> <PERSON EMPLID="2013041"> <NAME flag="A"> <value>Test2013041, User2013041</va...
by bareedaa
Thu May 30, 2013 2:14 pm
Forum: VBScript
Topic: Creating a user account in Active Directory
Replies: 2
Views: 8234

Re: Creating a user account in Active Directory

I have the following script. Please help: Public Sub CreateAdAccount(ByVal sUserName As String, _ ByVal sPassword As String, _ ByVal sFirstName As String, ByVal sLastName As String, _ ByVal sGroupName As String) Dim catalog As Catalog = New Catalog() Dim dirEntry As New DirectoryEntry() Dim adUsers ...
by bareedaa
Thu May 30, 2013 12:33 pm
Forum: VBScript
Topic: Creating a user account in Active Directory
Replies: 2
Views: 8234

Creating a user account in Active Directory

I am new to VB:
I would like to have a script that creates a new user name(user account) in active directory with first initial and last name. If the same name already exists add a middle initial. If still exists add a numerical value to the new username.
by bareedaa
Mon May 20, 2013 8:40 pm
Forum: VBScript
Topic: Calling Powershell Scripts Via VB
Replies: 2
Views: 8293

Calling Powershell Scripts Via VB

I would like to call the following powershell scripts in to VB: Get-ADUser -Filter {Enabled -eq $false} -Searchbase 'ou=Q1,Dc=demo,DC=corp' | ForEach{ Set-MailboxAutoReplyConfiguration -Identity $_ ` -AutoReplyState Enabled ` -ExternalAudience All ` -InternalMessage 'Your message to internal users' ...
by bareedaa
Mon May 20, 2013 1:03 pm
Forum: Windows PowerShell
Topic: Setup an Out Of Office text reply for disabled AD account
Replies: 1
Views: 4570

Setup an Out Of Office text reply for disabled AD account

I would like to Setup auto an Out Of Office text reply for disabled active directory account(whenever the employee is terminated)using powershell. I need to have auto reply whenever the user account/mailbox user with in active directory is disabled. I have the following script to automate but it is ...