So i have list of full user name (like Bill gates) under c:\TEMP\DisplayName.txt. it reads the Display name and verify with AD and get username. results with csv file.
Now is there way to include computer name in there too. I got this vbscript, but couldn't be able to computer name out. need...
Hi,
I have script to get total size of the folder. it works fine if the size of folder is under 2G, but if over 2g, i am getting Overflow: 'of.size' error.
Here is my code.
'==============================================
dim FSO, objFolder,datafolder, foldername
foldername = "c:\Data"
Set...
ok found the issues and resolve size properties.
but my files property still doesn't work
it says wrong number of argument or invalid property assignment
Hi guys,
I am trying to retrieve properties of a folder. I know folder exists, but i am getting path not found on line 13 and 14 where it mentioned to retrieve size and files. here is the code...thanks for help in advance.
****************************************************
Set objFSO =...
I like to set refresh rate. I get settings but unable to set it...need little help. here is my so far code.
'_______________________________
On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer &...
I am trying to migrate printer from old server to new.
this script works fine if found no Fully qualified domain name print que.
But won't migrate if script find any FQDN.
So, if ECHO objPrinter.Name, and printer has FQDN name, it won't echo me back.
is there any way i can read FQDN name of...
Hi.
I'm tring to pass params to run vbscript.
for example
cscript.exe /nologo L:\Scripts\PassParam.vbs DelFld
or cscript.exe /nologo L:\Scripts\PassParam.vbs CrtFld
I am getting runtime error:wrong number of arguments.
Need help
thanks in advance...
'*****************here...
xwb: thanks for your reply...system means local system...
it doesn't required password or login...
as psexec.exe -s would do it...the problem is it creates a service when you run call Psexesvc...and thats cauing problem..but i had figure it out...
IF I run Psexec.exe -s -d....it won't create...
Hi,
I am trying to package one software. and it required P95tray.exe processes to run as system. So, is there any way i can start processes as system. I know i can see Psexec.exe, but i like to set in vbscript.
thanks in advance...
Thanks for your reply wcburton ..
I am trying this. The reason i choose description because when i do ipconfig all ..under description it gave me "Cisco Systems VPN Adapter"......to find out if computer is connected through vpn or not...
Option Explicit
Dim objWMI
Dim colClass
Dim objClass...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.