Quantcast
Channel: PowerShell General
Browsing all 10624 articles
Browse latest View live

The first 3 days of Learning PowerShell 3.0 In A Month Of Lunches

If you didn’t catch it, I posted about getting more in depth with PowerShell a couple weeks ago. I am using the excellent book by Don Jones and Jeffrey Hicks “Learning PowerShell 3.0 In A Month Of...

View Article


#PSTip Tab Completion in PowerShell 3.0

PowerShell’s tab completion just got better in v3. In addition to all its awesomeness, it is now capable of completing service or process names, event log names, module names and the list is long.Read...

View Article


check for service installed & get status, output report, almost there I think?

Howdy,I have been trying to get a script working to check for a single service and I'm getting stuck.  I have the script below which does get all services and I'm not far off, but I'm not sure how to...

View Article

replacing file path

Hi, I am new to PowerShell.I have a .confi (XML) file in UTF-16 unicode with over 100 lines. I need to find replace the some tags where file path is incorrect.  I am able to find the file path store it...

View Article

Image may be NSFW.
Clik here to view.

Logging user/machine and session information

Hi all,Firstly, I just wanted to say I'm an absolute Powershell newbie, and secondly that this site is a great repository of knowledge by those way smarter than me! Anyway, I am a Network Admin at a...

View Article


powershell - Invoke-WebRequest - sourceforge urls/redirection/dynamic conten

Hallo,I try to use Invoke-WebRequest CmdLet in Powershell for downloading OpenOffie...

View Article

Verifying .NET usage

As part of a security audit, we need to:1.  Identify versions of .NET installd.2. Document any application which is using .NETThe guidelines provided to us for (1.) is to get the version of...

View Article

How to enumerate folders

I need to find out how many folders and files are on shared drive.     What I'd like is the same information you get when you "right click" a folder and pick Properties.   There you see this...

View Article


Change Local Password

I've Googled this and I've gotten tons of good hits.  But here is what our environment looks like. We have many Windows 2003 x86 & x86 servers.  We have many Windows 2008 R2 x64 servers.We have a...

View Article


Opening IE tabs with powershell

I am a beginner in powershell and new to this forum. I am working on a powershell to script to open IE window with multiple tabs. Here is what the requirement is,I am keeping the request number (PPM...

View Article

powershell & mysql

I am trying to manipulate some mysql databases with powershell. I found a really informative post of a one size fits all database connector. So the connection part is working. My current crisis is I...

View Article

Get-Unique Ip address list

I am working on some code and I thought the Get-Unique cmdlet would be a perfect match for what I am trying to accomplish.  I cannot get it to work though tried many different ways to get the output to...

View Article

Import-Csv with multiple rows and columns

I have tried to sift through the forums for answers but I am unable to find anything or I am not understanding. I have a CSV file......

View Article


export-csv over writing 1st row

I have a powershell script that imports a list of students, ids, school, etc.. the script seems to work fine (i've stepped thru it in the debugger and i see it writing and overwriting the data) but...

View Article

Accessing Oracle Database 11g with Powershell

Hi there Has anyone any experience with accessing a oracle 11g database in powershell? Is there a module which can be downloaded in order to access a oracle database. I want to extract data from a...

View Article


Create PS script for PS 2.0 on computer with PS 3.0

Hi, I have Win7 and Windows PowerShell 3.0 on my computer.I wonder, can I choose PS version when I create script, like in Visual Studio when i create new project and I choose .Net Framework version on...

View Article

Parsing column in csv file

I haver a csv file with a column containing host names. Occasionally the host name is shown as a FQDN and I need to remove the domain part ie '.me.co.uk' for those entries. The data comes from...

View Article


Running a Perl program from within PowerShell

I want results from a Perl 'print' command that is in a Perl program that is invoked from within a PowerShell script to appear in the PowerShell window through which I invoke the Perl program.I do see...

View Article

Report of members of local Administrators group

I found this here: (http://powershell.com/cs/media/p/376.aspx)cls $ErrorActionPreference="SilentlyContinue" Get-Content (ENTER PATH TO YOUR INPUT FILE HERE) | foreach {...

View Article

Problems consuming parameters by propertyName from ADObjects using Alias

Hi!I have a parameter named "signature" which I want to be able to pipe data to from ADObjects (from the module ActiveDirectory). Adding an alias named "samaccountname" to the parameter "signature"...

View Article
Browsing all 10624 articles
Browse latest View live