Quantcast
Channel: Get-Date adding to out-gridview
Browsing latest articles
Browse All 11 View Live

Get-Date adding to out-gridview

Got it @JS2010... Cheers !!Karthick Ganesan | PowerShell Scripting Aspirant :)

View Article



Get-Date adding to out-gridview

You would only need a $ if it was inside a string, like"$(get-date)"You could still use it outside the quotes, and it will have no effect.

View Article

Get-Date adding to out-gridview

We should add a '$' before the (Get-Date) in -Title parameter of Out-GridView, else it is taking the title value literally. So,get-vm | Where notes -match "firmaid: 336" | select @{name="Date";...

View Article

Get-Date adding to out-gridview

@jrv true.. saw scripts spreading $ and ( ) all over the place :-)Please remember to mark the replies as answers if they helped.

View Article

Get-Date adding to out-gridview

We should add a '$' before the (Get-Date) in -Title parameter of Out-GridView, else it is taking the title value literally. So,get-vm | Where notes -match "firmaid: 336" | select @{name="Date";...

View Article


Get-Date adding to out-gridview

Correction: $ not required; parenthesis is sufficient as @jrv quoted to my answer below.get-vm | Where notes -match "firmaid: 336" | select @{name="Date"; expression={get-date}}, Name, Notes,...

View Article

Get-Date adding to out-gridview

Thanks.  Got it. My line is then... get-vm | Where notes -match "firmaid: 336" | select @{name="Date"; expression={get-date}}, Name, Notes, PowerState, MemoryGB, NumCpu, CoresPerSocket, UsedSpaceGB,...

View Article

Get-Date adding to out-gridview

get-vm | select @{name="Date"; expression={get-date}},* | Out-GridView -Title (Get-date) in title and grid

View Article


Get-Date adding to out-gridview

get-VM | Where notes -match 'firmaid: 336' | out-gridview -Title (Get-Date)\_(ツ)_/

View Article


Get-Date adding to out-gridview

 Out-GridView  -Title (Get-Date)\_(ツ)_/

View Article

Get-Date adding to out-gridview

Hey,, Okay, yes, I'm newbie.. I have this Line:get-VM | Where notes -match"firmaid: 336" | select * | out-gridviewAll I want is to add the date of today, to the Out-Gridview It's okay if date is added...

View Article
Browsing latest articles
Browse All 11 View Live




Latest Images