Quantcast
Channel: The Official Scripting Guys Forum! forum
Browsing all 15028 articles
Browse latest View live

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 Article


Batch 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 Article


VBScript Editor and Tutorials

Can anyone recommend a good VBScript editor and tutorials?I'm just starting to use VBScript and need some help.

View Article

Script 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 Article

Diskpart 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 Article


Powershell-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 Article

Removing 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 Article

Image may be NSFW.
Clik here to view.

Silent 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 Article


Need 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 Article


Start 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 Article

Can 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 Article

Error 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 Article

Script 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 Article


substring 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 Article

Is 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 Article


How 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 Article

Using 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 Article


VB 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 Article

Parsing 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 Article

Operations 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
Browsing all 15028 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>