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

How to find the speed and duplex setting of all NIC's in multiple server

Hi,Through WMI query I am able to query speed but its always blank, Kindly let me know how to find the speed and duplex setting of all NIC's in multiple servers.Regards,Stunner

View Article


I need a simple .Doc to .Docx file converter (VBScript only)

My Dear Friends,I have a serious problem. My wife’s laptop was old and slow and finally totally failed so she got a new one (Win7, Word 2010 starter version). My wife is not what we would call...

View Article


Powershell script to check if DLL is registered or not

Hi,I need to verify a DLL if it is loaded not, and if not it should load it and log an event as well. Does anyone have a similar script to this? Any help is appreciated.Thanks!

View Article

VBScript questions newbie, &, "", Chr(34) ...

Hi,I need to modify some vbscripting but I'm really new to it.Bottomline, I’m mixed up with the “”, the & and the Chr(34). How can I read/debug the output? The script just throws an error on the...

View Article

Users by Last name with Get-AdUser

Awesome Scripters,   I'm still pretty rookie, but learning.  Could you please let me know what you think here and see if I'm doing something incorreclty or let me know why the return value is not...

View Article


WMI Object for BootupTime

Hello,So the title is sort of misleading as I don't know what would be a proper way of putting this. Basically this is the flow of the script, and it works unless a computer has virtual adapters for...

View Article

encrypt script

Hi I have a powershell script that I would like to share with my colleagues but I am sick and tired of one of my colleague stealing my scripts. Is there an easy way to encrypt my script so he can't see...

View Article

Map drive with batch File

Hi,I need to create map drive with help of batch file or  vb script with following requirement:1.Create user folder & perimisttion automatically on desired map folder2. if user already created it's...

View Article


Powershell Command Error

Hello Everyone,kindly assist with this two questions;I have a power shell script that creates a user in the AD and exchange but at the end i want it to display the details of the created user. it works...

View Article


Check If A Service Is Running or Not On Multiple computers using SC

Hi,I'm trying to find the status of a specific service using SC. Hence I tried using the following script to find the status of "Dhcp".Echo OffSetlocal EnableDelayedExpansionIF EXIST Result.csv DEL...

View Article

VBScript - Cryptographic Service Providers - utility methods

hi,I have the following requirements from VBscript code which is executed from I.E. I'm new to VBscript and any help on these would be appreciated (code samples, examples etc.).1. Finding the default...

View Article

Powershell command to extract user account details from all AD users

I have managed to get most data from the query below but I need other details, like the users membership and email address.Get-ADUser -Filter * -SearchBase 'DC=aaaaaaa, DC=com' -Properties DisplayName...

View Article

Using Custom Properties

I'm looking for a way to use Powershell to read a custom property from!!! a template !!! in scvmm. Does anyone know of a way?

View Article


How can I get the Name of a .vbs Script from within the Script

Hello,I am trying to get the name of a .vbs Script that is included in a .wsf Script.I have tried WScript.ScriptName and WScript.ScriptFullName both return info of the .wsh ScriptI would like to get...

View Article

Change IP address of web site using VBScript on IIS 6.0

Hi All,I am very new to vbscript, is it possible to change website IP address on IIS 6.0 (server 2003 R2).I have around 50 web site each with different IP address.Also we cannot install powershell on...

View Article


Lost user rights on file, occasionally

Hi,I have a DFS share/drive, where I generate and print pdf’s.The user running all this stuff has rights via a user group. However I run scripts using “PDFCombineX.exe” from (coolutil).The script use...

View Article

Assign a Static IP Address to User

Is there a way to assign a static IP address to users form command line in Windows Server?I mean, in Windows Server 2003, VPN server, how to set a value from command-line to a "Assign a Static IP...

View Article


Set-Printer cmdlet - Not applying on Default Setting? - Server 2012

Hello everyone,I'm using powershell cmdlet from 2012 Server to automate print queues configuration on other servers. I managed to use Get-PrinterConfiguration and Set-PrinterConfiguration to apply...

View Article

Backup Script

Hi, I need help with a backup script to backup files that are new or modified only. C:\Data to D:\Backup C:\Data to a network location. I don’t mind having 2 different scripts for the local backup and...

View Article

How to make a set of values read in from a config file, globally available to...

HiRecently I wanted to ensure a set of related  scripts were able to access a set of values read in from a config file. My current method although works, does not seem reliable leading to my calling...

View Article
Browsing all 15028 articles
Browse latest View live


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