SMTP error 4.4.2
Dear sir,I getting the SMTP error below consistently with 1 object in the Foreach pipeline. The others work fine and send the email. There is nothing wrong with the object itself. I put output to...
View ArticleMove Files Based on External File Listing
I receive a series of directories every month that contain PDF files showing various customer product use statistics for the previous month. Each file name starts with a “Testing Center” ID that...
View ArticleMaking Forfiles.exe handle source paths with spaces..
Trying to run a batch file to clean up backed up .pst files that are older than 30 days on a 2012 R2 server. I found some syntax that will echo the path to the pst files in question. It works as...
View ArticleUsing Powershell to attach PST files
I have used PowerShell to attach PST files to outlook in the past. Is there a way to write a script that would attach all PST files in a target folder to outlook?
View ArticleNeed help in writing a vbs script
I am very new to scripting and need help in scripting the following:When the Windows 7 machine boots up or a user logs on (easy to do with GPO), I want to execute a script that starts some servicesONLY...
View ArticleAD Powershell Script Add User to AD Groups Based On What's In The Description...
I am working on a powershell script that will create a user account based on the users inputs. Based on one of the inputs "Cost Center", I want the user to be added to specific active directory...
View ArticlePowershell Newbie Question
I have a script that's searching active directory for all users with a specific email domain then the script is moving all the users to a specific OU....
View Articlegenerate a vbscript code to delete a word using random function and retyping...
I am new to VBscript, i want a code that can delete any random word and then replace it with the same character I deleted,!! Here is the code,Dim SearchString, SearchCharDim intLength, MyPos ' Open...
View ArticleAD Query for specific set of user attributes and formatting output
just getting started with powershell and read the following technet article http://technet.microsoft.com/en-us/library/ff730967.aspxI have modified the script from the page above to find what I want it...
View ArticlePowerShell: How to export the logon/off time to csv file??
Hi everyone, i need some help on writing powershell script in windows server 2008 r2i am trying to wirte a script that will scan through the log files and extract all logon time and logoff time of...
View ArticleNeed help getting VBScript to run remotely
I have a VBScript that runs fine locally but I also need to run it remotely on our network. I've tried using the code on this page http://technet.microsoft.com/en-us/library/ee692838.aspx#EBAA but I...
View ArticleGroup Policy enable-psremoting
I have been working on this for the last 10 hours. I cannot seem to get it working. I followed all of the steps from http://www.briantist.com/how-to/powershell-remoting-group-policy/Under the Security...
View ArticleEnumerating Scheduled Tasks in Windows 7 with VBScript doesn't work
The following code does work on a Windows 7 machine. Is there a way to get this to execute?'==============================strComputer = "." Set objWMIService = GetObject("winmgmts:" _ &...
View ArticleScript To Enlist All "Built-In" User Accounts in the Domain
Hi There,I am looking for a script that will enumerate/list all built-in user-accounts in the domain -- not other user accounts. LDAP Filter: "(sAMAccountType=805306368)" gives all User-Accounts,...
View ArticleExport to CSV question
I have what might be a somewhat unique export question but hopefully has a simple answer.I found a custom function that will query a server's certificate store and return all the certificates,...
View ArticleHelp with AD 2008R2 Script
Hi All, I am not sure how to accumplish the task I have been set so I am turning you from some help.TASK: Create a VB script to identify if users have or have not got the ' Deny this user permissions...
View ArticleVBS Scripting Error
Good afternoon,I've been playing around with this script and cannot get it to run without "network path not found". I see the line that the message refers to, but I'm not seeing how it's an error given...
View ArticlePowershell - Need help combining multiple commands (?) into one script
Scenario:When a user is terminated from our company, I run these scripts separately:1. I use the script below in Windows Powershell ISE to launch an entry box so I can enter in the username@domain and...
View ArticleHow can I delete a letter in a string and retype the same letter which was...
Here's my code, I want to delete any letter That I wrote and retype the same letter again, which was deleted, With the below code which I wrote, It is just typing the words that I wrote in the google...
View Articleexecuting batch file as administrator changes working directory
hey guys,I already posted this question on the msdn-forums and they sent me here. I hope, you can help me.My situation: I have a java program which I compile with exe4j. exe4j adds some nice features...
View Article