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

Using PowerShell for SQL Server Analysis Services tasks - Part 1

There are several repetitive SSAS tasks that I perform on a regular basis and I want to know what options there are to automate some of these tasks such as processing partitions, creating backups and...

View Article


ERRATA: Administrator's Guide to Windows PowerShell Remoting

page 13, Section on "Temporary Sessions"In the command text samples, "Invoke-Computer" should be "Invoke-Command".This is also true on page 14 under "Reusable Sessions".Bob

View Article


CSV piped to Convertto-XML

This works:$csv = Get-Content "c:\temp\products.csv"$obj = $csv | convertfrom-csv -Delimiter ","$xml = $obj | convertto-xml$xml.InnerXml | Out-File -Width 80 "c:\temp\products.xml"But the output is a...

View Article

Search Multiple Computer's Regestry

Hello, I'm very new to Powershell/scripting in general and have found this website to be a great resource. So far my Powershelling has been limited to little one liners but I now want to challenge...

View Article

OBtain a list of Unapproved communities by Powershell

The list of all Approved communities exist in a SharePoint List at http://mysite/sites/communities/MysiteCommunityRequestLib/Forms/AllItems.aspxAll Communities exist in a site collection at...

View Article


Exchanged 2007, find all emails older then ...

Hi,I need two things (exchange 2007):1) To fined all emails in specific mailbox in range of dates: all emails from "date" to "date", or older then "date". need to generate  report.  2) need the option...

View Article

Powershell is driving me insane

I am very familiar with Linux shell language, and since I am now learning Powershell, I need to show you something very basic for which, apparently, there is no workaround, and it is a bug for any...

View Article

Windows Azure SDK 2.0 Adds New PowerShell cmdlets with Enhancements for...

The recently released Windows Azure SDK 2.0 for .NET includes new features and enhancements for web sites, cloud services, storage, service bus, PowerShell and is available as an open source project...

View Article


Automating Windows Azure Infrastructure Services (IaaS) Deployment with...

 With Windows Azure PowerShell Cmdlets, the process to customize and automate an infrastructure deployment to Windows Azure Infrastructure Services (IaaS) becomes a relatively simple and manageable...

View Article


ScriptCS or PowerShell? part 1

A few days ago I posted a teaser of a project I hammered together that allowed you to run ScriptCS inside of your PowerShell session.  Read More

View Article

PS results into Excel

i Found this inventory script that Jesse Hamrick wrote over att powershellpro.com that gathers alot of wmi info about a selection of servers and sends it to a new excel...

View Article

Long File Paths

The MAX_PATH for Windows is 260 characters, really 259 because the <NULL> character at the end. At my company there are some users who have files and directories that they cannot open because the...

View Article

PowerShell Basics: Variables

Variables are a fundamental part of Windows PowerShell. They're quite different from the variables in Cmd.exe. In Cmd.exe, all variables are environment variables, which you primarily access with the...

View Article


WMI CIM-plified Part 5: WSMAN Protocol

In PowerShell 3.0, the new CIM cmdlets use the WSMAN protocol to retrieve WMI information. A byproduct is that the objects you retrieve across the wire do not have any WMI methods. Using WMI, we would...

View Article

Input parameters not available when calling powershell script from VBA

Hello. I am having some issues when calling a PowerShell script from within VBA. The issue seems that the input parameters to the script do not seem to have a global scope as they do when you call the...

View Article


Modify script to be recursive and save to .csv file?

I've found (on this site: http://powershell.com/cs/blogs/tobias/archive/2008/11/25/cleaning-hard-drives-and-finding-folders-total-size.aspx ) a great script dir C:\ | Where-Object { $_.PSisContainer }...

View Article

Image may be NSFW.
Clik here to view.

Import CSV file comparing by First or Last Name

Hello,I have an Excel file which has First Name, Last Name and otherPager which we are using for our badge reading devices attached to scanners.I need to read the Excel file and then compare the name...

View Article


how to not concern invoke commad 's return?

thanks nohandle ,i will question the net map question.now i have a new question:                              env:pc1/2/3 use xp , all installed powershell v2  pc1 want to use invoke  pc2,pc3  for...

View Article

Get the selected products in WSUS

Hi,I would like to write a script that retrieves the selected products on my WSUS servers.I did not find yet how to, could you please help me ? Thanks in advance,Dimitri

View Article

modify content of xml's by powershell

Hello,I migrate sharepoint users from DomainA to DomainB. I have a problem with Infopath forms. When a form is sent to acceptation with one of approvers login like "DomainA\username" and next this user...

View Article
Browsing all 8583 articles
Browse latest View live