Rearrange the output format?
This is probably an easy question... Below is an example of the query, that I am running. It generates output in a standard grid similar to this:name | week_start_date | Replied
Jim | January 1, 2010 | 4
Bob | January 5, 2010 | 7
Bob | January 9, 2010 | 9
etc etc.
My question: How can I reconfigure the query inside, what it output shows where the 'name' and each individual "week_start_dates" are the column headers and the counties have "responded" are tiled horizontally instead of vertically? Who is?
SELECT
b.Name,
c.week_start_date,
SUM (CASE WHEN SUPERIOR (a.result) = END ELSE 0 "RESPONDED", 1) like "responded."
Of
Table1 an INNER JOIN table2 b ON (a.id = b.id)
INNER JOIN datetable c ON (a.year_week = c.year_week)
WHERE
(a.time_stamp > = sysdate-30)
AND UPPER (a.result) = "RESPONDED"
GROUP BY
c.week_start_date, b.name
Published by: user8825851 on June 9, 2011 08:09
Published by: user8825851 on June 9, 2011 08:10
Hello
From 11 g, you can use the PIVOT to do.
http://download.Oracle.com/docs/CD/E11882_01/server.112/e16579/analysis.htm#DWHSG0209
Kind regards
Sylvie
Tags: Database
Similar Questions
-
Simultaneous report runs very slowly when the output format is 'XML' on IBM 6.1
We have recently updated one of our test server database IBM AIX 5.3 to 6.1 operating system. We are witnessing a strange question in the execution time-out of simultaneous reports that have output in XML format (no server of publication and the Publisher). Whenever the output format is set to XML, the execution time seem to have increased very high than it used to be less than 5.3. A report to take 10 seconds which takes about 4 minutes to complete which is huge in comparison. Information about the version as below
Oracle EBS 11.5.10
Oracle 10.2.0.4.0 DB
IBM AIX 6.1 OPERATING SYSTEM
Oracle reports 6.0.8.28.0 (I know old enough)
Provide expert advice.
Thank you!
All the
We have solved the problem. I would like to share for the benefit of the readers of the community, if they are facing similar problems.
The reason for the slowness of the report was due to lack of installation of the 'VIEW' option that is used when XML reports. Reports whose outputs are in format PDF, XML, HTML etc, Post Script, they all need a virtual display makes setup and configuration properties of config pointing to this server whenever settings are do. It could be a windows machine with X-Server running on it for display purposes or it could be services that are running on the same server for Unix/Linux applications where the application runs. We have installed VNC as X-Server that hosts services for virual (X) output for display on UNIX itself and have configured it in the reports configuration file. It seems to have solved the problem and the reports are run as expected (must faster!)
Thank you
Girish
-
Question about the output format...
I run this command:
Get - vm | Select-Object - name of the property, Notes, VMhost, invited
and the output of the powercli window, only gives me the name column and not others... If reverse the order he still gives me one time as the first property in the list. Now if I run the same command, but the export to CSV all columns show with their associated statistics.
How is it that I can't output suitable for all the columns in the window powercli?
I am running powercli worm 5.5 Rel 1 64-bit...
Any suggestion would be greatly appreciated as im trying to learn powercli...
Thank you!!!
If some properties of container which is long, he pushes the other properties of the screen?
Try like this, you see all the properties?
Get - vm | Select-Object - property, Notes, VMhost, invited name | Format-List
-
Any way to customize the output of tag_eventfromdate to view a different date format?
The {tag_eventfromdate} and {tag_eventtodate} out of the dates in the format DD-MMM-AA is not-very-nice. Is it possible to adjust the output format to something more human of the environment as 'November 22, 2014?
In the live platform - only with javascript at the moment.
-
Hello
I have 4 columns, I need the output format using carriage returns between values and removing the label for nulls, such as only the columns filled with values are displayed:
Name: emp.first_name
Medium: emp.middle_name
Name: emp.last_name
Address (line 1): emp.ext_contact_addr1
for example: -.
If the name is null then output would be
Middle: Thomas
Family name: James
Address (line 1): 10 william st
If the name is null, then output would be
First name: Tessa
Family name: James
Address (line 1): 10 william st
etc...
Please help me.
Hello
Here's a way
SELECT LTRIM (NVL2 (emp.first_name
, ' Name: '. EMP.first_name
NULL
)
|| NVL2 (emp.middle_name
, CHR (10) | ' Average: ' | EMP.middle_name
NULL
)
|| NVL2 (emp.last_name
, CHR (10) | ' Last name: ' | '. EMP.last_name
NULL
)
|| NVL2 (emp.ext_contact_addr1
, CHR (10) | ' Address (line 1): ' | EMP.ext_contact_addr1
NULL
)
, CHR (10)
) AS output_string
WCP
;
Using NVL2 like this, the label for each line gets concatenated only if there is some data to go with it.
If the name is NULL, which means that the output_string will begin with a character of new line (which is CHR (10) on my system, you may need to change this). I used LTRIM to remove this first newline character, if there be one.
You can also consider the results of unpivoting so that you have between 0 and 4 lines in the result set for each row in the emp, with 4 items on separate lines.
-
Hello community! Sorry, it's so rudimentary. Can anyone offer advice on how to better format the output of the below? As it is, it prints it just without formatting - I want out as the output format-table and I would have zero decimal places in the output of Write-Host $CurrentItemHdd.CapacityGB. Thank you!
foreach ($VmItem to $MyVms)
{
$CurrentItemHdd = get-disk hard - VM $VmItem
Write-Host $VmItem.Name $CurrentItemHdd.CapacityGB
}
To create an exit in your PowerCLI script like the Format-Table output, you must create an output object. There are several ways you can do. One way is to use the PowerShell New-Object as shown in the below script cmdlet. The properties in the New-Object cmdlet output are not classified. That's why I redirect the output to the Select-Object cmdlet to order.
Your original script will generate a table for the CapacityGB property, if a virtual machine has more than one hard drive. That's why I introduced a second foreach to browse the hard drives. Because you probably want to know that CapacityGB belongs to the hard drive, I added the property 'hard drive '.
[Math] .NET: Round() function is used to supplement the CapacityGB to zero decimal places.
The character '&' at the beginning of the script and the scriptblock around the script are necessary to allow to channel the output of the script to another cmdlet as Export-CSV. foreach is not a cmdlet, and therefor you cannot use the out of foreach in the pipeline without using this trick.
& {foreach ($VmItem to $MyVms)
{
foreach ($CurrentItemHdd in (Get-disk hard - VM $VmItem))
{
New-Object PSObject-property @ {} TypeName
VM = $VmItem.Name
"Hard drive" = $CurrentItemHdd.Name
CapacityGB = [Math]: Round($CurrentItemHdd.CapacityGB,0)
} |
Select-Object - property, CapacityGB VM, 'Hard drive'
}
}}
Post edited by: Robert van den Nieuwendijk
-
Problem with font color in the report formatting
Hello
I set up a script that reports on data warehouses of various code examples and Get-FriendlyUnit of LucD finction.
The output formats the red color for the space put into service when it is larger than the Capactiy, but for some reason, in some cases, the police are still red even when Provisoned space is not greater than the capacity:
This code I use to change the font color:
If ($Capacity - gt $Provisioned)
{$tableEntry = "< tr > < td > < font ="Tahoma"> $Name < / font > < table > < td > < Center > < font ="Tahoma"> $Capacity < / police > < / center > < table > < td > < Center > < font ="Tahoma"> $Provisioned < / police > < / center > < table > < td > < Center > < font ="Tahoma"> $FreeSpace < / police >"} "< / center > < / TD > < td > < Center > < / police > < / center > < table > < /tr >".
Add-Content, $fileName $tableEntry
Write-Host $tableEntry}ElseIf ($Capacity - lt $Provisioned)
{$tableEntry = "< tr > < td > < font ="Tahoma"> $Name < / fonts > < table > < td > < Center > < of police ="Tahoma"> $Capacity < / police > < / center > < table > < td > < Center > < font ="Tahoma"color ="red"> $Provisioned < / font > < / center > < table > < td > < Center > < font ="Tahoma"> $FreeSpace < / fonts"} ' > < / center > < table > < td > < Center > < / police > < / center > < table > < /tr > ".
Add-Content, $fileName $tableEntry
Write-Host $tableEntry}Here's the complete code:
If ((Remove-Item "DS-Report.htm»-ErrorAction SilentlyContinue) - eq $null)
{Remove-Item "DS - report.html"-ErrorAction SilentlyContinue}
#Connect to vCenter Server
#---------------------------------------
$vC = "VC1.
SE connect-VIServer $vC - WarningAction SilentlyContinue$date = (get-Date). ToString('yyyy/MM/dd')
$Title = "report on the use of the data store.
$DC = "Datacenter1".$DateStamp = get-date - uformat "%Y-%m-%d@%H-%M-%S."
New course in the #Create file
New-Item ItemType - file "DS - report.html.
$fileName = "DS - report.html.
#-------------------------------------------------------------#HTML header for the output
Function writeHtmlHeader
{
Param ($fileName)Add-Content $fileName "< html >".
Add-Content $fileName "< head >".
Add-Content $fileName "< meta http-equiv ="Content-Type"content = text/html"; " charset = iso-8859-1 "" > ""
Add-Content $fileName '< title > $Title < /title >'
"Add-Content $fileName ' < STYLE TYPE =" text/css">"
Add-Content $fileName "<!--
Add-Content $fileName "td {}.
Add-Content $fileName ' do-family: Calibri;
Add-Content $fileName "-font size: 13px;
Add-Content $fileName "border-top: 1px solid #999999;"
Add-Content $fileName "border-right: 1px solid #999999;"
Add-Content $fileName "border-bottom: 1px solid #999999;"
Add-Content $fileName "border-left: 1px solid #999999;"
Add-Content $fileName "padding-top: 0px;"
Add-Content $fileName "padding-right: 0px;"
Add-Content $fileName "padding-bottom: 0px;"
Add-Content $fileName "padding-left: 0px;"
Add-Content $fileName '} '.
Add-Content $fileName 'body {} '.
Add-Content $fileName ' left margin: 5px; "
Add-Content $fileName "margin-top: 5px;"
Add-Content $fileName ' margin-right: 0px; "
Add-Content $fileName "margin-bottom: 10px;"
Add-Content $fileName «»
Add-Content $fileName "table {}.
Add-Content $fileName ' border: thin solid #000000; "
Add-Content $fileName '} '.
Add-Content $fileName "->".
Add-Content $fileName "< / style >.
Add-Content $fileName "< / head >.
Add-Content $fileName "< body >".
Add-Content $fileName ' < table width = 60% ">".
Add-Content $fileName "< tr bgcolor ="#FFFFFF">."
Add-Content $fileName "< td colspan = '7' height = '25' align ="center">"
#Edit title below
#Add - Content $fileName "< font ="Tahoma"color = 'red' size = '3' > < strong > criticism - < facilities > < / font >.
#Add - Content $fileName "< police ="Tahoma"color = 'gold' size = '3' > WARNING < strong > - < facilities > < / font >.
Add-Content $fileName "< police ="Tahoma"color =" #003399 ' size = '3' > < strong > $Title - $Date < / strong > < / police >»»
#--------------------------------------------------------------------------------------------------------------------------------------------------------------#Edit title above
Add-Content $fileName "< table >.
Add-Content $fileName "< /tr >".
Add-Content $fileName "< / table >.
}#----------------------------------------------------
# Function to write the HTML header to the file
Function writeTableHeader
{
Param ($fileName)
Add-Content $fileName ' < table width = 60% ' > < tbody >.
Add-Content $fileName "< tr bgcolor = #003399 >.
Add-Content $fileName "< td align ="center"> < of police ="Tahoma"color ="#FFFFFF"> < b > data store name < /b > < / police > < table >.
Add-Content $fileName "< td align ="center"> < of police ="Tahoma"color ="#FFFFFF"> < b > capacity < /b > < / police > < table >.
Add-Content $fileName "< td align ="center"> < police ="Tahoma"color ="#FFFFFF"> < b > space configured < /b > < / police > < table >.
Add-Content $fileName "< td align ="center"> < of police ="Tahoma"color ="#FFFFFF"> < b > free space < /b > < / font > < table >.
#Add - Content $fileName "< td align ="center"> < of police ="Tahoma"color ="#FFFFFF"> < b > % free < /b > < / police > < table >.
Add-Content $fileName "< /tr >".
}#--------------------------------------------------------
# Function to write the HTML footer
Function writeHtmlFooter
{
Param ($fileName)
Add-Content $fileName "< / table >.
Add-Content $fileName "< / body >".
Add-Content $fileName "< / html >".
}#--------------------------------------------------------------
#---Fonction Get-FriendlyUnit-
#--------------------------------------------------------------
Function Get-FriendlyUnit {}
< #.
. Numbers converted small binary multiples SYNOPSIS
. DESCRIPTION the function accepts a value and him will convert
in the largest available binary unit.
. Author NOTES: Luc relaxing
. Value of the PARAMETER
The value to convert.
This number must be positive.
. IEC PARAMETER
A switch to indicate whether the function should return the CIS
Unit, or the names of the units most commonly used names.
The default is to use the commonly used unit names.
. EXAMPLE OF
PS > Get-FriendlyUnit-value 123456
. EXAMPLE OF
PS > 123456 | Get-FriendlyUnit - CIS
. EXAMPLE OF
PS > Get-FriendlyUnit-value 123456,789123, 45678
. EXAMPLE OF
PS > Get-Datastore-name DS1 |
Select Name,@{N="Capacity; E = {}
Get-FriendlyUnit-value ($_.) CapacityMB * 1 MB) |
% {"{0, 7:f2} {1,2} ' f $_"} Value, $_. Unit}}
}
# >
(param
[CmdletBinding()]
[parameter (mandatory = $true, ValueFromPipeline = $true)]
[double []] $Value,.
[switch] $IEC
)Begin {}
$OldUnits = "B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB".
$IecUnits = 'B', 'KiB', 'MiB', "GiB", "TiB", "PIF", "BANK", "ZiB", "YiB".
If ($IEC) {$units = $IecUnits} else {$units = $OldUnits}
}{in process
$Value | %{
If ($_ - lt 0) {}
Write-Error "Numbers must be positive."
breaking
}
If ($value - gt 0) {}
$modifier = [math]: Floor([Math]::Log($_,1KB)))
}
else {}
$modifier = 0
}
New-object PSObject-property @ {}
Value = $_ / [math]: Pow(1KB,$modifier)
Unit = & {if ($modifier - lt $units. {Count) {$units [$modifier]} else {'1KO E {0}' f $modifier}}
}
}
}
}
#---Fin of the Get-FriendlyUnit function-Function GetDS {}
$report = get-data center $DC | Get-Datastore.
Where-Object {$_.} {Name - notlike "DataStore1 *"} | %{
New-object PSObject-property @ {}
Name = $_.name
Capacity = Get-FriendlyUnit-value ($_.) CapacityMB * 1 MB) |
% {"{0, 7:f2} {1,2} ' f $_"} Value, $_. Unit}
Put into service = Get-FriendlyUnit-value ($_.) ExtensionData.Summary.Capacity - $_. ExtensionData.Summary.FreeSpace +.
$_. ExtensionData.Summary.Uncommitted) |
% {"{0, 7:f2} {1,2} ' f $_"} Value, $_. Unit}
FreeSpace = Get-FriendlyUnit-value ($_.) FreeSpaceMB * 1 MB) |
% {"{0, 7:f2} {1,2} ' f $_"} Value, $_. Unit}
}
} | Sort-Object-property name
$report | %{
WriteData $_. Name $_. Capacity $_. Provisioned $_. FreeSpace
}
}
# Function compiles the data transmitted by the GetDS function in HTML table format
Function writedata {}
Param ($Name, $Capacity, $Provisioned, $FreeSpace)
If ($Capacity - gt $Provisioned)
{$tableEntry = "< tr > < td > < of police ="Tahoma"> $Name < / font > < table > < td > < Center > < of police ="Tahoma"> $Capacity < / police > < / center > < table > < td > < Center > < fonts"}"face ="Tahoma"> $Provisioned < / police > < / center > < table > < td > < Center > < font ="Tahoma"> $FreeSpace < / police > < / center > < table > < td > < Center > < / police > < / center > < table > < /tr >".
Add-Content, $fileName $tableEntry
Write-Host $tableEntry}ElseIf ($Capacity - lt $Provisioned)
{$tableEntry = "< tr > < td > < of police ="Tahoma"> $Name < / font > < table > < td > < Center > < of police ="Tahoma"> $Capacity < / police > < / center > < table > < td > < Center > < fonts"}face = "Tahoma" color = "red" > $Provisioned < / police > < / center > < table > < td > < Center > < font
"face ="Tahoma"> $FreeSpace < / police > < / center > < table > < td > < Center > < / police > < / center > < table > < /tr >".
Add-Content, $fileName $tableEntry
Write-Host $tableEntry}< #.
ElseIf ($_.) PercFree - $Warning lt)
{$tableEntry = "< tr > < td > < of police ="Tahoma"> $Name < / font > < table > < td > < Center > < b > < of police ="Tahoma"> $Capacity < / police > < / b > < / center > < table > < td > < Center > < b > < fonts"}face = "Tahoma" > $Provisioned < / police > < / b > < / center > < table > < td > < Center > < b > < of police = "Tahoma" > $FreeSpace < / font > < / b > < / center > < table > < td > < Center > < b > < fonts
"face ="Tahoma"color ="Orange"> $PercFree < / police > < / b > < / center > < table > < /tr >".
Add-Content, $fileName $tableEntry
Write-Host $tableEntry}
# >
}
VCenter server ##Disconnect
################################
Disconnect-VIServer-confirm: $FalseThe script ##End
Hello, AGFlora-
It seems that comparisons of the value (the "-lt" and "-gt") you here are values after they were formatted to units 'friendly' and then processed into strings. Comparison operations then do not give the results you expect, because comparisons are these strings, instead of the actual numbers. Illustration:
PS C:\> "600.00 MB" -lt "594.75 GB" False PS C:\> "600.00 MB" -gt "594.75 GB" True
Clearly not what you expect if the comparisons are numbers instead of strings.
Then, you'd better keep the values of size in the form of numbers until it is time to display them (or write HTML code). That way comparison operations (numbers) will be behave as desired/expected, and your conditional formatting should work. The key to making comparisons of real numbers, and then use the values of string shaped numbers for the HTML output. Make sense?
-
Hello
(1) in the definition of the model bi-editeur of the output format is PDF
(2) definition of simultaneous program the output format is PDF.
But after I run the program at the same time I see the o < request_id > .out file in the $APPLCSF / $APPOUT directory. The output file is in xml format. I can't see any PDF file.
Well want to can someone show the exact location where this file would be created.
Thank you
RegisPL post Details of the operating system, database and versions EBS.
In the definition of the program at the same time, what is the "output format" on?
HTH
Srini -
You cannot change the output type and format in the page requests system - PeopleSoft process
Hi all
When I navigate to the PeopleSoft process scheduler page and try to run a process I see the output type and format web and txt only. I am unable to change the output type and format. All formats and types of output are marked as active in the system settings page. I'm super user of the system as well. I have as well the role of Admin ProcessScheduler. I would like to know if someone has already faced similar problems.
Thank you
Vimal
Run the following SQL query to your OPRID:
SELECT A.CLASSID, PSPRCSPRFL A.OVRDOUTDEST, PSOPRDEFN B WHERE B.PRCSPRFLCLS = A.CLASSID AND B.OPRID = '
'; Make sure that OVRDOUTDEST = 1.
If it's 0 then you have to fix your configuration profile of the process as follows:
-Main menu > PeopleTools > Security > list permission > CLASSID research (white list) back to top query
-Go to the process tab
-Click on "process the profile permissions
S ' ensure that 'substitute an output Destination' is checked. Click OK, and then save.
This should solve your problem.
-
How to format the output of a .sql script that has select statements.
Hello
I have a .sql script which is having several select statements. Each Select statement is to have hundreds of Table columns.
When we run the .sql script, we are unable to read the output.
Please let know us the commands that we include for better readable output format.
You work with the lin standard set 80.
Increase this setting to set lin 3000 or more. -
Need help with the output of the query formatting
Hello
Here are the scripts to create the table and create test data:
create table result (acct number(10), acct_nm varchar2(100), stage varchar2(10), target_pc number(10,2), long_target_pc number(10,2)) / Insert into RESULT (ACCT, ACCT_NM, STAGE, TARGET_PC, LONG_TARGET_PC) Values (47042, 'Dora the explorer', 'AFTER', 33.6, 48) / Insert into RESULT (ACCT, ACCT_NM, STAGE, TARGET_PC, LONG_TARGET_PC) Values (47042, 'Dora the explorer', 'BEFORE', 33.6, 48) / Insert into RESULT (ACCT, ACCT_NM, STAGE, TARGET_PC, LONG_TARGET_PC) Values (41142, 'Bob the Builder', 'AFTER', 9.18, 20.4) / Insert into RESULT (ACCT, ACCT_NM, STAGE, TARGET_PC, LONG_TARGET_PC) Values (41142, 'Bob the Builder', 'BEFORE', 9.18, 20.4) / Insert into RESULT (ACCT, ACCT_NM, STAGE, TARGET_PC, LONG_TARGET_PC) Values (41086, 'Sofia the first', 'AFTER', 17.96, 51.3) / Insert into RESULT (ACCT, ACCT_NM, STAGE, TARGET_PC, LONG_TARGET_PC) Values (41086, 'Sofia the first', 'BEFORE', 2.98, 8.5) / Insert into RESULT (ACCT, ACCT_NM, STAGE, TARGET_PC, LONG_TARGET_PC) Values (41086, 'Sofia the first', 'BEFORE', 14.98, 42.8) / COMMIT /
I need output in the following format when I query this table:
Account Account Name Stage Target PC Long Target PC 41086 Sofia the first BEFORE 2.98 8.5 14.98 42.8 AFTER 17.96 51.3 41142 Bob the Builder BEFORE 9.18 20.4 AFTER 9.18 20.4 47042 Dora the explorer BEFORE 33.6 48.0 AFTER 33.6 48.0 Total Accounts = 3
Here is what I tried but it does not gives me out I want (below referred to as the code):
spool c:\break_test.txt column acct format 9999999999 column acct_nm format a50 column stage format a15 column target_pc format 999.99 column long_target_pc format 999.99 break on acct, acct_nm, stage select * from result order by acct, stage desc
41086 Sofia the first BEFORE 2.98 8.50 41086 Sofia the first BEFORE 14.98 42.80 41086 Sofia the first AFTER 17.96 51.30 41142 Bob the Builder BEFORE 9.18 20.40 41142 Bob the Builder AFTER 9.18 20.40 47042 Dora the explorer BEFORE 33.60 48.00 47042 Dora the explorer AFTER 33.60 48.00
Please tell us how to get there.
Thanks in advance!
Go back and check the syntax of the PAUSE command.
SQL> column long_target_pc format 999.99 SQL> break on acct, acct_nm, stage SP2-0158: unknown BREAK option "acct_nm,"
The syntax must be
sql> break on acct on acct_nm on stage
-
Excel output format in the xml editor question field
Hi all
I have a problem with the release of excel as below.
I developed a report to xml editor having exit excel, I designed the layout to the rtf model.
one of the parameters in the report as 11000048,11000050
so when I check the output excel the above setting is displayed as below.
1,100,004,811,000,050
But I need the parameter will be displayed in the format 11000048,11000050 , as written, please help me.
Thank you
Please try this
-
Hi, I use Adobe Photoshop Lightroom output CC Camera Raw 9.5 2015.5. I am now with Nikon D4s shooting but the lightroom does not read the RAW format. Why? Is it possible to import the RAW files in lightroom? Thank you for your help
I'm not an apple person. I read on a few different forums that apple has changed what is called 'writing' in a recent update to apple. You may need to find an Apple expert to show you how to make sure you are allowed to write to files or locations on your computer.
-
How do I rearrange the pages once they are in adobe acrobat format?
I have a NeatDesk who scans my pages in Adobe Acrobat PDF. But when my scans must be the combination of size size and the receipt of letters, he puts them out of use. How can I rearrange the pages scanned once they have been created in several page PDF format?
In browsing the Pages panel, you can move pages.
-
Customize and format the output number
How can I can format the output divided by a number?
For example, the space time often displayed as bytes, I always manually to divide by 1024 ^ 3 to make it user-friendly.
Example below...
Get-Datastore. Get-View | Select summary - ExpandProperty | SELECT name, capacity, FreeSpace, @{N = 'Supplied'; E={ ($_. Capacity - $_. FreeSpace + $_. Not posted)}}
OK, I see.
You can use the same technique for the other 2 properties. Something like that
Get-Datastore | Get-View | Select -ExpandProperty Summary | Select Name, @{N="Capacity"; E={[Math]::Round($_.Capacity/1GB,1) }}, @{N="FreeSpace"; E={[Math]::Round(($_.FreeSpace/1GB,1) }}, @{N="Provisioned"; E={[Math]::Round(($_.Capacity - $_.FreeSpace + $_.Uncommitted)/1GB,1) }}
Another option is to use the New-VIProperty cmdlet and set these properties in the UK.
Refer to the section of the data store in my New VIProperty module, where you will find the instructions to New-VIProperty to provide the properties CapacityGB, FreeGB , and ProvisionedGB .
Maybe you are looking for
-
Satellite C70D PAGE FAULT IN NONPAGED AREA - frequent BSOD
Hello for awhile, my laptop is a blue screen several times a week, e-mail: PAGE_FAULT_IN_NONPAGED_AREA. Past discharges according to the attachment. How to recover from this? Help, please. Thank youAlex
-
Connect to wifi without Internet
How can I connect my ATV 4 to my home WiFi network if the WiFi doesn't have an Internet connection? I just moved house and the new internet connection is at least 3 weeks. I would like to be able to use my Apple TV at the same time for related functi
-
My slate will not now charge. I tried to use multiple Chargers (charger from the factory, one for my touchpad, mobile phone, plugged into the PC, etc.) and it will not load. Now it is 39% battery life about and discharge. If the Tablet is turned of
-
I created a vi to control an instrument, I want to let this instrument on indefinetly until I hit a stop button to turn the unit off. Also this vi saves the data to a file. I created a record button which begins to save a file, when this is done the
-
How to download pictures from my cell phone to my computer