Powershell objects
Nah, it's just my emotions regarding new parameter. Kind of an off-topic. Sorry about that.
View ArticlePowershell 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 ArticlePowershell 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 ArticlePowershell 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 ArticlePowershell 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 ArticlePowershell 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 ArticlePowershell objects
Powershell$var=get-psdrive|where {($_.Provider-match'Filesystem')-and($_.name-notin'C','D')}
View ArticlePowershell 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 ArticlePowershell 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 ArticlePowershell 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 ArticlePowershell 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 ArticlePowershell 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 ArticlePowershell 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 ArticlePowershell 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 ArticlePowershell 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 ArticlePowershell 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 ArticlePowershell 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 ArticlePowershell 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 ArticlePowershell 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 ArticlePowershell 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
More Pages to Explore .....