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 Articlecheck 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 Articlereplacing 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 ArticleLogging 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 Articlepowershell - Invoke-WebRequest - sourceforge urls/redirection/dynamic conten
Hallo,I try to use Invoke-WebRequest CmdLet in Powershell for downloading OpenOffie...
View ArticleVerifying .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 ArticleHow 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 ArticleChange 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 ArticleOpening 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 Articlepowershell & 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 ArticleGet-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 ArticleImport-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 Articleexport-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 ArticleAccessing 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 ArticleCreate 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 ArticleParsing 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 ArticleRunning 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 ArticleReport 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 ArticleProblems 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