VB Script for Enabling Audit for Failure Event on %SystemDrive% on Multiple...
Hi,Please suggest any VBScript or Batch file to enable Security Audit for Failure Events on %SystemDrive% on Multiple Computers.Regards,Pranay (MCSE, MCITP)
View ArticleMerge configuration of two NPS servers
Hi All,Is it possible merge configuration of two NPS servers to one via PS or VB script. I know we can export and import, but I need especially merge configuration. thanks
View ArticleVBScript - Logon to a MAPI Session - Run an app - Logoff a MAPI session
Hi All,I've never scripted and I'm after a method/script to do the following:1. Logon to a MAPI session using the default MAPI profile or even another profile (Without launching Outlook)2. Run an...
View ArticleScript for delete user profiles Temp,and Temporary Internet file
Can I get script which will clear the Temp and Temporary Internet file from all the user profiles. And need this script for windows 2003 and windows 2008 as well.Thanks
View ArticleTrying to get multiple time inputs from HTA and add it and generate a...
Hi,I am trying to create an excel sheet by getting the inputs through the help of HTA.The problem is I am not able to iterate through rows and get the inputs again and again from the user to build on...
View ArticlePowershell set owner for homefolders
Hi guys, i've been tasked to set ownership on homefolders. users need to be owner of their homefolder.i've found various script but they don't do what i want.i try with the following script but it's...
View ArticlePS3 script for creating OU
I am looking for help creating a script to create an OU called "Secured Laptops" in several locations.My AD structure has OU's like this:Region > City > PCs Under PCs is Desktops and Laptops. I'd...
View ArticleExchange 2007 Powershell... Combine Multiple results in one CSV
I would like to get ActiveSync report for all users in organization along with ActiveSync policies assinged to those users. Since Get-ActiveSyncDeviceStatistics does not provide details about AS policy...
View ArticleScripting Logging in PowerShell (discussion)
Hello everyone,I'm still fairly new to PowerShell; I've only really been diving into it hard for about three weeks now. I have a lot of experience scripting and programming in other languages, so...
View ArticleAccounts will expire in 60 days for vb.net
Looking for a script or code to find all user accounts in AD that are due to expire in the next 60 days from the current date.Trying to put something together in VB.NET, but for some reason I cannot...
View ArticlePowerShell Invoke-Command returning infomation from the remote host
I am trying to build a PowerShell script to repair damaged shortcuts on remote hostsI am using PowerShell V 2 and PowerSE to build the script, running on a Windows 7 Enterprise SP1 and patching is up...
View ArticleHow do I delete shortcuts on my deskptop using powershell scripting.
I have deployed Google chrome on the my system and it created a chrome shortcut on the desktop. Please help me in powershell scripting which will delete the shortcut icon on the desktop and also from...
View ArticleDirectoryEntry ServicePrincipalName SetInfo Contrstraint Violation
Recently I've had to do some work with SPN's and realized that I had no cmdlets for that. So yesterday I wrote a module that wraps setspn.exe into some nice little functions which will work for what I...
View ArticlePowerShell nested Try/Catch
Sorry if this is not posted in the right location.I have a feeling there is a better way to do this. If so, I'm all ears. Anyway, I want to search for an AD user with and without a space in their name...
View ArticleFile copy sync issue - ideas ?
HiMy issue does not fit neatly into any categort so i think this is the best fit.>> The problem is how to provide the robocopy /MIR type functionality over multiple inputs..Let me explain. We...
View ArticleServer Managment using PowerShell
For running PowerShell scripts on a number of servers is there a way to pull the list of server names from an SQL Table instead of a text file? I have my server inventory in an SQL database.
View ArticlePowershell script for auto Gmail logon won't work on 2nd system
I run the following Powershell script to auto logon to a Gmail account on my first Windows 7 system and it works just fine:# Ensure that you are not already signed-in Gmail! #seeking help to improve...
View ArticleAutomatically create new User
Hello everyone.We want to enable our HR to create new users with email via a simple web page. We have the "web" part covered as one of our IT guys is experienced in this field.I have read a series of...
View ArticleHow do I minimize a window in VBScript with WMI
I found this script to open a program in a hidden window and it worked great. I tried changing the constant from 0 to 2, 6, 7, and 11 to see if I could get it to run in a minimized window but none of...
View ArticleManipulate bootmgr from cmd
Hello, I am using a batch script to replace several windows files, and I have found I am unable to modify bootmgr at all from the command prompt (run as admin). I can replace other files like...
View Article