Powershell cmdlet for exchange to add mailboxes
Other PostHey guys, I'm looking for a exchange powershell cmdlet that will create a new mailbox from and existing user. I want all existing users that are members of the security group "ExchangeUsers"...
View ArticleCheck if multiple users are a member of a Group? PowerShell
I have a list of 20 or so users that I want to see if there a member of one specific group? What's a easy way to do this?
View ArticlePower Shell script for AD groups.
Hi everyone,I have a task of copying all the Global Security groups in to Domain Local Security group with added DL_ prefix.So the workflow should look like this:-->Take Global Security group from...
View ArticleTime Difference in Powershell
I wanted to post this solution to a Powershell problem I had because I couldn't find any examples on the internet.I needed to be able to calculate the difference between a timestamp from the last 24...
View ArticleHelp merging Ex2K7 Scripts for DL & DistributionGroupmember info
We currently use 2 separate scripts to review DLs. The 1st uses Get-distributiongroup to get a list of DLs (excluding mail-enabled security groups) with the DisplayName, PrimarySMTPAddress, ManagedBy...
View ArticlePowershell help, copy file to top level subdirectories
Hello everyone I need to replicate a file named " denymove.txt" into all the top level folders within a directory.I have tried to use the powershell script below but it seem to replicate the file into...
View Articleadd only pingable servers to export csv
I have a script that will create a csv of all the servers in my domain:Get-ADComputer -Searchbase 'OU=XXX,OU=XXX,DC=XXXX,DC=XXXX,DC=XXX' -Filter {OperatingSystem -Like "*Server*"} -Property * |...
View ArticleCreate SCCM 2007 Collections from a CSV
Hi, I'm pretty new to powershell so any help would be appreciated!I've created the following script to create a large number of SCCM collection based on a CSV containing AD Sites.The script uses the...
View Articlepowershell output to lowercase
I have the below powershell command working but I would like to convert SamAccountName, mail, and manager to lowercase. Is that something that can be easily done with powershell? I understand there...
View ArticleLogon scripts : cloud folders
Hello!I'd like to run logon scripts via a cloud folder solution for remote computers. It would run as a service and be similar to this :...
View ArticleLargest Directories and Folders PowerShell
How could I harness the power of PowerShell to show me something similar to the TreeSize software? I'm look for what directories and files are taking up all the space on some servers.
View ArticlePowerShell IF ELSE statement not working
I have the following script, which is to search for locked out AD accounts and it works fine, but an email also gets sent (a blank one) if there aren't any locked out accounts!I tried putting an Else...
View ArticleUsername & Email Variable
Hi guys i have my welcome email script working perfectly thanks to everyone on the forum :)How do i insert the correct variable to add "this is your username....***** and this is your email address...
View ArticleWelcome tfl as Group Admin
Hi Everyone, wanted to just say that tfl (Thomas) has decided to become a group admin for the PowerShell group. tfl is about the only person in the group who's been doing this longer than I have, so...
View ArticlePowershell WScript.Shell.CreateShortcut TargetPath with spaces and commas
I am trying to script the creation of some 600 shortcuts. Different shortcuts for different users. I have a csv file with the data. However, when assigning the target path, the object strips out...
View ArticleDoes anyone have a change ActiveWindow script?
I need to change the active window between 4 open windows on a set interval such as 5 mins.
View ArticleUpdate bulk user email address from .csv file in active directory
We have almost 3500 users which are missing email address. Don't ask why otherwise I needed to thank helpdesk for this work. Anyways can you pls. help me with the script. I would like to match the...
View ArticleGet-ADGroup Active Directory Powershell
Good morning! I have this nifty cmdlet that I use to glean all AD Groups and their members from Active Directory:import-module ActiveDirectoryGet-ADGroup -Filter * | ForEach-Object{...
View ArticleHelp Needed - Powershell - Line Graphing IIS Measurements
I'm trying to create a png file based on my IIS files as I'm try to track down a few slow calls to my webservice and have it create an HTML file.I've found a few scripts about plotting with other...
View ArticleAuto Communication in between excel data and Active Directory data
Can we have any tool or software or any script who can make the automatic communication in between my excel to active directory data.Because we have all users details in excel and i need this sheet...
View Article