Loop Needed for Powershell script
I am making a quick script to uninstall some old software on my laptop,testing this so far only allows for one application at a time to uninstall.Powershell$myapps="Microsoft Visual C++ 2008...
View ArticleScript to pull "C:\users\%user%\" folder size
Hey Guys,I am trying to push out some folder redirection, I've got some policy's that are working pretty well.The big obstacle is the size of the folders I will be redirecting.Is anyone familiar with a...
View ArticleError in Adding New Users from CSV file (Bulk Operations)
Hi All,For some reasons, I can't find the cause of this error. I'm trying to add new users into my AD Lab Environment. I tried this in the Production environment and it's giving me the same error.See...
View Articleany way to add host to NLB via powershell and initial state to be stopped?
I have this script herehttp://britv8.com/powershell-add-server-to-nlb-and-make-its-default-state-to-be-stopped/that works fine, but I cannot find any parameter with the add-nlbclusternode that allows...
View ArticleTwo new Office 365 Licensing Scripts
Just a heads-up: I posted two new PowerShell scripts for managing Office 365 user licenses. This one sets user licenses using a template-based...
View ArticleGetting an object's type name
As many (all?) of you know you can pipe an object to Get-Member to see what's inside.This fragment gets the type name of a Win32_sharePowershellGet-CimInstanceWin32_Share|Get-MemberWhen you do that,...
View ArticleWeird Powershell entries
I noticed the other day that I had about 5 powershell processes running on my PC. The further I dug into it I noticed that its calling a powershell command from the registry PowershellAD in...
View ArticleGetting Mailbox Sizes in PowerShell and AD infomation
Anyone know if a script that will show me this information. Plus AD information such as...
View ArticlePowershell Prompt for password
Hi guys.So for my company, I am creating a GUI script that allows me to add network drives to a machine, however, I would like a password prompt before I am able to access the rest of the script.I...
View ArticleCheck for Running Script
Is there a way from a Powershell script to tell if another script is already running in the background and if so can you stop it?Basically I want to do the following:1. Check a script that is running...
View ArticleCopy multiple source folders to single destination - for all AD users
Hi all,I'm looking for a way to migrate data from one set of source folders, to a single destination folder on a per user basis.The following robocopy commands will do this for a single user, however I...
View ArticleFunky Powershell with Arrays and stuff
I have four domains.Each domain has it's own admin userAnd each admin user it's own password.I want to do some funky searching across all 4 domains, regarding Hyper-v.... but for some reason can't...
View ArticleSystem Center Configuration Manager Cmdlet Library - download button??????
https://www.microsoft.com/en-us/download/details.aspx?id=46681so where is the download button?. I can't see it in IE11?do I need glasses?
View ArticleScript to modify exchange mailbox setting - help
We are setting up an Exchange server and I need to set the Calendar Version for all of our users mailbox. I found how to set it for an individual but how do I modify it for everyone all at once in one...
View ArticlePowershell ISE keeps silently failing - 2012 R2
anyone else having issues with powershell ISE, just silently failing. Commands just stop...
View ArticleAdding members to the local group
Hi All,I am new to powershell. I created a code to add membership to an existing local account. However, the local account is a member of Users group by default so i tricked the code but it gives me an...
View ArticlePowershell Script to add bulk users from csv and group membership
Hey guys,I know there are plenty of resources there in the internet but really cant get this one done.Need a script to add +1000 users (firstname, lastname, username, homedrive, AND group...
View ArticleDaily Calendar Script
Is there a simple powerscript that I can run on an Exchange box than can export a single users calendar with date range of Today only. So each time you run it, it always gets the calendar for that day....
View ArticlePowershell script to add mailbox to retention policy
Hi All,I am trying to come up with a powershell script that will add a users mailbox to an existingretention policy. The way I do it in Office 365 Portal isPortal -> Exchange -> compliance...
View Article