Main Topics
Browse All Topics Hello,
I need a script to reboot windows 2008 server with scheduled task.
Thanks
Hi,
I have about 500 dell servers.Is there a way the script scans the txt file that has the service tags one perline and gets the warranty details from the link below.
...
Hello.
I am struggling with trying to get my Active Directory queries to export to a text file so that I can use them as input for other scripts. I'm sure I'm missing the obvious because this has to be an easy thing to do. I have tried using...
Is it possible for a VBscript to open a maximized (not fullscreen) Internet Explorer window and bring it to the foreground? I am using a VBscript to call an IE window and uses it as a form to gather info from a user as shown below.
Set IE =...
Is there anyway to check if a number is a valid U.S. cellphone number?
it will be in this format:
0000000000 (10 digits, area code+number)
and the user will have selected their service provider (ie: Verizon)
I want to edit the host file of all my users computers .Following is my requirement
1, Want to edit the host file , in which i want to change the IP address but the host name will remain same.
2, Need to deploy using group policy to all my...
I am new to dynamic table creation. This table is simple in concept.
Can add as many tables as nec. Each table can add/delete/toggle rows.
Table row 1): Cell1:Title, Cell2:Min/Max, Cell3:closeTable
Table row 2): Cell1:Content(form),...
Hello, I want to simulate form post in php so the "form" that would have been filled out by the user is done internaly but still goes to the action page on the new site....
This is the form I want to replace and do internal...
$output =...
The following iFrame shows :
"Internet Explorer cannot display the webpage" in IE
and
"Blank Page " in Safari.
Any solutions?
Sorry this is quite long and complicated - only for the real experts - but quite fun I think.
I think it's easier to explain stuff with code - so here's a non-working example:
--------------------------
function lib() {
...
Hi,
Script to check the warranty of servicetags from the HP website.Is there a way to get the warranty from the HP website from a list of service tags in a file.
...
Hi guys was wondering if anyone knew why i cant get this code to run?
Cheers
Nathan
Hi,
I have a batch file to connect to the remote server using the net use command and i am using a service account for it.
But, the problem is that the password is in clear text so is there any way so that i can encrypt the password or any...
Dear Experts,
Could you please have a look at the attached file and code, it is an VBScript file which is able to login to SAP.
My short question would be that how to continue and for example enter a transaction after?
For example the...
Hi All,
I'm trying to run a robocopy command within a VBScript which isn't producing an error, but isn't completing the required file copy either. I need to use VBScript as a list of folders must be iterated through.
This code works if...
I'm needing a Powershell script that will grab a filename from the file that is being copied. I want to be able to trim the filename of characters that are not needed and then store this as a variable. So if the file being copied is named...
Is it possible to perform parallel execution of commands or cmd'lets in powershell? I have a dynamic(the list does not have to have a certain amount of servers) list of servers in a textfile. I also have a dynamic list of UNC paths. I need to...
I've got a dos batch file that is scheduled to run every night to copy/backup files from different workstations at different branches to my server across different VPN links.
Right now, the batch file runs one line after the other. Is there...
I am trying to write a simple batch file which will use HP's online ILO configuration utility (hponcfg.exe) to add an administrative user to all ILO's in our organization.
To do this, I need to take a .xml file on one server and copy it to...
I guess this question is asked already many times.
First off i`m not a script.
With days of works i have created the following script.
I used the start-transcript to write to a logfile.
But i need more...
I would like to have the output that...
I want to create a simple popup on my webapp using jquery mobile.
It needs to open some text within a <div> on the same page.
Any Pointers?
I have written a vbs script that runs various installations. The vbs files is copied to all new servers. It is executed when the server is first started up. Some of these installs are over the network and some are local. The user has the ability...
I am attempting a Powershell script to add a new user, set the account to enabled, and set the password. Although the first part of the script works great, it all blows up when I set the password. I can create the account, and populate the...
Hi experts,
I've configured one server to be a domain server.
I've made a roaming profile for each user.
Every rule is working well except for the LOGON scripts.
When running with the user profile, an error message appears:
Loading your...
I want be able to delete a datagrid row AND rows out of a data grid if a checkbox is checked. The checkbox is part of the row (the first cell). Right now I cannot detect if the checkbox is selected or not after it has been sent to the datagrid. I...
We are going to be putting out a computer based group policy that includes some settings. I would like to know what the WMI filter is that will only allow the GPO to run on windows XP machines.
I have found the following that will tailor the...
We have a windows 2008 r2 64 bit server and I want to use the ifmember function to give certain users in the ou to have 1 mapped drive if they belong to a certain security group. I also do not want to use group policy for this, since I will have...
I am trying to change a setting with in the Java control panel, that sets the parameter for instance "-Xms160m -Xmx350m -Dsun.java.noddraw=true -Djavaplugin.trace.option=
I have a Perl script with these commands:
$prog = <<'EOF';
..email code
...log code
EOF
What does this do? Where is it pulling data in from when it says <<EOF?
*** Scenario:
Windows Server 2008 with Windows PowerShell (1.0) feature added and having the File Service role.
I have a number of folders under d:\share, such as:
d:\share\01 First Folder
d:\share\02 Second Folder
*** What I do:
I use...
Does anyone know how to write up a login script to copy a shortcut link to the "all users" desktop?
This is what I have now, but it fails.
copy \\sqlserver\focus\focus.ln
What...
Hi There,
I need to iterate a html table, first by iterating each row and then by iterating each cell within the selected row as I must do some processing at tye start of each row:
var tr = document.getElementsByName
how do...
Hi,
I am trying to write a webservice client in PHP. This service needs Files to be sent as ByteArray.
How do I create a ByteArray?
I thought of reading a file one byte at a time and storing in an array should work. But the array doesnt...
Hello
1. I know that Ctrl + Z will undo last changes you made. I couldn't find that in nano text editor.
2. When I search for word ex. joomla what is the key I need to press in order to preform "Find Next" I know in vi I need to press "n"...
Hi Experts,
I would like to select all records base on yesterday's date. But I only want yesterday's records.
select * from table
where timevalue = getdate()-1
getdate() might not be the right function, but I don't want to hardcode a...
I am having a lot of difficulty for some reason with a logon script. Currently we have all of our users with a logon batch file from the Profile tab of the user account in AD. These batch files are based off of the OU that the user is in for...
I'm trying to use an image swap by using getElementByID.. but I'm not sure if my code is right. I feel like I'm close but I could use some extra help. My JS skills are pretty basic. Thx...
Below is the code..
1. Javascript Code
2. Target...
I have got a script to connect to AD and create a user account, that has to run on the server itself. objUser is populated with variables that are gathered earlier in the code.
...
What's the best Internet Explorer macro/automation program (I programs that interact with IE automatically and programmed in easy language)?
Hi,
below is a Software install HTA. That is done by Rob.
I have a senario. Where the shared folder where all these softwares are there does not have permissions for the user.
So as the helpdesk engineer connects to the users machine...
I need to put code into the attached script to skip the first line of the input text file. I've tried this tip (http://www.experts-exchan
After updating to Internet Explorer 9 when my mouse hovers over a JavaScript drop down menu I get an error Description:DOM Exception: INVALID_CHARACTER_ERR (5) and the browser freezes. I use a software called dynamic menu builder to build the...
I need to visualize table data in highcharts, but I have two formats for how data is displayed in a table.
The first method works just fine when the series data are in columns see highcharts example , but I run into problems when my data...
My predecessor used a batch file to install our networked printers for all users. This is the script they used:
rundll32 printui.dll,PrintUIEntry /ga /c\\%computername% /n\\print-server\laser1
I need to be able to remove the installed...
Hello,
I am new to Powershell Scripting - I have a server that uses a usb hard drive to back it up. Everyday I have to terminal to this device and go through the safely remove hardware process and then switch hard drives. I am trying to create...
I have a powershell v1 script that I created to backup some files across our network to a file server at a different site. The script basically takes an array as input, and calls robocopy on each value in the array. It works great for the most...
Hi.
I need a vbscript that:
1) Minimizes a bat file named abc.bat (Or let me know what you need to identify this window?)
2) Captures a screenshot of the whole desktop.
3) Saves this screenshot to a jpeg file in C:\SCR\. as ABC.jpeg
4)...
How can you run powershell commands from vbscript? Specifically, I need to call the Exchange Management console from a vbscript and create a mailbox. It seems to be very easy to do this from a .bat file, but I can't get it working from...
Hi,
I have 2 fields set as dates, and I would like to compare these so that the enddate cannot be before the startdate and also the enddate cannot be more than 5 days.
I have the enddate not before startdate working but cannot get the...
does anyone know what the command and syntax are to move a batch of files (anything up to approx 200) and delete them as they are moved, not at the end of copying them. The problem is that files could be placed onto the server as the copy...
Hello experts.
i'm using the swfupload plugin(http://demo.swfuplo
I set the debug to true and below is what i get:
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select....
I use the script posted in the code section of this post to return information from Active Directory.
What I would like to know is how I can pipe the results of the $colResults variable to a csv without it giving me the LDAP and properties of...
Hi
I am writing a script which outputs data from a database into an XML file. Part of this requires that I need to encode images as base64 binary and then place the resulting binary into the appropriate node in the XML file. I have spent...
Hi,
I'm using WinSCP 4.1.9 client.
Right now, I'm using the following script to upload files to a SFTP server:
See Code Snippet
It does not fulfill my requirements.
I have observed the following problems with this script:
- Sometimes the...
Hi Experts,
I am having some issues with an escape being outputted in my HTML.
I have tried a few things along the lines of preg_replace, str_replace, unescape, urldecode but I am not having any luck.
On the line below, I am output a list...
Hello,
I would like to export the members of one security group to a csv file from a WIndows Server 2003 Active Directory using PowerShell.
Please help.
Thanks
Hey, im very new to kixtart and was wondering, if there is there anyway i can get my kixtart login script to check what version of windows the pc is running, or check its role and then carry on or quit thr script based on the answer?
I have a...
With wsh I open an IE window and navigate to an url. Its ok. Could I reach the script variables that the one I navigate with wsh. Or any trick.
var ie = WScript.CreateObject("Inte
ie.Visible = true;
...
Good Morning,
I am trying to find a way to setup the install of multiple applications through a script or batch. While I can create a batch that will initiate MSI Installs and then wait, I would like to have a script that will work from a UNC...
Hi, I have a VBscript that opens up 3 windows in IE, and it resizes them so they tile in a certain arrangement on my screen. I want to know how I can activate (or bring to the front) one of the windows so I can send text to it. Attached is my...
Is it possible to set an .HTA file to always on top? In other words could I put some javascript
code in the HTA file that will set itself to always raised or when it is opened as a child?
thanks
I was wondering how to remotely install software using powershell.
I can connect to other computers using the WMI win32_products to uninstall current software, but I don't know how to install new software.
I will be migrating print queues to a new Windows 2003 Server next week and need a script that will:
Check the network printers currently installed on a PC (enumPrinterConnections)
against a list of print queues that will be moved to the new...
Hi guys hope you are all well.
Guys im trying to work out how to remove from the output,
1)The first and last lines eg.samid and dsget succeeded
2)The blank spaces at the start of each line.
D:\>dsquery group "<Full DN" | dsget group...
I have a Powershell script which I use to query servers, however to query the servers I must log into each server with my admin username/password. Is there a way I can mask the username/password so it is not plain text in the script. Maybe...
There is only one example of the use of the Microsoft Internet Transfer Control (InetCtls.Inet) in javascript on the Web, and it uses the control in HTTP mode.
I would like to use this control to upload files using FTP. I've written some code,...
hi guys !
i want to integrate the phpbb3 registration with the main site .. i want users of forum and users of website the same .. means that , user of the website can work on the user of the forum as well and forum users could...
I need to figure out a way to query active directory for a users profile path. I need to be able to script this with command line input and output. I want to be able to feed a script a username and the only thing it would output is that user's...
I have managed to get some code to create some vertical scrolling data from my mysql database. I want the ticker to scroll vertically and show jobs that have been posted by users. The code needs changing as I cant seem to return more than one...
Hey guys, Im starting out with AutoIT to make a Simple Bot program to Simulate Clicks and Key Strokes, But I need a small GUI first... So im using a small AutoIT GUI maker for that , (it generates the code after visualy making it) And the Script...
I am using VbScript to Launch a program that is located on each users harddrive the program is Located in a folder under the Program Files dir
set WshShell = WScript.CreateObject("WScr
WshShell.Run "C:\program...
What I want to do is create one hta file with all my code, but have multiple windows to click through with different things in each window. I could click an audit tab and see all of my controls, and then click another tab to change the body of...
Dear Expert:
My website works well on any previous IE version but on IE9 all Menu item doesn't work and get error "SCRIPT5007: The value of property 'BodyMouseOver' is null or undefined". I am using HTC & JavaScript.
Please help.
I'm looking for a script that will delete all sessions connected to all shares on a remote workstation/server. Manually I would logon to the remote workstation/server by Administrative Tools>Computer Management>Shared Folders>Sessions then...
How can i split a powershell string?
The Array $args[0] contains a urlname like this:
http://servername/sites/si
I want now to edit the have the string like this:
https://officalname/sites/
The /sites/sitename...
I am looking for a script that will delete printers from a local workstation as well as the drivers off the workstation. I know how to create a script to add a printer. Any help would be great.
I'm creating a dynamic favourites list using arrays.
So far all I wanted to do was to make sure I can create the array, add and item, check the size with ubound and remove an item, writing this to the page as I go to make sure it works.
...
In a simple .html page I have this VBScript to launch MS Word when an icon is clicked. It works just fine on a Windows XP computer with MS Office 2007 (12) and IE 8.0, but I get the ActiveX error on a Windows 7 computer with MS Office 2010 (14)...
Is there a way to use AutoIt (or AutoHotKeys?) to monitor a window in the background for text to show up and when the certain text shows up to popup an alert window?
I run an application called OnTime for support/tracking incidents and it's...
Hi, I just set up PHPBB forum for a site.
My site has its own login area i.e I have my own users table in my database.
I want to remove the phpbb login and registeration section. If any user login in my site then it will automatically login...
I need to automate the download of some files from an ftp server using sftp and i'm using expect. i'm trying to determine the error code after the expect/sftp is done as well as tee the output of the interaction with the server to a log file. ...
Hello - I am using AutoIt V3 under WinXP ro automate testing of a custom-built application built using WindowsForms. I'm new to AutoIt and have run up against a problem I cannot solve. Here it is:
1. ShellExecute starts the application.
2....
I'm running some vbscript in my login script that calls a batch file that copies a few files from the server to the users computer. Below is the vbscript & the code in the batch file. This code works great except with a few computer. It works if...
Search engine dont seemed to search the specific articles, on staging website http://rere6659.staging-ze
on this link knowledgebase search is not working, i dont know...
Hi all,
I like to create a small unix shell script to unlock and unexpire all the expired and locked user accounts.
example:
>./myscript.sh
the above command has to unlock and unexpire the expired and locked user accounts
i like a...
I am looking to get a list of shared printers (on a remote print server) via a VBScript. I have a working script, but it requires the use of WMI. The problem is that I cannot get it to run under a restricted user's account. It works fine with...
I searched EE and found similar posts but none of the solutions are 100% right. I Need a script that will take two dates (xx/xx/xxxx) and time (xx:xx am/pm) and return the difference in time between the two in total hours. Output formatted as...
I am a PowerShell Newb, please have mercy on me.
I would have thought there would be tones of scripts out there to do an inventory, but I am having trouble finding one.
I have found the one attached, but there are some issues with it, can...
I'm using phpBB 2 on a site, and have my own login system in place for that site. I now wish to integrate the logins of my site with the forums. I've managed to insert a new row into the 'phpbb_users' table whenever there's a successful signup....
I need help with this assignment. My scrollbar does not work for the slideshow. It should respond to the mouse and to the cursor keys. Any help is appreciated.
Thanks
Hello,
I have NIC teaming on different (win 2k3,win 2k8) servers.I am using powershell script trying to control the NIC configuration setting (another provider is also welcome).The problem i am facing is on machines where i have the NIC teaming...
I'm building an application using sencha touch 1.1 in the client side and WCF REST services in the server side. I'm facing some problems when the sencha sore syncs data, the parameter sent to update method is always null. This is the c#...
Hi,
Query Based Distribution Group get all the members of the specific Group to a file.
I have a group in which i want to find all the users that are members in it...I think its different than the normal distribution groups.
Regards...
Hi,
I am trying to execute a .BAT file using a simple ANT script.. I have embedded this script in my Cruisecontrol script as below.
<cruisecontrol>
<property name="deploy.bat.path" value="${base.dir}\cbs_hlp
<schedule>
...
Is there a jquery or any script out there when for example a crystal report is loading and sometime it takes more than 5 to 10 seconds. Is there a script for an iframe or crystal report loader.
I have a printer which I need to configure every time a user logs into an application...
Specifically I am looking for code which can modify the settings found in...
START > PRINTERS AND FAXES > {RIGHT CLICK A PRINTER} > {PuSh 'PRINTING...
Hi,
Find filenames or folder names that have more than 256 characters and list them into a txt file with the path.
So i can see them and later browse to the path and delete some words.
Regards
Sharath
Hello,
We have an Intranet where the access is through Mikrotik using RADIUS server.
My primary need is a free file sharing site template or CMS. I would prefer CMS for the following reasons.
I will put our requirements into three...
I have .evt log files that are collected with other data for analysis. I am building an asp.net/vb2010 web app to parse all this data. I am trying to find a way to convert the .evt files to csv or xml, or really any format other than binary. even...
Basically, I want my script to log any errors it encounters and log the line number of the error. I'd like to do this just using VBScript. Is this possible?
mplungjan
145,789
Master
0 points yesterday
ProfileRay_Paseur
91,292
Master
0 points yesterday
Profilebillprew
63,376
Master
0 points yesterday
ProfileRobSampson
54,636
Master
0 points yesterday
ProfileDaveBaldwin
51,700
Master
2,000 points yesterday
Profilesedgwick
43,950
1,600 points yesterday
Profileleakim971
43,184
0 points yesterday
Profiledgofman
36,400
0 points yesterday
ProfileCOBOLdinosaur
28,424
0 points yesterday
Profilewoolmilkporc
24,200
0 points yesterday
Profileozo
20,600
0 points yesterday
ProfileQlemo
19,984
2,000 points yesterday
Profilechaituu
19,100
0 points yesterday
Profiletagit
19,000
0 points yesterday
Profilefarzanj
18,550
0 points yesterday
Profilenap0leon
15,094
0 points yesterday
Profilepaultomasi
14,700
0 points yesterday
ProfileStingRaY
13,136
0 points yesterday
Profilejason1178
13,044
0 points yesterday
ProfileHainKurt
12,350
0 points yesterday
ProfileHonorGod
11,600
0 points yesterday
Profileahoffmann
11,136
0 points yesterday
Profilebasicinstinct
10,800
0 points yesterday
Profileleew
10,030
0 points yesterday
ProfileChrisStanyon
9,864
0 points yesterday
Profile