Quantcast
Channel: Spiceworks Community
Browsing all 20 articles
Browse latest View live

Powershell objects

Nah, it's just my emotions regarding new parameter. Kind of an off-topic. Sorry about that.

View Article



Powershell objects

Edwin_Eekelaers wrote:but this instead TextK \\b-7-5\C$ To explain better. I only want the value not the damn title of it. I know Mr Boyle that you explained it already to me before i guess but i...

View Article

Powershell objects

Mr Boyle was it that simple?thanks. Like again the purpose is to learn how to work with objects and to just return the value not the entire enchilada of the value & the description of it...

View Article

Powershell objects

I was trying to learn how to select multiple values ( psdrive or something else as that doesn't matter here ), dump them into an array and then use the values as needed for something else. But i kept...

View Article

Powershell objects

Should be. We can drop the select-object bit as all that does is strip down the object. Not needed here. Powershell$var=get-psdrive|where {$_.Provider-match'Filesystem'}|where...

View Article


Powershell objects

Hmm ...Powershell$drives=@(get-psdrive|where {$_.Provider-match'Filesystem'})foreach($drivein$drives){$drive.namesleep 3}How's that? Depending on your version of powershell that first line could be...

View Article

Image may be NSFW.
Clik here to view.

Powershell objects

Powershell$var=get-psdrive|where {($_.Provider-match'Filesystem')-and($_.name-notin'C','D')}

View Article

Powershell objects

Important to not get object oriented programming confused with using objects in PowerShell. PowerShell is very much a procedural style of program (step 1 to 2 to 3 to 4, etc). Objects in PowerShell...

View Article


Powershell objects

To look at the OP's original problem, he had something like this:  |  foreach { $_.?????...}the Op wanted to know what was passed across the pipeline, easy: use Get-member, or | get-membe

View Article


Powershell objects

i found it already long time. for an old bugger like me it's hard to say goodbye to old habits.I am used to code like basic & dos and a few months ago i didn't even know what powershell was so...

View Article

Powershell objects

Edwin_Eekelaers wrote:i found it already long time. for an old bugger like me it's hard to say goodbye to old habits.I am used to code like basic & dos and a few months ago i didn't even know what...

View Article

Powershell objects

Thomas don't worry about homework :D my last highschool teacher died already over a decade ago hehe.I like to learn new things and powershell is a creative way for me to ventilate my frustrations from...

View Article

Powershell objects

If you haven't watched the PowerShell 3.0 JumpStart Opens a new windowwith Jeffery Snover and Jason Helmick, I would give that a go. It has some great information and breaks down objects in a way that...

View Article


Powershell objects

when that was broadcasted i didn't even know what powershell was so i have a bit of catching up to doEd what you said about PS making sense when you get more familiar with is o so true.I have for...

View Article

Powershell objects

EdwinOne thing that I found invaluable when I started with PowerShell is the Get-Member commandlet. I was just about to post an example, when I saw that Eugene had already done a better example than I...

View Article


Powershell objects

M Boyle wrote:Eugene there has covered it nicely :) I would just add "help"!  Open a Powershell prompt as Administrator and issue the command: Powershellupdate-helpThis will go online and pull down the...

View Article

Powershell objects

I am absorbing all the good tips you all give here and i plan to pour them into an easily readable topic full of examples for those who are less proficient in powershell. I as a newbie can compare the...

View Article


Powershell objects

Edwin_Eekelaers wrote:I am absorbing all the good tips you all give here and i plan to pour them into an easily readable topic full of examples for those who are less proficient in powershell. I as a...

View Article

Powershell objects

Just put the values in quotes:"$obj.val1$obj.val2" you can add special characters too:"$obj.val1\$obj.val2"I'm a newbie myself, but I try to do something in powershell everyday, and it keeps me "up" on...

View Article

Powershell objects

Also, yeah, when you ask powershell for values, the display is formatted to display the object.  The actual object that it returns does not include the formatting.Jeff

View Article
Browsing all 20 articles
Browse latest View live




Latest Images