PowerShell -> change NIC adapter binding order?
Windows 7 x86/x64 (PowerShell or VBScript)Looking for a script that can change the network adapter binding order. Ideally, this will run immediately after sysprep, with no user interaction. Would...
View ArticleDiskpart, drive letter removal using a wildcard
I am trying to write a diskpart script to automatically set a drive letter to "F" the disk is always plugged into the same port, but anytime the computer reboots it assigns a different drive letter,...
View ArticleHow to open the F12 key debugger in HTA like IE?
Press the F12 key on IE opens the built-in debugger, that's a wonderful feature.Change the extended filename from .htm to .hta, in another word, run the same program but use mshta.exe instead of IE...
View ArticleSend-mailmessage cmdlet not sending mail
hiI am using send-mailmessage cmdlet in one scripts from my domain machine to send one attachment to my user id. I have added my IP on SMTP/Relay server also.Send-mailmessage -from "user1...
View ArticleHow do I unblock files on Windows 8?
I've tried researching this already but all i was told was "run Unblock-File PowerShell 3.0 commandlet" ... "like this: Unblock-File .\php_manual_en.chm". I don't understand what that means. Can...
View ArticleScript to find and remove video file in a domain
Good Morning every one, I am new in using scripting for system administration and i am facing one challenge. In fact i am looking for a script that could help me in finding video files in my windows...
View ArticleConnect-MsolService doesnt require proxy details??
Hi, When i run the Connect-MsolService it just takes user-credentials and connects to office365.But the same case is not with Exchange-online, it need a proxy details or authentication. May i know why...
View ArticleHow can I encode a script file using the Microsoft Script Encoder?
Hi team,How can I encode a script file using the Microsoft Script Encoder? Thanks,Doria
View ArticleBatch File - Replace old version
I have a Word document that I have created which contains several macros. This file is copied by other employees into different folders on the file server for them to use. I often make admentments to...
View Articlevbscript - Error unsupported 16 bit - application
vbscript and 16 bit errorMy vbscript so far had never a problem. And then suddenly (suspect windows updates) i had a problem launching a simple vbscript that exectutes a external command in hidden...
View Articlescript to show a count down timer in a message box.
Hi,We are looking for a count down timer embedded in a message box.User will be having 2 options.1.User can click on the OK button in the message box (timer ends) and continue with the next...
View ArticleRecursively search folders, export to excel all sub-folders. All folders...
I have a bunch of VBScripts that I created using help from this forum and other forums. These scripts are for fixing Windows problems, installing software and setting configuration settings. Each...
View ArticleVBScript and SMO
I've have a vbscript that utilizes sql-dmo and accesses sql 2005 and sql2008 r2(with back ward compatability). I now have a sql 2012 server where this script no longer works. I've attempted to change...
View ArticleLast Run Result Email Alert from Scheduled Task
Hi All,Ive a newly require need to move 3 files from a local server to a remote server via FTP each evening.Local server is a Server 2008 box. I have setup WinSCP to transfer the files over...
View ArticlePowerShell: How do I reliably set the IP address on an interface when the...
Hello all,I am in a bit of a bind - no pun intended. I would like to know how to reliable set the persistent IP address of an interface that may be disconnected when the address is set. I can set an...
View Articleextract certain account from log file
i have one ftp log file which includes user accounts and activities. I need to pull user with failed activities. I can search in the log file. Is there a way to extract several user accounts from the...
View ArticleMy computer can see my network drives, but Powershell can't
Having a bit of a strange issue with Powershell today, I went to open a script I had worked on last night and Powershell is telling me that it can't find my H: drive (my personal drive here at work)...
View ArticleVBScript - Deleting an array element
I am trying to write a script that checks for a specific value in the registry and then deletes that value. In my case, the value is only a subset of the comma separated text within the key value.I am...
View ArticleChange permissions of "Mailbox Rights" using Script.
I'm using the script located at http://support.microsoft.com/kb/310866 to change the permissions of "Mailbox Rights" located on the user properties, Exchange Advanced tab.However, this works by...
View Article