Script to refresh IE to homepage not current page
Hi All,Firstly thanks for any help on this! I'm very new to scripting, so sorry for any errors.I need to create a local script to make IE refresh to the homepage, rather than the current page.The...
View ArticleRead msPKIAccountCredentials
Hello,Can someone please tell me how to read the content of the active directory attribute "ms-PKI-AccountCredentials" using powershell?Thank you.
View ArticleSelect-String over multiple lines
Hello,I am trying to run an IF statement against a string match from a file. from the file. i am looking to find a match on this: State : Failed Severity : ErrorI firstly load a...
View ArticleHow do I know if the user is belong to Mail Restricted Group/s? Do anyone...
Hi Guys, Good day, I'm new in powershell scripting. Will someone can help me about my problem?Thanks.
View ArticleVBScript. I liketo change input on behalf of "computers.txt" file need to...
Const HTML_WHITE = "#FFFFFF" Const HTML_RED = "#FF0000" Const HTML_YELLOW = "#FFFF00" Const HTML_PINK = "#FF6699" Set objFSO = CreateObject("Scripting.FileSystemObject") Const intForReading = 1 Set...
View ArticleWhat is the point of NoDriveLetter in Mount-Diskimage?
I tried to use NoDriveLetter to mount a disk image to an empty folder. A straightforward task in DiskManager, but turned out to be more complicated in PowerShell.Mount-DiskImage will return a...
View ArticleCannot run string in oShell.Run
Hello,I have a script which has to call 32 bits objects (starting SCCM actions).I created a main vbs script and a secondary script containing the 32 bits objects, called StartCMPolicies.vbsIn the main...
View ArticleHow to get rid of "Apply these permissions to objects and/or containers...
Hi there,Is there a way in powershell to get rid of the check mark on "Apply these permissions to objects and/or containers within this container only" ?Thank you,
View ArticleNeed push over the edge on Powershell script.
So I have the following script written up: Import-Module ActiveDirectory Write-Host "Now generating a list of all Active Directory Groups. Please pick the group you need more information about and...
View Articlehow can WMI Read access on all workstations in domain
Hi AllPlease help me get WMI Read access to my service...
View ArticlePowershell Script to Automate sending a text message -- Google Voice
Need to complete this script to text my phone and let me know my computer is connected to the VPN. Anyone able to see any coding problems?#Variables $username_or_email = "USERNAME"; $password =...
View ArticleHow Do I Remove My Login Information from Multiple Windows PC's
I'm in IT and support customer's remotely (Windows 7). I work on their pc's after they leave and when they login, they don't do Switch User and end up locking me out every morning. Is there a script...
View ArticleScript running as Local System not executing correctly
Hi there, I've created a script that I'm trying to use as part of a VM deployment. The simplified version of the script is that I'm attempting to have the computer joined to the domain. I'm using the...
View ArticleVBScript - How to create new a folder within the current directory, and make...
Hi All,I'm very new to the world of programming and now I'm currently having difficulties. I'm current tasked by my manager to create a VBScript that would 'disperse' or 'split' an excel file with lots...
View ArticleTask Scheduling PowerShell Script To Create Access Database
I have this script that I have stolen and modified from other answers here at TechNet:# Creates new blank Access database. Function Create-DataBase($Db){ $application = New-Object -ComObject...
View ArticlePS novice question regarding updating multiple servers DNS settings
HiI am attempting to update over one hundred servers, DNS server settings using a PS script i came across here:http://gallery.technet.microsoft.com/scriptcenter/Modify-DNS-Server-0ec651e7I cant get the...
View ArticleAlert Based on Last write time
I am writing a script based on the last write time. For the most part it works; however, the script sends out an email everytime the script runs. Ideally, I would like to have the email sent only when...
View ArticleRemove the Header, etc..
I want to do the following and only have the samAccountName in the file. What do I need to do to the command...
View ArticlePowerShell: how to convert .msg (e-mail) files to .eml files
I would like to know if it's possible to convert .msg files into .eml files. I have a folder containing several .msg (mail) files but I need to convert them into .eml files. I would like to use...
View ArticleVBScript to turn off Backup schedule
We have a third party application that backs up our user data, but the last guy who created our images forgot to turn off the scheduled backup. We have hundreds of machines that need to have the "turn...
View Article