Write install script
HII'm a complete noob when it comes to power shell and scripts so im here to ask how or for someone/guide me on what to do.I have a server 2008 R2 ent DC and i want to apply a GPO install script to all...
View ArticleBatch File - Replace old version
I have a Word document that I have created which contains several macros. This file is copied by other employees into different folders on the file server for them to use. I often make admentments to...
View ArticleVBScript Editor and Tutorials
Can anyone recommend a good VBScript editor and tutorials?I'm just starting to use VBScript and need some help.
View ArticleScript to log in and out as each user sequentially: Is it possible?
Hi. Earlier, a moderator move my question from this forum to the Win 8.1 deployment forum, and I believe he may have been a bit hasty, but I'm unable to contact him. The thread is linked below:Script...
View ArticleDiskpart script, or other to automate applying a sysprep image?
Hey, Im learning about doing sysprep and creating images for easy deplyment. I have a situation depending on how I boot windows_pe, either from a cd, or a bootable usb, or if a computer has more than...
View ArticlePowershell-Automated printing to pdf of a webpage
I am trying to automate the printing of a webpage using Powershell. Everything is running perfectly except for the naming of the pdf. I am trying to make it save the file as the current date, but for...
View ArticleRemoving only exchange license using PowerShell in Office365
Howdy Scripting Guys and Gals,This is an Office 365 PowerShell Question. I'm trying to write a script that will only remove a single sku part from a user license. In other words, I have user that...
View ArticleSilent parameter to use in FirstLogonCommand in OOBE pass
what parameter can I use so that pop-up window stating windows activated successfully doesn't show and make me hit ok after I login? I put the below CommandLine script in OOBE > FirstLogonCommand...
View ArticleNeed a VB-Script that read a txt-file and only the lines that are new since...
Hi,I need help to write a VB script that read all new lines since the last time.For example: The script reads the textfile at specific time, then 10 minutes later the script read the file again, and...
View ArticleStart powershell script within Powershell script with arguments
Hey I am trying to start a powershell script within a powershell script. This seems very easy - I thought, too. But I need several additional things to make sure: 1. I can give additional parameters to...
View ArticleCan powershell be used to provide a list of people with reset password ability?
We are trying to tighten our security, but thanks to the environment we are in this is a bigger task than it should be. As part of this I have been asked to get a list of users who have the ability to...
View ArticleError when launching vbscript at windows startup
I have a thin client running WES 7 Standard trying to launch a powerpoint file without loading the shell(explorer). I've done this with other applications like IE and Citrix Apps but am getting an...
View ArticleScript to map default printer based on user input
Hello everyone,Complete scripting noob here but I managed to cludge together a vb script (from various sources) that will remove all current printers and then add printers based on group membership....
View Articlesubstring of time in cmd variable
Windows Server 2003 R2, Enterprise Edition, sp 2This should be simple enough:E:\>time /t 09:34 AM E:\>echo %time:~0,2% 9 E:\>Why is the substring of time replaceing the leading zero with a...
View ArticleIs there any script available to fetch the logged in time of all users in a...
Hi, I have been searching for a script ,that fetch the logged in time of all the users in a particular computer for a month.I couldnt find anything.Thanks in advance for quick response.Thanks and...
View ArticleHow to add a comma to separate an array list in Powershell
The following script will get me a list of files in a directory and the $dir variable is a system.array.$Dir = Get-ChildItem -Path "C:\Windows\"$Dir If I pipe the output to the foreach loop like so$Dir...
View ArticleUsing The MessageBox Class in The System.Windows.Forms namespace
Hello,I'm new to Powershell and .Net and I am trying to come up with a simple form for a user to input values to change their power settings on windows 7 and the last field I thought it would be...
View ArticleVB Scripting to monitor application event log based on specific words.
Hi All, I Have written, vb script to monitor application event log based on specific word in the message. when I have included same script in monitor, after running this script at specific time once in...
View ArticleParsing text file
I have a text file as the input file, I would like to generate a csv or text file, each line has only class name, student id, score,average. Basically, I want to collect these four type information...
View ArticleOperations error occured when executing LDAP query to read members of AD...
My code javascript script is objConnection = new ActiveXObject("ADODB.Connection"); objConnection.Provider="ADsDSOObject"; objConnection.Open("ADs Provider"); objCommand = new...
View Article