Absolutely lost - PowerShell to audit home share
Basically we have an old Home directory and I would like to dump the entire thing to a CSV file showing the below: Folder Name | Folder Size | Folder Owner Folder owner should reflect GUID if we've...
View ArticlePowerShell -List of Group Names Beginning with xx - Another to rename the group
Good Morning/Day/Evening World, I am new to Powershell and think I can get halfway there, but would appreciate some help please? Basically I want to rename a bunch of groups and edit their description...
View ArticlePowershell and Sharepoint - importing users using forms based authentication
I have been tasked with importing a list of users from a .csv file into a 2010 sharepoint environment and having them be setup via forms based authentication. I want to start this off letting you all...
View Articlenew-vhd consumes all I/O, can I start it with lower I/O prority?
Powershell gurus... I use the powershell new-vhd command to create new vhdx files for my Unitrends UEB VM so that I can create and add them to my UEB storage without downtime. It works great. However...
View ArticlePowershell script proof
I'm having an issue with a script I've been working on. The script should first load a number of modules, then load some stored creds and connect to the Office 365/Exchange Online environment. It then...
View ArticleTry-Catch help
I'm building another report. This time it's getting all the folders in a specific location on multiple computers. I've got it fine working locally and am branching it out to remote computers. I pull...
View ArticleSplitting pairs of charavters in Powershell, odd results
I am writing a script to take a list of characters for replacement and the replacement text for filename replacement. This will be for file name compatibility with skydrive pro. I am falling over...
View ArticleVBA script to create shortcut and change start in path?
I have a VBA script to help with system setup and I have part of it working to create a new desktop shortcut but I can't seem to set both shortcut's start in and target path path in VBA. I would...
View ArticlePowershell Scripting
Can someone please provide me with the exchange management powershell script for adding a PublicFolder in exchange?
View ArticlePOWERSHELL - MS Chart Controls
I have everything working except, the order they are displayed on a image. I want to to start with Monday $Pools = @{Monday=$MON1; Tuesday=$TUES1; Wednesday=$WED1; Thursday=$THURS1; Friday=$FRI1}...
View ArticlePowershell- Stop Script in IF Statement
if (test-path ){ (Perform some actions here) } else { Write-Host "FILE NOT FOUND!" exit } Trying to stop a script if a file is missing (or any other conditions)... The above does not work. Any...
View ArticlePowershell - Reusing Mail Function
I have a function stored in: sendmail.ps1 function sendMail ($errortype){ switch ($errortype) { "1" { $message = "Uh.. something's broken" } "2" { $message = "This can't be right!"} "3" { $message =...
View ArticleFeeling pretty good, submitted my first script!
This is something I've always wanted to do, but programming and scripting intimidates me a little or it did. I've been learning a bit of powershell and created this gem! Probably 2000+ scripts just...
View ArticlePowershell function: overwrite variable error?
I'm trying to write a powershell function, pretty simple, but I seem to be bumping up against something that I haven't been able to find. I suspect it's just my lack of powershell/windows programming....
View ArticleChange the filename in target of shortcut (.lnk) files..
I have shortcuts in multiple folders that point to .dot files. The files have been upgraded to .dotx files. I would like to use the existing shortcut files and change the properties to reflect the...
View ArticleRun Powershell from a notepad
Is there anyway to run a powershell script to change user rights from a notepad? Or if not whats the easiest way to mass change a list of users (Trying to take away admin rights)
View ArticleRemove Local Admin via powershell
Hey guys, So just looking for the closer, I ran a powershell to pull all local administrators, I exported the txt documents, edited it, now I want to remove local admin from all the users in that...
View ArticleSMTP Failure?
I have written a Powershell script which copies files from the server to an external USB drive using ROBOCOPY. When done it sends an email to me using "blat.exe". The emailing seems to work on and off...
View ArticlePowershell Script to display Password Expiration
How do I add 90 days to the PasswordLastSet date & extract it to the output? Below is an excerpt from one of my script & what I attempted to do. Everything works but the section where I try to...
View ArticlePowershell script to return value from even log event...
I'm trying to find/create a script that will query an even in windows even log and pull a value from it. I have server temp monitor that drops the temp in a windows even log. I'm trying to monitor...
View Article