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

How can CMD Command History be cleared?

I want to clear CMD or Batch command history (via pressing up and down key), but I cant :(How can we clean command history from cmd or batch. Is there an any command to clear command history, in place...

View Article


Group Policy Logon Script to create folder based on username, run as admin

Hello,I'm at a loss as to how to make this work.  I wrote the following PowerShell script that will check to see if the currently logged in user has a folder on a share, and if not it will create the...

View Article


Can powershell script be used to create billing system for my windows azure...

Hi the experts!I wanna create a billing system for my private cloud which using windows azure pack. Any suggestion if i wanna use powershell script to create the billing system?I wanna use powershell...

View Article

How to Delete All "dllcache" Files From a Remote Xp Machine via...

We sometimes delete some folder/files on remote machines (e.g. temp, prefetch etc) via PsExec cmd command. But we can not delete dllcache. Are these dllcache files undeletable by remote commands?For ex...

View Article

Updating Manager in AD

I hope this is easy for the Powershell gurus. I ended up doing it manually. It was only 10 users, so...  I want to get all users, that have a specific person as their manager, and then update the...

View Article


Set-ACL on a file

Hi Guys,I have a file in a deployment I'm working on currently that I need authenticated users to have access to.  I haven't touched on ACL much in the past besides a few files in MDT that I used...

View Article

Powershell sessions

Here's the situation:I've got a DC (called DomainSrv), an Exchange 2010 server (called MailSrv) and a management workstation (called Mgmt). Mgmt is running Windows 7 (64bit), DomainSrv and MailSrv both...

View Article

How to modify target value in web.config using powershell

Hi i am trying to change the values of "target" in web.config file using powershell but no luck. this is the script which i am using. It works fine to change the app setting values but not the target...

View Article


Setting up proxies for all users and clearing it on logoff

Hi,This is an emergency, So any help would be welcomed.Scenario - I have a lab which is configured with windows 8.1 enterprise 64bit. I created two local account. I want to connect it to our proxy such...

View Article


Delete all empty "_vti_cnf" directories on all PC's on my network

Hi,I am looking for a way to delete all empty "_vti_cnf" directories on all PC's on my network.  For this one I'm open to suggestions.  I'm not opposed to using the "Erase" or "Delete" commands..or any...

View Article

Powershell script to comprss files with specefic options

We have process that creates lots of text & xml files in a particular folder. The files are then copied to a FTP location and moved to 'Processed' folder. I am looking for a process to archive the...

View Article

Powershell script to restart service

Hello,We use Citrix and we run into issue's where Desktops unregister. I've installed the xendesktop SDK for powershell scripts and need to get a little of "unregistered desktops" and then from that...

View Article

PowerShell to Dynamically download SQL table data to csv

Re: PowerShell to Dynamically download SQL table data to csvI worked on my first powershell today. My goal is to dynamically download SQL Table data to csv files. There is a ifs_ExportTables that is a...

View Article


Uncheck‘Automatically detect settings’ in Internet Explorer

Hi AllHow to Uncheck 'Automatically detect settings' option in internet explorer using VBScript???

View Article

8dot3 missing in action

8dot3 creation is enabled but nothing has 8dot3 names attached ("dir /x" only shows full names and no short names). Java et. al. only accepting 8dot3 path/file names cannot access the expected 8dot3...

View Article


Query all DNS servers in a domain for a matching A record

HelloI've recently been reading this http://blogs.technet.com/b/heyscriptingguy/archive/2009/02/23/how-do-i-check-host-name-records.aspxWhat I am looking to do is to query all of our dns servers in the...

View Article

8dot3 missing in action

8dot3 creation is enabled but nothing has 8dot3 names attached ("dir /x" only shows full names and no short names). Java et. al. only accepting 8dot3 path/file names cannot access the expected 8dot3...

View Article


Trouble with Increasing a Variable Name in a Foreach Loop

Hi Everybody,The Powershell Script/Programm im writing is for the purpose of deleting false Snapshots from hyper-v virtual machines.At first everything looked good so far but know i think im running...

View Article

Script to copy files by a list from one folder to a new folder

I have a folder with over 80,000 images in a lot of sub directories. I need about 40,000 of them copied to another folder.I have a file with the list of the file names I need, but some of the files are...

View Article

Image may be NSFW.
Clik here to view.

Scripting the Removal of Physical disk from VM

Hi allI have read this thread here which has helped me so far to create a script for the removal of a VM Hard Disk...

View Article
Browsing all 15028 articles
Browse latest View live


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