scom 2007 powershell export list
I'm trying to export a list of machines managed by agents and am using this command:get-agent|export-csv -notype c:\scomagentdevices.csvbut getting this error : The term 'get-agent' is not recognized...
View Articleenumerate and email with powershell
ok fellas, I took you guys word and I've been reading, researching, learning and testing about powershell. Within the last 20 days, here is what I've been able to come up...
View ArticleWorking with multiple switches in Param.
I have a script that has a few switches in it, and I want to error out the script if more than 1 switch is true, but not error if only (exactly) 1 switch is true. I'm trying to come up with the most...
View ArticleHow to add html format to email in powershell
My script works fine by return the data I need and emailing it to me, but the html format is not working. When I receive the email, it shows all the styling I coded at the top of the email; here's how...
View ArticleCall an external program from 1 of 2 locations?
I have a PS script that calls an external program at the end. We're running into an issue now where the author of the external program is making x86 and x64 versions of the product.What I'd like to do...
View ArticleSetting the microphone volume with windows 7 powershell /SCCM/GPO
Hi,I have over a couple hundred computer that I need to change the Microphone Volume on. Does anyone know of a Script/sccm/ GPO that can do this for me. I have been searching and finding only...
View Articlepowershell
do you know any good videos that show you how to use active directory in power shell ?
View ArticlePower Shell Loop assist?
Hi guys, I am struggling to get this part working : can anyone perhaps help?Powershell1 2 3 4 5...
View ArticlePowershell, what does !$_. do?
In this script, what is the function of !$_.get-aduser -searchbase "ou=users,dc=contoso,dc=com" -filter * -properties PasswordExpired, PasswordNeverExpiresif (!$_.PasswordExpired -and...
View ArticlePowershell for idiot (aka This guy)
one line script is not running. $env:userprofile\nvspbind.exe /d "Local Area Connection" ms_tcpip6The "nvspbind" is in the users profile but for whatever reasons powershell isn't finding it. I'm...
View ArticleAdding users to Multiple security Groups in AD
Hi All,I am new to Powershell. So, any help regarding my questions would be great to me. I am trying to write a script in notepad and save as .ps1 to add user(s) to multiple security groups as and...
View ArticleFirewall cmdlets not available in Windows 7?
I'm futzing around with a PowerShell script for a client that doesn't use workstation imaging. It sets a bunch of crap that one would normally do in a base image. One of those things is to set a given...
View ArticleExchange 2013/2013 Script to manage mailboxes - help!
There is a home-brewed beer in this for anyone who can assist (and is of legal age, of course)...no joke.Due to legal requirements, I am trying to write a script that performs the following on an...
View ArticleGetting powershell script to output to a file
Hi all,i've found a powershell script that will return the attached desktop monitor serial number but i don't know how to get it to output to a file \\server\share\%computername%.txt can anyone...
View ArticleGet Last logon time of a computer Powershell
Hi All,I've written the below script in powershell to get the both Name and last logon time for computer in a OU$computers = Get-ADComputer -Filter * -SearchBase "OU=Servers,DC=contoso,DC=local"...
View ArticleMonitoring system with powershell
Looking at monitoring systems for our network. I would really like something where I can write custom powershell scripts to check for certain things on the network. Anyone have any suggestions(cheaper...
View ArticleBasic Powershell Assistance Please
Hi,Just trying to fill out the email field in AD. We have hosted mail so trying to formulate a script. So far I have -get-aduser users | ForEach-Object -Process {set-aduser -EmailAddress...
View ArticlePowershell Script for Adding Home Folders
Good Morning All,I have read over other threads that are similar to my question and they don't seem to fit. Here is my situation.We recently migrated our student user names from their student number to...
View ArticleFinally got to put some of this Powershell stuff to use
So, to give this some quick context, I have been studying for the Hyper-V exam which introduced me to Hyper-V Server 2012 which brought about a desire in me to finally learn Powershell. So, I bought...
View ArticleWhat was your PowerShell project this week? 3/17/2014
What was your PowerShell project(s) you worked on this week?
View Article