Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Browsing all 6937 articles
Browse latest View live

Saving a file in Excel keeps popping SaveAs dialog box

I've been struggling with this for a couple of hours now. Can someone please help !!I'm simply trying to figure out how to use the SaveAs method to save an Excel workbook. But the SaveAs dialog keeps...

View Article


HOWTO combine multiple text files into one excel spreadsheet powershell

I' am a new in Power Shell world and i need to create a poweshell script which combine multiple text files into one excel spreadsheet With PowerShell  is it possible?  1 – Convert text files .txt TO...

View Article


CSV parsing values

hello! I need some help, I need to take each row from a csv sheet, that looks like this: header is asownerseID@domain.com; ID2@domain.com; ID3@domain.comAnd put each of the email addresses into their...

View Article

Moving Computer from Default OU to Custom OU after Joining to Domain

Hello can someone help me with the script writing in PowerShell?:I'm trying to include the script in the deployment process. Where after typing the Computer Name the script gets executed. Upon...

View Article

Two modules have the same name

I have two dll files with the same name, Test.dllIn dll files define different cmdlets.How can I use the two Modules in one powershell session?Is that possible?Import-Module -Name...

View Article


Convert Excel Macro

Hi,If some one can help me to convert this Excel Macro to PowerShell Script, the macros is very successful but it stills/hangs on huge file. (approx. 50 thousand lines)I import the text file and then...

View Article

Scheduled Powershell task + AD commands failing

Hello,I have written a script which looks up an AD security group, lists the members and then takes action against each member.I'm attempting to run this on Server1, which is a Windows 2008 R2 non-DC...

View Article

DBX to PST Converter

Normal 0 false false false EN-US X-NONE X-NONEDBX to PST Converter is surefire online utility which assist to export data and convert DBX to PST Outlook with swiftness. It caters the fast service to...

View Article


search directory one level deep file

$mu2_file=@()mu2_file= get-childitem -path C:\temp\text -Recurse -include "mu_*.txt"the folder C:\temp\textmu_4342.txtmu_56546.txtC:\temp\text\xmu_5435543.txtmu_53465464.txti only search level 1 deep...

View Article


Change CGI to ISAP

I have recently been on a basic powershell course and my first task now back to work is to turn the following into a powershell script and it has totally baffled me? Any help would be appreciated as i...

View Article

seach and copy files from selected subfolder

Hi, We had some performance issue while looking for files in a folder(Archive) which have more than 600000 subfolders. Daily these subfolder get created and we want to look for files inside those...

View Article

Problem with TypeNames

I am having problems with TypeNames and TypeData. I'm pulling some CSV information in from a dos command, and trying to manipulate the resulting object to better suit my needs - namely by changing some...

View Article

Powershell system temperature

Hello, is it possible to get system temperature information with powershell ?  Thanks 

View Article


Powershell script for notifying of a server reboot

Good dayI have 2 servers running windows server 2003. I need to know if its possible to create a script to notify me if and when the devices are rebooted.It needs to send a mail out to a distribution...

View Article

Search Powershell IDE

Hi all,I'm searching for the Powershell IDE:Where can I download the IDE?THX

View Article


Painful CSV output

Hi I have a program that exports a database to a csv file, this is a custom database engine, and the access to the data is via a web portal. On the web portal there is an export to csv function however...

View Article

Cannotchangepassword option PS not working...

HiI am a PS newbie, and I have a problemThe cmd seems to be ok, and I can't understand why it dont...:-S Like I sayd Im a newbie at this.....$user = Get-Content "c:\temp\xxx.txt" |ForEach-Object {...

View Article


Is it possible to create a object with multiple class member in powershell?

Hi, guys, I'm quite new in powershell scripting. I'm trying to use powershell to analysis some text based log (such as internal network access log).I saw some object related examples for powershell,...

View Article

Regex replace by pattern.

Hi All, I am trying to use regex in powershell 2.0 where  I need to find and replace a string by pattern. the string to be found is not know exactly, But need to find it by pattern matching and replace...

View Article

Image may be NSFW.
Clik here to view.

CSV Multi value split, thank you in advanced!! :)

My basic need is easy to understand, but I've not spent much time in CSV manipulation and I'm completely confuddled as to the best approach to make this work lol.My end goal is to get a CSV file from...

View Article
Browsing all 6937 articles
Browse latest View live