Dialog box for adding printers
I'm just trying to create a script which I'm not 100% sure if it will work with VBS. There is already a script in place which selects their default printer depending on a user group but for some I...
View ArticleDouble-clicked file as input parameter to vbscript
I want to open .mp3 files with mpg123.exe silently when a .mp3 file is double clicked from within Windows Explorer. For this I wrote a vbscript as bellow and changed the default program for playing...
View ArticleHelp with a script to clear cache/cookies and set browser options
my scripting knowledge is very limited and deep diving into it isn't time friendly to complete this task, so I'm hoping someone here can assist. I've tried to compile a few versions from various...
View ArticleConvert SAML accounts to windows token
Dear All,I have an urgent requirement to convert all the SAML accounts to Windows token using powershell script. Anyone have script to do the needful would be highly appreciated. They are like...
View ArticleHow to monitor an entire folder tree for new files with PowerShell?
Hey guys,I am still a PowerShell noob and I have seen this blog post for monitoring a folder for new files.I was wondering how easy it would be to modify it so that rather than montoring the specified...
View ArticleBatch Create Shortcuts for Multiple applications to Runas Admin Accounts
HiAs part of a support team where we have a Standard user account and an Admin account i would like to create a Powershell Script that would allow the creation of shortcuts for a few executables...
View ArticleVB Script for to get the sizes (original sizes (KB or GB or TB) of folders...
Please suggest and provide as soon as possible.Thanks.Sudhakar
View ArticleVB Script to accept PC names in text file and get registry key value out of...
Hi All,My task: Create VB script to accept PC names from a text file, process each host name to get Registry key value of individual host name and finally export them to a text file or an excel sheet...
View ArticleDisable IP6 with Powershell
Is ther ea quick and easy way to disable IP6 with Powershell. And basically I just mean to untick the "Internet Protocol version 6" box in the NIC properties.Thanks,Scott
View ArticleChange Power Button Action via script or API call
Hi, I was wondering if there was an automated way to run a script to change the power settings in Windows XP Home/Pro via a single script. Powercfg.exe works for general power settings, but can't...
View ArticlePassword expiry notification!
Experts out there !I am running the below script to send out email notification to all AD users whose password is going expire (mainly for the remote users who do not login to domain), below script...
View ArticleAppend to AD User Account Description Property
How do I incoroporate this into the script below. I need to Append/Add to the AD User Accounts' description propertyflagged for disablement with (Dor-Get-Date-IEM).#My Script cls Import-module...
View ArticleScript to copy newest version of particular files in a list
I'm trying to write a script that copies files between two remote servers. Files are all in one directory, however there are many files with "Similar" names going back 2 weeks. I only want the newest...
View ArticleWSF multiple scripts start? Newbie question
So I have a script that is called within a VB app. When I let it run alone, there is no problem. However, when I start to click around in Windows, several instances of the script fire. I end up going...
View ArticlePowershell - Add content from one CSV-file to another IF user exist in both...
Greetings,I have two CSV-files, file.csv and ad.csv.file.csv"DisplayName","PrimarySmtpAddress","WhenMailboxCreated","IssueWarningQuota","Total Size (MB)","KAP""gemensam","gemensam@xyxy.se","2012-12-18...
View ArticlePowerShell Forms
I would like to create a form where user select by placing a X or a check mark of the item to execute. Only one item should be selected. Thank youHere is my codeFunction Validate-Input-Fields { $x =...
View ArticleNeeds a script that should run *.exe or *.bat file as runas admin without...
Hi, I have an *.exe and *.bat file and i am planning to give those files to domain users to run their self. Normally domain user don't have admin rights. So i need a script to run *.exe or *.bat file...
View ArticleParsing a text file using logparser
DearsI tried to parse a text file below It worked well in the first line, each column is in its position,column1, column2, column3It's not worked in the second line, it becomes column1, column2Any...
View ArticleHow to list all .URL shortcuts on multiple computers desktops
I've been searching to find a Powershell script that polls a list of computer names and then returns a list of the .URL shortcuts along with their targets from the logged in users desktop.Does anyone...
View ArticleI want a batch file that automatically creates a errorlog.txt if the current...
Hello, i really hope someone can help me with this question...I have a serveral .txt files in a folder those .txt files are updated each day automatically true Task Schedular.Now i wan to create a...
View Article