Drive mapping script with duplicate drive letters
I work for a company that handles many sites meaning we have a lot of shared network drives, some temporary some permanent. This means we have a lot of duplicate drive letters in our logon script and...
View ArticlePowershell Ad user feed to an array then used for a combobox.
Hi guys,I've recently had some fun with powershell and keep doing bigger and bigger project on it.The latest I'm working on is to feed an array with Ad CN users and Account Name.That array will then be...
View ArticleCollecting Ethernet (only) MAC address and removing colons to pass to function
Hey there Spiceheads!I'm trying to collect the local Ethernet MAC address from a PC, remove the header & spaces etc. from it and pass it as a string to a function, which removes the delimiting...
View ArticleGet-ADGroupMembers Emails?
I've been tasked with getting all the users of a particular distribution group and their email address? The members part is easy, but how would I pull all their emails into a document?
View ArticleWMI Explorer
Hello All,What is the best WMI explorer tool for use with Powershell.Thanks
View ArticlePowerShell: AD OU and Splitting or Substring
As i love this community, I would love to see the options I have for this issue. I do believe it's not that hard and I'm probably just over complicating this, however, I would love your thoughts.Say...
View ArticlePowershell script to trim the text file
Hello guys,Could you please help with looking for some PowerShell script that will be trim the text file into HTML and CSV formats?What I have:1. Text document, here is an example of strings and...
View ArticleCarbon: A Nifty little PowerShell add-on
http://get-carbon.org/I ran across this last night whilst searching for a way to automate the creation of [local] user accounts. The Carbon Project adds a lot of custom cmdlets to make this stupidly...
View Articleexport group members
Using dsquery I am able to easily get all the members of perticular group including users, computers & nested groupsPowershell1dsquerygroup-samid"ScreenSaver...
View ArticleModify Custom Attribute Powershell
I have 30+ users that I need to modify Custom Attribute 13 on their mailboxes. I've found a few commands like set-mailbox but the -customattribute is not working. Is there something I must import first?
View ArticlePS Script data correct in manual run but incorrect when run through Task Schedul
Hi Guys,Bit of a weird one. I've got a series of powershell scripts that run on all my servers to monitor resources (disk space, processor, Memory etc). When I run the script manually all the data...
View ArticleEvent Log VB script modification required
Hi guys,I am not a scripting guy, i got a script to get a last 24 hours logs error and warnings event logs.It is in html format.for this html report i need to add columns and header and footer color,...
View ArticlePowershell list of property values
In power-shell, how can I retrieve a list of acceptable values that a property can be set to? I know I can get the property's with get-member, but I want the values these properties can be set to.For...
View ArticleVeeam Scripts - PowerShell 3.0 Win2012
Hi, I need to create a powershell script in order to execute a full backup on Sundays for our Prod server. Iddon't want to create a new veeam job for that I want that full backup to be part of the same...
View ArticleNeed to create an array of numbers with leading 0's
Okay, below is my code but I get an error that says "you cannot call a method on a null-valued expression". Any ideas on how one would go about doing this?Powershell1 2...
View ArticlePowershell - Creating a Outlook Signature
?So I am stuck... I am trying to follow this code and I am getting a bunch of errors with "Unexpected Token" errors and I can't seem to figure out what I am doing wrong. This is my first PowerShell...
View ArticleLaunch Exchange Shell powershell script
Is there a way I can write a script to launch the exchange shell on a server and run a command? I cannot just use snapins or import modules because it's a hosted exchange.
View ArticleHow Can I Compare Employees from Excel with AD using PS
I want to compare employees with AD using Powershell Script.Employee info is in excel sheet.Also, I want to move employees from one group to another group using powershell script.I have started using...
View ArticleHow to Search Security Event Log for File Audit RE: Specific File/Path
I've had users delete things or move things by mistake one too many times... so I finally got around to enabling auditing on my 2008 R2 file server. I'm not very experienced with this, so I'm...
View ArticleRaw text to powershell object question
Hey guys,I've been working with the network tool nmap, and I was thinking how great it would be if Nmap used an object based approach, as you know dealing with many hosts with just the raw nmap output...
View Article