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

script for copying files from one windows server to another windows server

Hi,Good Day.I'm looking script for (bat file or VB script) copying files from one windows server to another windows server and append current date in addition once files has been copied send e-mail to...

View Article


PS script to compare or missing permission

Hi All, I can get the folder permission by following script.Working Script:Get-ChildItem -path \\ABC.XYZ.net\FOLDER -Recurse |?{$_.PsIsContainer } |get-acl | select-object...

View Article


Add Credentials to local PC Credential manager via script

So, I'm cross posting from this thread because it's really really important for me to figure this out, soon.I'm looking for a way to add a set of generic credentials into the Credential manager in Win...

View Article

How to recognize string in txt file and set it as variable

Hi, I have txt file and somwhere in it string starting with:data directory....:How (using batch file) find it in the text, read and set the value as a variable? I mean the string is:data directory....:...

View Article

Default program script so i can implement for all users

HithereAs this is my first job in IT I am not sure how can I do this.can anyone help me how can I write script  for default program so I can implement for all users.Thanks

View Article


Script to Delete file with exclusions

We have a requirement to delete all .xls file in a drive apart from certain file with name as Team.xls and Corporate.xlsI have got a script but this is creating all files. I am testing by creating a...

View Article

how to update 100 + AD users home directory with script ..

I have a request to update 100 + AD users home directory on user attributes as H: Drive\\server1\userdate\%username% .  and user should have full permission on home folder.Please let me know the if any...

View Article

environment to a child process

I'm trying to solve another problem related to login scripts in DC, using a .vbs program but i'm stuch in another problem that is:Code:Set objShell =...

View Article


Need a script to verity that we Disabled displaying of "Last date logon"

Hi Scripting Guys Can any one help me to get a script to verify that we Disabled displaying of "Last date logon" 

View Article


get-aduser -filter { DistinguishedName -notlike .... does not work!

HelloDoes anyone have an explanation of why this command does not work.I want to make it work, without using LDAPFilterget-aduser -filter { DistinguishedName -notlike "*OU=Cloud,DC=cloud,DC=local" } I...

View Article

Help with Script created to check log files.

Hi i need help completing a VBScript that monitors a log file and emails myself the any errors.I copied the script from a page on the spiceworks website and edited it to use it for myself.If i run the...

View Article

Powershell script to save clipboard image to file

Hello Guys !Im looking for a simple powershell script to save the image i captured from clipboard to a specific path with a specific name which defined in a variable before // format like bmp,png or...

View Article

Citrix Licenses

Hi Chaps,I know this is not a citrix forum, but my question is kinda related to scripting - hence im posting here. (Pardon me) .Just wondering to see if anyone has a script to do the below.  I would...

View Article


Extracting text from many .doc* files in a directory with Powershell?

Hi! This seems to be the best way to extract text from Word files from what I've read in other forums: //$wd = New-Object -com word.Application$doc=...

View Article

GPO login behaves oddly with Windows 7

this one is very weird but it could be definitely something i'm coding wrong. simple login script: 1. remove all mapped drives 2. sleep for 1 second to allow new network mapping 3. add new mapped drive...

View Article


Script to revoke home folder permission for users

We are in the process of migrating file server to new hardware and need help with revoking permission to Home folders. We want users to manually copy onlymeaningful data from old home drive to new home...

View Article

change e-mail account setting in outlook

is there a way to add or change my e-mail account setting (pop3, smtp,..) on MS Outlook

View Article


Regex For SDDL

Hi guys, I have a task to edit an SDDL string.  The following is an...

View Article

Deployment Workbench automatic licensing windows 8.1

Script to automatic licensing windows 8.1???

View Article

To create event log server

Hi,I want to create a event log server at my data center, I mean, I want to collect the event logs from all my servers and manage the logs centrally, please guide me the steps for this.Swaprakash..

View Article
Browsing all 15028 articles
Browse latest View live


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