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

Script works in PowerGUI, not in ISE or from powershell.exe

Hi,I am trying to integrate with the Manage Engine Password Manager PRO Rest API.. I have some code working on my desktop where I currently use PowerGUI this was all seemingly working correctly.. I...

View Article


Email notifications using scripts

Hi, I was wanting to setup a script that would email only one specific user any time that a specific folder on our Windows Server 2012 essentials machine is modified. I have an idea of how this would...

View Article


multiple groupboxs with autosize

Based on the needs of this little project, i have a small Powershell GUI that generates a Groupbox object for all my webservers.  Inside each server groupbox i generate a groupbox for each site, that...

View Article

Create Folder Based on condition

Hi All,       I have requirement to create the folder if it doesn't exist and show message if the folder already exists.Can any one help me how can I do thisThanks, Quality Communication Provides...

View Article

BATCH: ini file with variables read out and use in batch-file

Company=KB-Consulting.pro LogFolder=%systemroot%\Logs InstallPath=%ProgramFiles%\ Server= Storage= FileServer= NAS= BackupDrive=%cd%\BACKUP Tools= WindowsLogFolder=%systemroot%\Logs...

View Article


Bat file for removing DLL and verification via GPO with admin rights

Hello experts, I am having an issue to remove VGX.DLL file from my office users domain PC as there are some application issues. Also need your advise on how can I assure the file from that particular...

View Article

Skip Internet Explorer 11 - Windows Update vbscript

Hello allI found this great script allowing to skip certain Microsoft Updates. The SkipUpdates Array works great for excluding Bing and Microsoft Essential or even KB numbers, however for Internet...

View Article

vbscript to remove user from "Logon as service right"

Hi Everybody,I need a VBscript that will remove service account from “Log on as a service” from the local computer.Thanks.Emese,

View Article


Create a Batch File Using VBScript

Hi, I have the following Batch File it is called Printuse.cmd how can i use VBScript to create the batch in c:\WS1 rundll32 printui.dll,PrintUIEntry /ia /c\\server /m "AGFA-AccuSet v52.3" /h"Intel" /v...

View Article


MS Charting in Powershell

Hi there,I am trying to create a chart for the first time and don't seem to have the libraries installed to do it. When I try and run a chart command I get errors like below. Can you tell me what I am...

View Article

Remove directories with wildcards in .bat file

I know there are several similar topics on this, but none that exactly fit my situation. I need to delete a directory and all subfolders here: c:\Users\%%\AppData\Local\virt-viewerThe %% being the...

View Article

WMI calls for Printer Tray information?

Greetings,I am doing a print server rebuild to move our printers from a 2003 server to a 2012R2 server.  Please keep in mind that this is not technically a migration since we are not porting over...

View Article

Remote Script Execution initiated by Nagios Access Denied

Hi, I am trying to create a powershell script (script 1) set up on our Support Server to execute a Remote Script on a Remote Server (script 2) to Restart a service. Simple - The script works fine when...

View Article


two comboboxes under the same headertext

Hi guys,is it possible create two comboboxes that stay under the same headetext?i will explain better... i have to add to my form the possibility to choose the time for a schedulation, so i think to do...

View Article

Powershell - Checking existance of a sql stored procedure exists

HiI have Googled for this answer but not able to clearly find an answer. I'm not sure how to go about this but....I need to write a Powershell script to check for the existance of a specific Stored...

View Article


Powershell (Replacing White Spaces with a comma)

The object property values output tends to be tabular with varying white spaces between each column. I’m looking for a script that will allow me to:Output the object property values to a fileRemove all...

View Article

Using a script for detecting the presence of an outlook signature.

Users logon to a windows 7 pro with Outlook 2010 in aCitrix environment.Where using 'Exclaimer Signature Manager' for our email signature in Outlook.For some reason it doesn’t work with Citrix (except...

View Article


How can I get some text from string like AB_CD_9.9.9_Sometext

How Can I getonly 9.9.9 from  string "AB_CD_9.9.9_Sometext" with powershell and regular expression?Thank you,Lei

View Article

Windows Server 2012 Powershell

I have been submitting a command in Window Server 2012 with Powershell v3.0:Set-ItemProperty IIS:\AppPools\(AppPoolName) -Name managedRuntimeVersion -Value v4.0This submits with no errors but it does...

View Article

powershell script to apply retention policy by group - Exchange 2010

I am working on a script to apply a specific retention policy to individuals who are members of a particular group, another for rooms, and yet another to everyone else.  Below is what I'm working with:...

View Article
Browsing all 15028 articles
Browse latest View live


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