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

ActiveX Windows Script Host Error 800A01AD

Hello,The following error occurs when running a script through a command prompt of a program I am using: Windows Script ErrorError: ActiveX component can't create object: 'synergy.Synergy'Code:...

View Article


Powershell - SNMP Service Install (Server 2008)

Hello, so this is a follow up to the assistance that was provided to me yesterday about checking to see if the SNMP service was installed across multiple servers.  I was able to gather a list of...

View Article


Powershell Issue

I have the following script I am testing and cannot get it to format correctly.When I run everything from the Sort lline up it works as it should with the grouping.When I run the entire script the html...

View Article

Using Task Scheduler for a powershell script on server 2008

I have a powershell script I am trying to run as a scheduled task, but I cannot get it to run. if I run in from within powershell or in an elivated command prompt it runs fine. Task Scheduler says it...

View Article

Powershell script calling batch file, how to "echo" or otherwise pass in two...

I've been having a lot of problems trying to get an old batch file we have laying around, to run from my powershell script. The batch file actually asks for two inputs from the user. I've managed to...

View Article


Batch Script using System Varriable for Hostname and FQDN results in large...

I have a batch script running on Windows 7 that I've created to help a physical computer, connect to his virtual cousin.  Problem is when I try to make it use the FQDN (required by the View Client) it...

View Article

Temp files deletion on log off

Hi Guys,I was wondering if someone can provide me a script for me to have ran automatically on log off so all my temp un-needed files are deleted. I am on a windows 7 client.I have tried to run various...

View Article

Editing security settings in Dcom Configuration

HiIs there a way I can edit dcom Configuration objects via powershellI have to change an object in:Component services->Computers->This computer->Dcom-Configuration->{objectname}I haven't...

View Article


Vbscript

Hello does this code still work in windows7?Iget this error:WinsockObject Error!Script will exit now.client.vbs ' ' CLIENT WINSOCK VBSCRIPT ' ' NOTES: (FEBRUARY 19, 2007) ' ' Delays are required where...

View Article


VBScript to read the content of a .csv file and delete old files mentioned in...

I have a Windows 2003 file server.I have generated a report in .csv format, about the files which are older than 1 year.I need a VBScript to read the .csv file and delete the files which are enlisted...

View Article

vbscript for outlook signature not work with office 2013

hi, i wrote a script that set a new mail signature for my company users. my code use a word doc as a template and change some key-words to another (user name, title and more). it work great with office...

View Article

NTFS File Permissions PowerShell Error

I keep getting this message after the $aclsepminetpub.AddAccessRule($accessrulesepminetpub), as well as sepminetpubreporting and sepmhome and symhome:Exception calling "AddAccessRule" with "1"...

View Article

Write-Output - Log File

Hello,Please see my script. Should be able to understand how it works, if not, let me know. I want to create a log file which basically says, it didn't apply.$FFTest = Test-Path...

View Article


Clear, own und use TPM 2.0 on Windws 8.1 via Powershell

Hallo,I´m looking for information on how to completely setup tpm via PowerShell, some sort of walk through. The goal is to script equal behavior as if to prep and clear the tpm in the tpm.msc and...

View Article

How to use UDL file in Powershell script?

Hello Scripting Guys,I have a VBScript that works great for connecting to an Oracle DB using a .UDL file. Here is the important part of the script:Set dataconnect = CreateObject("ADODB.Connection")...

View Article


How do I determine what mointors are applied to an Agent

I am a powershell novice but my powershell knowledge is much better than my sql knowledge.I am repeatedly asked, what are you monitoring on that server or this server or that group of servers? I would...

View Article

Formatting output to CSV

I'm looking for some help with my script that I have. The process in how it works is as follows,1. Gather all computer objects within a domain (dnshostname)2. Ping test to see which ones are up and...

View Article


powershell not mapping drive from bat file

Once again, this GREATLY dumbed down to simplify the error. I have a bat file that maps a local drive from a UNC share. Contents of my bat file (map.bat) are:net use Z: "\\myserver\e$\apps\Data"...

View Article

DSC error: Cannot invoke the SendConfigurationApply method. The...

Hello,I ran a DSC configuration script, it seemed to hang, and I received an error that I can't find a resolution for anywhere:"Cannot invoke the SendConfigurationApply method. The...

View Article

VBscript - Enter a value (variable windows) on the path of downloading the...

Hello All,My name is Diego and i need so much help with this VBscript,The script works well but I just need to call (SRV) windows System variable that contains the name of the local server. All client...

View Article
Browsing all 15028 articles
Browse latest View live


Latest Images

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