PoSH, and WSDL\XML
Hi, been trying to figure out an actual question from a client, while learning at the same time, but am currently stuck. The basic premise is that they have XML source from which they need to retrieve...
View ArticleMedia File Thumbnail
Hi all,I'm hoping someone out there can help me with pulling out the cover art or Windows thumbnails for a video file. I'm using Powershell 3.I have a library of my ripped DVDs and Blu-rays on my...
View ArticleRename multiple files based on their content
I am very much novice on powershell but I am trying to find(learn) a solution in powershell to rename several text files based on their content:For eg:I have a file with content in first line something...
View ArticleScript for NAV 3-tier troubleshooting (PowerShell)
This PowerShell script is designed to help troubleshooting Dynamics NAV 3-tier installations by extracting the information that is typically used, rather than looking around in Active Directory to find...
View ArticleWindows Server 2012 Users Should Not Uninstall .NET Framework
Microsoft this week warned Windows Server 2012 users against uninstalling older .NET Framework versions.For organizations upgrading their servers, removing the old .NET Framework might seem like the...
View ArticlePowershell Goodies
If you haven’t seen some of the other blog post, or the Microsoft Powershell Blog, Microsoft recently release Script Browser for Powershell ISE. This little addin allows you to quickly search and...
View ArticleExtracting Specific String that follows known text
I have a string of text in a file that looks like this (without the extra row...
View Articlecopy-item fails
$grab = get-childitem "C:\Temp" -recurse | where {$_.extension -eq ".txt"} | % { Write-Host $_.FullName } foreach ($item in $grab) {Copy-Item $item -destination "c:\Find"} When I run that above...
View ArticleIf Statement to Return No User Logged in on Remote Computer
I've been struggling with this one and need some help. The Get-WmiObject command below returns the DOMAIN\Logged_In_User on a remote computer. I would like an "If Statement" to return "No Logged User"...
View ArticleVerify against Active Directory to see if SAM already exists.
First off I'd like to "tip my hat" to the admins on this forum. Some of the best formulated /clear answers compared to other sites.I'll get right to the point, I'm a little loss in my code write now....
View ArticleInvoke Command not reading a parameter
Hi thereI'm just testing a section of my script whereby i want to eliminate hard coding a version folder and pass something like thisLogin credentials are passed in the script from another XML so that...
View Articlework with windows files
Hello, i am new in Powershell. I Need very urgent help. i have to convert files "RC_*.zip" from a Windows Folder with a Java script with a foreach Loop. I do this with one file in a dos Batch file and...
View ArticleCreation of Ad users
Gentlemen,This little script is working however the password and the user wont be "enabled" and "pswd never expires" won't be true after running script, could you please drop me a hint why?The...
View ArticleFormating Word Document
I have a simple script that adds a title, date and sample table. I can align the title and date but once I apply a style to the table I would like to center the table. I have tried to find the...
View ArticleUnable to update to Powershell 4
I have windows 8 pro but I am not able to update. Why?My OS is in Spanish Language and I downloadedWindows8-RT-KB2799888-x64.msu (recommended) 17.5 MBand the result is:the update does not apply to...
View ArticleHome drive and looking for blanks
Back again, with a change of direction. Another project has befallen me. Id rather take a ring to Mordor to be honest. LDAP is useful but so unreadable so again i look to powershell.from many thousands...
View ArticleWindows PowerShell 4.0 Quick Reference Guides are Available for Download
Are you a frequent user of PowerShell, but always find yourself wishing you had a great quick reference sheet available? Then you will definitely love this bit of news! Microsoft has released an...
View ArticleAdding Pictures to AD
Okay I need help scripting the following. First the script needs to query AD to find AD accounts in one OU that do not have pictures, retrieving their employeeNumber. Then the script needs to match...
View Articleget data on same line
I have this code. $OSDArchitecture = "OS Architecture"$GetInfo1 = (get-ItemProperty hklm:\SOFTWARE\Microsoft\MPSD\OSD).OSDArchitecture Echo $OSDArchitecture $GetInfo1 >>...
View Article