Quantcast
Channel: PowerShell
Browsing all 15370 articles
Browse latest View live

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 Article


Check 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 Article


Power 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 Article

Time 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 Article

Help 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 Article


Powershell 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 Article

add 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 Article

Create 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 Article


powershell 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 Article


Logon 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 Article

Largest 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 Article

PowerShell 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 Article

Username & 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 Article


Welcome 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 Article

Powershell 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 Article


Does 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 Article

Update 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 Article


Get-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 Article

Help 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 Article

Auto 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
Browsing all 15370 articles
Browse latest View live


Latest Images

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