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

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 Article


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


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

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

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


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

powershell

do you know any good videos that show you how to use active directory in power shell ?

View Article

Power Shell Loop assist?

Hi guys, I am struggling to get this part working : can anyone perhaps help?Powershell1 2 3 4 5...

View Article


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


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

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

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

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


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

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


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

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


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

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

What was your PowerShell project this week? 3/17/2014

What was your PowerShell project(s) you worked on this week?

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>