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

PowerShell - Check if device driver is up2date

Hey Guys,I'm looking for a way to check if a new driver is available for a device via PowerShell.The result should be like clicking "check for driver updates" in the device manager. After a briefly...

View Article


Script to reboot when no Internet Connection?

From time to time one of my Windows 7 PC's loses it's internet connection, but still  has a LAN connection.  The only solution is to reboot the PC when this happens...  Usually no problem I can remote...

View Article


Vbscript Funcation

Dear Exprt,Please advice for below script its work if remove (Funcation).Option ExplicitFunction copyfile()Dim FSO, fileTo, FilefrmSet FSO = CreateObject("Scripting.FileSystemObject")fileTo =...

View Article

PoSH, and WSDL\XML

Hi, been trying to figure out an actual question from a client, while learning at the same time, but am currently stuck.  The basic premise is that they have XML source from which they need to retrieve...

View Article

Power Shell cannot see mapped network drive

I have a network storage device that is also my personal Cloud and wanted to synchronize files on it using Power SHell so that they were always up to date.  PS cannot see the drive.

View Article


Script to Export Favorites from Internet Explorer

Hello,Is there a Visual Basic script that can be written to export Internet Explorer Favorites to a bookmark.htm file?Thanks.

View Article

need help creating a powershell script to call a list of networked servers...

need help creating a powershell script to call a list of networked servers and to find a file in each. This should search in all servers irrespective of model, architecture and OS version and in...

View Article

Dynamic Variables and New-Object - in a GUI

so, i have not found anything that i can parlay into a solution for what i am attempting to do.  Basically i am using powershell to build a GUI to manage websites on various servers.  in a nutshell:- i...

View Article


Vbscript Execution in Microsoft Office Communications Server 2007 Speech Server.

I am directed by a Microsoft Support Member to post this Issue here.I am trying to add a Speech Server Application through Code using Vbscript in Microsoft Office Communications Server 2007 Speech...

View Article


OpenDSObject 10 second wait for validation of user credentials

Hello,I'm trying to validate user credentials locally, not on a domain, on a PC running Windows 7 Pro x64 (fully patched).The following code works, but it takes 10 seconds to see the MsgBox. (The same...

View Article

Need to remove a ~ charecter and a ` charecter from all AD groups in a 2003...

I am trying to figure out a good way to do this.it's a 2003 domain.  If it were 2008 and I could use powershell, I don't think I'd be having a problem.I'm mainly looking to change the sAMAccountName,...

View Article

get-adgroupmember gives operation timeout error

Hi experts,i am tring to get the user names from few groups in AD. But it displays me an eror for few groups likeERROR :- At D:\All Scripts\AD Scripts\groupmember.ps1:7...

View Article

powershell - get details about members of ad group

hi, i want to perform this task:Get a list with name, samaccountname and department for all members of an ad-group. I have been trying with different ways, but still no complete success. Need def more...

View Article


In Powershell, how do I match whole cell for Excel Find/FindNext?

I want to do Find and FindNext functions which match the entire contents of the cell.  I have these functions working but the default is to match any part of the cell contents which results in my...

View Article

Command to display only the latest modified directory within another...

Okay I want to be able to run a .cmd file from my workstation to query a certain folder on remote clients. I want the command to find the specific folder within another folder and display the current...

View Article


List of Users in local administrators group

Hello All!Is there a script out there that can query all computer names from active directory and then query those machines for %username% in the local administrators group?I would like to have a csv...

View Article

Close application

All,I have searched the repository for a method of closing an open application (Chrome). Code is below. I am stuck on two issues:1. I am getting a Not Found error on Line 9, Char 6. Code: 80041002,...

View Article


AD PowerShell access issue

Hi,I trying to enable the  AD accounts using powershell command Enable-ADaccount from DC ( not from remote or management server) directlry from DC . But getting below error .Enable-ADAccount :...

View Article

Using a powershell script to restart a service when using the services...

Greetings,I am trying to use a powershell script to send an e-mail message and restart a service after failure using the Service Recovery property of the service.In short, I cannot seem to start a...

View Article

Image may be NSFW.
Clik here to view.

Executing WB.ExecWB(OLECMDID_PRINT...) failing from C# application

My goal is to print a web page from a C# application without the printer selection dialog box popping up (this is a kiosk application).  To do this, I'm injecting the following script into the HTML...

View Article
Browsing all 15028 articles
Browse latest View live


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