Mass Delete Items from SCCM?
I have a list of 20ish workstations that need to be deleted from SCCM, what is the best way to check if the device exists and if so delete
View ArticlePowershell list computers
Hi All,I have a script that lists all computer names in the domain that is run in powershell, I would like it to output to a file but I am having an issue getting all the PC names to be put in the...
View ArticleCollecting Users and Devices in Exchange.
What the client wants:Exchange 2007 server with ActiveSync installed.Client wants a list of users and the devices therein.Here is what I have so...
View ArticlePowerShell Versions
I am reviving my use of PowerShell and have three different flavors running:Version 2 (In my Win7 Machines)Version 3 (In my Win2008 R2 Servers)Version 4 (In my Win2012 R2 Servers)I know that there are...
View ArticleIE Com Object Set Value error
Error: Property 'Value' cannot be found on this object; make sure it exists and issettable.When I try to set the value of username, it gives me the above error. Not sure why. Anyone have any ideas?Here...
View ArticleCombining 2 scripts into one export list?
Hi Guys,I've been using the following two scripts to monitor EMC installs on our network. I'd like to just add the last bootup time to the first script. I've tried combining them myself with no luck....
View ArticlePowershell - Get all users in an ADgroup with the displayname
I need to find a way to get all members of an ADGroup and also with the displayname.This is the command I am using to get the users in the groupGet-ADGroupMember -identity "GROUPNAME" -Recursive |...
View ArticlePowershell - Get ADUser Displayname from CSV with Names
I have a CSV file with a bunch of IDs on it. I need powershell to go through the CSV and return the displayname of each object on it. I try this and it asks me for a filter property, if I type * it...
View ArticleMy Powershell Script won't run at Logon - Setup via group policy
Idon't thinkit is an issue with the way I have setup my GPO because I successfully ran a simple powershelllogon script that wrote a .txt file to C:\ for a test. But I also don't see how it is the...
View ArticlePowershell Script delete the files under folder exclusion of of some files
Hello, i have a below script which is working very fine but now i need to EXCLUDEsome files which is started with prefix PHONE, PIN, SMS or with extension *.csv how can i do that.BelowScript will...
View ArticlePowershell Script to add user to Local Admin Group
I have a unique environment that requires many users to have local admin access to their computers for development purposes. I would like to come up with a solution that adds the domain user account...
View ArticleWhat was your PowerShell project this week? 5/9/14
Another week, another Friday!What PowerShell projects did you work on this week?Me? I was at a week long new hire orientation in Camden Maine so I haven't even fired up PowerGUI this week!
View ArticleAutomating the creation of a Generation-2 VM
Hi folks, This is gonna be a long post but I've tried to cut it down.First, background. I have a script that creates a VHDX with the Install.wim loaded. This script creates a reference disk. I have a...
View ArticleTally word count in powershell
Linux admin here - trying to get the hang of powershell...Lets say I have a file that looks like this:Textball ball ball frog frog I'd like to parse this file, and give a count of each unique word like...
View ArticleBrowse Remote Computer with Command Prompt
Is there some way that I can browse and run files on a remote computer via the command prompt from a local workstation? I have looked into PsExec from Sysinternals, but is there another way to do this?
View ArticleChanging Local Administrator accounts on servers on another domain
Was curious if anyone has done something similar. I have an environment with 3 domains that are not trusting of each other (so I can't just use an uber-administrator account).What I need to do is...
View ArticlePowershell script to logon state
I'm trying to get this script to work, to show whether a computer is logged on, locked or offline, and who is logged on. Unfortunately, it keeps showing the same user logged on to all of the machines....
View ArticlePowershell script to change Word editing password
Hi,We have a bunch of Word documents that are password protected for editing. They are not password protected to open the file. I would like to change the old password to a new password through...
View ArticleExchange 2010 PS - Add new user to GAL
Hi everyone,Hopefulyl this is right group. I'm wondering if someone could help me out with the above. I have a user mailbox setup with 3 email aliases for it.When the user sends internally she can send...
View ArticleTrimming Variables with PowerShell
Powershell$s=Get-WmiObjectwin32_bios|format-listSerialNumberAt the moment I'm trying to strip down the information returned from a command and store it in a variable. Any suggestions? The code attached...
View Article