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

Using Vbscript to measure cold boot timing

Hi,May I know how to measure the boot up time (Coldboot) for 5 times using vbscript?

View Article


VBScript to check if a user is a group member runs on Windows 7 & 8 but not...

Hi all,I have a VBS function (IsMember) to check whether a user is a member of a group or not - The domain, username and group name are passed in when the function is called... My dilemma is that it...

View Article


Using PowerShell to populate City and State attributes from existing field...

I'm probably overthinking this issue, but I'm a SQL guy, not a powershell guy.We have several users who's office location was populated in the "Office" field of AD.  (physicalDeliveryOfficeName)SOME...

View Article

Can Vbscript measure File transfer for mutliple files?

Hi,Can VBscript able to measure timing for multiple files transfer using WinActivate or other option?Example:copy C:\Single 3GB file to D:\copy C:\Single 5GB file to D:\

View Article

Adding a domain group with spaces to local admin group?

I am trying to automate the rollout of PC's ar my location. I have sysprepped a machine and imaged it with all that we need and after we deploy a machine we use a corporate provided script to join it...

View Article


Deleting cross domain users from groups

I have a group of groups that I am trying to delete all of the users from. It happens that some of the users are in other domains than that of the groups. I have tried both the MS and the Quest...

View Article

Batch file to open existing file and output it in another format

Hello... I have a text file which is in this format:#Time; SampleNum; SampleId; Moisture; Solids; Weight; Water; Amplitude; T2; FreqDiff 23-06-2014 07:28:01; 2655; trial; 58.0; 42.0; 242.4; 140.7;...

View Article

Get-CimInstance for Array of Computer Objects

Hi Folks,Relatively new to PowerShell and am most of the way through Ed Wilson's 'First Steps' book. I'm attempting to use Get-CimInstance; I expect I'm doing something that's very blatantly wrong.I've...

View Article


Unable to loop through a ResultSet (Classic ASP, ADO)

All,I have inherited a legacy web site and have encountered a problem that I can't get figure out:The program structure is as follows: 1. Execute a SQL Server Stored proc and create XML from the result...

View Article


Regarding file download in power shell

Hi team,I was trying to download a file from a location on the internet after giving the credentials to log into the website. I am getting the download prompt for saving the file but I want to automate...

View Article

Trying to run program off network location using GPO with Power shell script.

Hello All,Not much of a script writer. I am giving it a shot.  My issue is that I need to run a application update across our network and I am trying to do it with as little hands on as possible. So I...

View Article

Update vbscripts that copy files to sharepoint via DAV to use powershell...

Update vbscripts that copy files to sharepoint via DAV to use powershell instead.

View Article

VB Script to send email when diskspace LOW

Below script produces a report and mail sent successfully,  but no disk space details in the body, only table with headings.On Error Resume Next Const ForAppending = 8 Const HARD_DISK = 3 Const...

View Article


How to parse parameter into vbscript on command prompt

Hi there, i wanted to parse a parameter into vbscript file. i wrote a batch file and will be scheduled to run at specific time. when it runs, it will parse a parameter into another file, written in...

View Article

VBScript : the Document object help

Hello everybodyI am unable run following script using the current browsers. please help<scriptlanguage="vbscript"type="text/vbscript"> var1 =10 var2 =20Sum= var1 + var2 document.write("The Sum of...

View Article


RegistryKey.OpenRemoteBaseKey Method with Hy

Hello.  I'm developing a script to connect to the registry of a remote computer, as the excerpt below.param ([String]$computer) $sKeyA = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" $type =...

View Article

Network binding order‎ without nvspbind

Hi,I am lookingto put anewpossibility, theNICbind orderwithPowerShell.The use of nvspbind isunfortunatelynot an option.$ServerName = "work" $objReg =...

View Article


Query to Find what SQL Server services running, what status and with what...

I need to check what SQL Server services are running(engine,agent,IS,AS,RS,browser and Full text) and what is the present status and what service accounts are been used by them on several servers in a...

View Article

Creating the batch file to search for last modified .exe file with same name...

I want  to write a batch file which search for .exe from two folder in the network and override the old one with the new .As iam new to batch programming i would like have code in details if any one...

View Article

Script to rename multiple files

I have about 30k image files on my pc in 1 dir C:\TEMP1\ for example. These files all have to be renamed to a specific unique name. Aside from these files I also have an xml file that contains...

View Article
Browsing all 15028 articles
Browse latest View live


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