Powershell Script to Create Mailbox Folders Help
All,Please could you assist with the below Powershell task. Basically I have a list of 500 new mailboxes on Exchange and need to create a series of subfolders under each mailbox. The below command set...
View ArticleHow to check mail box via IMAP4 (No exchange) using PowerShell
Hi, I want to check the total mail available in mailbox from PowerShell? I have no exchange server, just simple mail server in linux server.Alan
View ArticleAccessing SAM database in a secure manner
I've written a script to check the members of the Remote Desktop Users group on the computers in our domain. I'm using the same method I've seen in every sample script I've looked at that accesses the...
View Articleneed help with script that adds a domain user as a local admin:
HI there,I found this script that will add a domain admin account to the local administrator group for a machine but i need it to prompt for the domain admin credentials to use and then also prompt for...
View ArticleUpdate user attributes from csv using Name attribute as a link to csv
Powershell script:$list = Import-CSV .\users.csv $list|Foreach{$usr = $_.name; Get-ADUser -filter {name -eq $usr}|Set-ADUSer -Department $_.Department -Title $_.Title}CSV contentsName,department,title...
View ArticleVbscript order check
I am using textpad and would like to add a vbscript as a tool to help check documents to see if they are in order. Below is an example of the tables that I am editing and line 6 is out of order. I...
View ArticlePowerShell to list Installed Applications
I have this script to list all installed applications [cmdletbinding()] [cmdletbinding()] param(...
View ArticleNeed to copy a file to every computer in domain, with conditions
I have an uninstaller file that I need to copy to every computer in a domain, but because of traffic restrictions/WAN issues I only want that file to copy under certain circumstances:1) I only want the...
View ArticleThe various ways to answer a scripting question
Hello fellow forum dwellers,this is aimed at all of my fellow scripting guys/gals: Those who frequently consider questions posted here and propose solutions (and who've generally been doing so for far...
View ArticleImpersonate User without knowing Password in powershell
Hi All,Is there away, as admin, to impersonate a none admin user without knowing the password. I know I can impersonate a user if I know the pasword but I'd like to know if I can do it without knowing...
View ArticleVBScript to logon/off from secured network connections using Windows Credentials
Hi, I am looking for a VB Script to log on/off from secured network folders connecting through Windows Authentication.My reason is that I have local NAS devices which are used for backing up various...
View ArticlePowershell Script not producing expected results
I am running a script from the repository that is designed to add AD Subnets from a CSV file. The script can be found here. When I run the script, I have done the following: 1. Set execution-policy to...
View ArticleDetermine if an AD account exists or not and then output it to a text file
By searching the forums I found a script as shown below that I modified slightly for our needs. One important change that I need to make is to export employee id numbers instead of account names. The...
View ArticleGroup 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 ArticleDefualt Password all USERs and change Password at NEXT Logon
HiiiiiI have a network with a Domain Controller 2003.I'm looking for a script to all Users have a default password and to all Users have to change their password after they login.The Password Change at...
View Articlehow to get a specific line from a file by giving the line number using...
how to get a specific line from a file by giving the line number using windows batch scrip
View ArticleProblem sending email through CDO
Hi,I have a vbscript that polls the presence of files in a spool folder, and sends out an email when the poll value exceeds a threshold (in my case 5 minutes). The script works like a charm most of the...
View Articlewho's been logging in and on which computers ?
Hi,I need a (powershell) script to tell me who's been logging in to the domain (server 2008 R2 standard) and on which computers.And if possible times E.g. output might be somthing like this in...
View Articlevbscript check if registry key exists
Hi, what would be the code to find out of a registry key existed? for example i want to know if the following exists in the registryHKLM\Software\Microsoft\Windows\CurrentVersion\MyKeythanksSteve
View Articlevbscript to read registry keys and its subkeys
Hello All, I want to change the Source file Server path location in the reg path HKEY_CLASSES_ROOT\Installer\Products\Product GUID\SourceList\Net\1 of every client machines, as we have removed the...
View Article