How to check corrupt zip files in multiple folders on a server
I've got a problem where I'm trying use a Powershell script to check without extracting or moving files recursively from a parent folder on a server for any corrupt zip files that have an single...
View ArticleVBscrit to display IP Addresses
I need to display the IP address for the specified room and computer. I have to use a vbscript output statement to display the data (the statement below is psuedocode):Display message " The IP Address...
View ArticlePowerShell Script to fetch Logon/Logoff user on particular server...
Hello, I'm looking for a script which can fetch for me a username that he/she loges in on all the servers.I have tried several scripts, but it doesn't fetch the information i'm looking for.Any help?
View ArticleCompare Server Names in Excel sheet from column1 with column 2 and exact...
Hi Guys,First of all thanks in advance any help much appriciated.I am new in scripting and excel, i am looking for below solution as my job requires daily work of this kind and i came to know by...
View ArticleSuccessfull .Bat file execution
Hi,I have a .bat file consisting couple of actions /tasks ... Rem Task 1: Using ImageX to deploy a image stored on USB . Imagex /apply /U:\install.wim /index:3 D:\Rem Task2 : Copy a...
View ArticleIssue with Enter-PSSession when running from the shell and via script
HelloCan someone please help me with the following issue If I open the PowerShell console and do the followingEnter-PSSession -computername Server1"This is a test" > C:\Log.txt Exit-PSSessionIt...
View ArticleKill processes (using Javascript) on a 64-bits machine (Windows Vista, 7, 8,...
Hi everyone. I have a simple VBScript sample that kills a process by name. It works fine on every OS, X86 and 64 bits :---------------------------kill process...
View ArticleTesting Values in CSV file
Hi,I have a csv file as shown below. I need to create an output csv file which will have only those TESTIDs where the COUNT(UFMID) >100. I am using the following code and I am running into issues....
View ArticleCan a batch file be written to check status of Wifi adapter? Then as outcome...
Hi all,Is it possible to have a batch file check the status (Enabled/Disabled) of a wireless adapter and as an outcome have it change the adapters setting to the opposite of it's current setting?i.e....
View ArticleVBScript which is called with Arguments from Command Line
Hi There. I have been tasked to create a VBScript which needs to accomplish the following: It needs to be called from a command line using 4 different arguments, the arguments in order as follows:-...
View ArticleSet Computer name by computers serial number ?
Hi guys!I need a simple script or something to set computer name(serial number) and add computer to our domain. Computer name should be for laptop, LT-"serialno" and for Desktop it should be...
View ArticleCreating scheduled task without 'Stop if the computer switches to battery...
Hey,I am setting up a scheduled task via commandline (schtasks.exe /create). Problem with this: everytime I set up a task it automatically selects the 'stop if the computer switches to battery power'...
View ArticleMirror files between servers based on newest version
Hi,I have a pool of servers that have a config file that can be updated on each of the servers and need to replicate it between all the servers so they all have the same version of the file.The folder...
View Articleinternetexplorer.application activex component can't create object
I am getting the infamous 429 error with a new image of Windows 2003 Server.I am sure this is an issue with the Windows 2003 Server image, so I have to figure out a work around to get this to work....
View ArticleExecuting PowerShell scripts on a remote host
I need to execute a PopwerShell script on a remote host (i.e. to add or remove Windows features).The script uses some Powershell commands to be executed on the remote host (i.e. to add or remove...
View ArticleHarvesting asset info and output to CSV
I need a script modified that will run on all servers in a work group in order to gather asset data on the appliances running Windows Server 2000 embedded edition. There are no domain services and...
View ArticleConverting csv file from a txt file
Hi,I need to create a csv file from a txt file. However it is not working. "Count,TestID" | Set-Content C:\VPS\TRH_Report.csv foreach ($s1 in Get-Content C:\VPS\TRH_Report.txt) { $s1 | Add-Content...
View ArticleScript 1394 OHCI Compliant Host Controller (Legacy) Driver Install
Hello,Is there a way to install the 1394 OHCI Compliant Host Controller in Legacy Mode by scripting? I know how to manually do it (right click, update driver, browse, let me pick from a list, and...
View ArticleHow to export out the date into the csv file?
Hi, I had been trying to export out the value of the date to csv file.This is the script:$strADPath = 'LDAP://dc=test,dc=com' function ConvertLargeIntegerToDate([object]$LargeInteger){ try { $int64 =...
View Articledisconnect mapped drives for all logged in users?
I have a backup application that needs to mount disks from our storage in order to back them up. It has a problem doing so when the drive specified is already in use by a logged in user to the server...
View Article