Browse Forum Posts by Tags

Showing related tags and posts for the Forums application. See all tags in the site
  • Send Powershell output to an Excel, PDF, or Image file

    By Chad Miller Since SSRS reports can use DataTables as a data sources I thought this would make a nice way to export the output of any Powershell command/script to a number of different formats natively supported by SSRS including Excel, PDF, ... Read More
    Posted to General (Forum) by ps2 on 04-17-2009
    Filed under: Output, PDF, Excel, Image File
  • how to write a hash in the way it can easily be readed again?

    Hi, I am new to powershell and need to use hashes: to read them, to amend them, and to save them again. I found impressive easy ways to convert string (read from files) into a hash: $tmp = @" EURUSD=19000000 USDCHF=19000000 GBPUSD=19000000 "@ $lastDate = convertfrom-stringdata $tmp But I haven't...
    Posted to General (Forum) by calli on 09-08-2009
    Filed under: Output, HashTable
  • Need some help with output formatting

    I'm writing a cluster resource script that is checking the cluster resources, which node they are on and node online/offline status Right now I'm stuck in the output part, in the pipe I have the following data: clusterresource1 node1 online clusterresource2 node2 online clusterresource3 node3...
    Posted to General (Forum) by Ironbone on 05-20-2010
    Filed under: PowerShell, Output, powershell 1.0, powershell 2.0
  • powershell for loop help

    Hey Guys, I'm having some issues consructing the correct for loop I need and also finding a command to e-mail output. Maybe you guys can help me. Currently I have a directory listing that has been parsed and stripped of everything except for the file name and dumped into a file called listing.txt...
    Posted to PowerShell for Windows (Forum) by Terrell on 03-09-2011
    Filed under: cat, each, output, a, in, shell, loop, read, line, power, for, mail, file
  • Folder and Disk Space utilization report

    I have a portion of a script that creates an excel spreadsheet and populates the drives for remote servers, their size as well as used and percentage. (Found it here I believe) What I need to add to this spreadsheet are all of the directories that are listed under the drives by using the get-content...
    Posted to PowerShell for Windows (Forum) by squeekie on 04-20-2011
    Filed under: powershell, wmi, get-wmiobject Win32_Product MSI Windows Installer, windows, powershell remoting, output, loop, file
  • password generator

    I am using the follwing powershell script to gen a random password. $pwdlength = 6 $bytes = [byte[]][byte]1 $pwd = [string]"" $rng = New-Object System.Security.Cryptography.RNGCryptoServiceProvider for($i=1;$i -le $pwdlength;$i++) { $rng.getbytes($bytes) $rnd = $bytes[0] -as [int] $int = (...
    Posted to PowerShell for Windows (Forum) by pat wrigley on 06-16-2011
    Filed under: powershell, powershell Windows-programming, files metadata, output, read, password
  • Effective PowerShell Item 14: Capturing All Output from a Script ...

    Both version 1 and version 2 of Windows PowerShell have a nasty limitation when it comes to capturing *all* output from a script. First up, within a script there is no way to redirect host (Write-Host), verbose, warning and debug ... Read More
    Posted to Using Scripts (Forum) by ps2 on 03-12-2009
    Filed under: Output
  • PowerShell ABC’s – O is for Output

    Another post from Joe Pruitt that talks about PowerShell dealing with Output. Read more
    Posted to General (Forum) by ps2 on 01-19-2009
    Filed under: PowerShell, Output
Page 1 of 1 (8 items)
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.