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

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 Article


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


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

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

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


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

Image may be NSFW.
Clik here to view.

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

Help tweak this script

I've a quick and dirty script for mass-deleting student...

View Article


Getting Mailbox Sizes in PowerShell and AD infomation

Anyone know if a script that will show me this information. Plus AD information such as...

View Article


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

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

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

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


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

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


Powershell ISE keeps silently failing - 2012 R2

anyone else having issues with powershell ISE, just silently failing. Commands just stop...

View Article

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


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

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

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


Latest Images

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