secure batch file
I want to create a batch file in which i will be having my credentials.I will be sharing that file with my monitoring team, Since i dnt want to diclose my credentials to them therefore they should not...
View ArticleHow we can change Auditing in Registry by command prompt?
How we can change Auditing in Registry by command prompt?I have to check "Create Link" audit as Success. Please suggest the command line switch so that I can perform remotely in multiple servers.Pranay...
View ArticleServer 2003 & 2008 Scheduled Jobs status
Hello All,I am looking for a solution (script) for my below concern. I would really appreciate your help.ConcernMy Team created scripts for achieving some results and scheduled them in Tasks Manager to...
View ArticleIs there a powershell script to add a listed user or Group to the local...
I have been searching for a way to run a powershell script that does not call another text file but that simpley will add a User account and a Domain Group to the Lcoal Administrators group. I have...
View Articleenable ie adoon script
HI,I need to enable the microsoft "office document cache handeler" addon on a few computers.This are privates computers of a few of my friends and they do not share a domain so i cant use GPO.I tried...
View ArticleFolderDiscovery.vbs
I want to run the below mentioned script manually on a host machine to fix the issue with folder monitoring on one of the issue. But getting the "Expected end of the statement error"Appreciate help on...
View ArticleGet-Content cmdlet memory leak?
I put together this function to search on text patterns in files in certain folders and subfolders. I ran it against a local folder containing a 1.5 GB file. The machine I'm using is a Server 2012 R2...
View ArticleGet GPU Performance Info
I have a W8 computer with an intel GPU. How can I script the automatic grabbing of GPU stats? My plan is to take readings over a time span and output them into a csv.Things I've looked into:CIM class,...
View ArticleCreating Mailboxes and Setting AD Properties in Powershell
We're on a hybrid email environment. I've managed to create a Powershell script to create bulk mailboxes (see script below). But I needed to add an additional proxy email address to it but the script...
View ArticleCan I enable Num Lock on boot up via a VBScript in Win 8.1 with Update 1?
Hope this is the correct place for this - someone directed me to the TechNet Forums from the Windows 8.1 general forum, and then from the 'Windows Forms General' forum to this one (not sure if my...
View ArticleCreate Access Control Entries (using PS) with apply to "Subfolders and files...
Hi AllI have an requirement to set NTFS permissions using Powershell Script. Came with below script to have the permission set:$pathItem = "C:\TEST" $objACL = Get-ACL $pathItem $colRights =...
View ArticleAutomatically move files + make a .txt file
Hello, not sure if I'm at the right place but I'll give it a go:I receive files in a certain folder structure. In there are several folders with files. Regardless of the folders, I would like to...
View ArticleRemote MSMQ installations
hiis it possible to remotely install MSMQ on multiple Win 2K8 R2 servers via a script?thanks
View ArticleVerify if a programm is installed
Hello,I'm looking for a way to verify if Outlook 2010 is installed on my computer with a PowerShell script.I have tried some ways with "Get-WmiObject -Class Win32_Product"and this tutorial.I just find...
View ArticlePassing table and range as objects to a function in powershell
Hi,Is it possible to just add rows to a word table from within a function?Thanks
View ArticleWant to write batch script on the basis of system date and exit code
This is MY first question in this forum, Hope any one of you can fix the issue.. I have one log file containing the pattern as below"abcd.job" (abcd.bat) Started 27/8/2014 5:00:00 AM "abcd.job"...
View ArticleComputer inventory script (VBS)
I'm trying to create a simple VBS script that I could use with AD login script. Script should run fast and write some basic information to text file in central network location. Information I need is:...
View ArticleEnabling Windows ICS from PowerShell
I am trying to use Windows ICS to share the computer's internet connection with a separate adapter in PowerShell. This is what I have so far:# Register the HNetCfg library (once) regsvr32 hnetcfg.dll...
View ArticleVB Scripts to remove the user from the specific group from Active directory...
Hi,I have a below script to remove the users from the specific group from AD:DIM objGroup, objRootLDAP, objFSO, objInput, objConnection, objCommand DIM strUser On Error Resume Next Set objRootLDAP =...
View ArticleEnabling Windows ICS from PowerShell
So I'm trying to follow this article http://social.technet.microsoft.com/Forums/en-US/88003b3b-0e5c-49a7-bb20-cdbbbb435d09/enabling-windows-ics-from-powershell?forum=ITCGBut...
View Article