Thanks for the video! Really good idea using indexof, going to use that in my scripts a lot more currently I use the length method to sort mine: $url.substring(0, $url.length -4) Your way is much better when you have port numbers of different sizes. Again thanks!
@@ShanesCows That's crazy...I said the same thing. This is my second video. I've started a OneNote page with your site as a powershell resource, so I can check out the other 40 videos! Lol
The practical examples accompanied by explanation of what each piece of the script does is a great teaching method. Your videos are super helpful. Thank you for producing them! (Love the "wuz" bit! Very funny!)
Hi Shane. Thanks for these good videos on Powershell. I was very confused with Powershell earlier but now I can easily learn from these videos. You are simply awesome who is sharing such a valuable information absolutely free to help others. Hats off to you bro
Can power shell be used to co-ordinate the multiple windows programs? I have an elaborate project in mind that involves gathering input from two wifi routers, a camera, the system clock for timestamp, the output from a program running on the computer, and a little easy math. All of it needs to be stored to disc in a coherent form. I know this is quite advanced but is it doable or should I find another way to do it?
Thanks for another very helpful video, Shane. Perhaps you have already covered it in another video, but I have a lot of trouble with concatenating strings in PowerShell. It seems very different from other languages. If you haven't covered it yet, please do when you have a chance.
Im going to rewatch it when Im on my computer. Im pretty stoked about powershell suddenly. Ive been learning basic python, and my new computer runs powershell as the default vscode terminal, which is supercool. I figured out this morning how to run python code, where the stdout is in a powershell color I define by "| write-host -foregrcol " after the python call. (I was running a web scraper over and over and wanted each run to have a new color so I could quickly find the top of the html
at around 11:38 in the video, I like that $cow.Substring(3,4) could be helpful with the "4" bit, to remove say *.txt to remove that . and the txt or last three filename extensions.
Hi , I've been watching a few of your videos and have helped me understand powershell better. Are you able to recommend any sites that have exercises that can be used to help apply what you teach in your videos.
Good day Shane. I have a question in regards to using power shell to input a string to a website specific settings in custom properties. For example: I am attempting to add monitoring nodes to a website, in the node settings there are inputs you can manually type in. Specific: There is a settings you can manually type in under “Custom_Comment”. How would I create a script to look for Custom Comment in the properties section then add a string like “Newly Added” I have this so far. $nodeList += [pscustomobject]@{Caption = ‘name of node’ : ipAddress = $ipaddress : Custom_Comment = “Newly Added”} My issue is, the string Newly Added doesn’t add that string to the Custom Comment section in the node properties. Any advice?
Hi Shane! Thanks for posting these great videos. I'm looking forward to the Copy, Move, Delete Files. Will it work to move pretty much one "computer" to another over a network? I have been doing that slowly with a computer I restored from absolutely nothing. Learning as I go. I would also love to be able to copy file names into excel. Looking for that function. Could you point me to the place to look and read, please?
Great Video share, i learn a lot , the easy way ! Wouldn;t be great if you post the link to the powershell you explained to Github or your site,like a blog ? Would be easy to execute and get out exercises !
Can you explain in more detail? Are you trying to make the script dynamically rewrite its own code (which is kind of doable but highly not recommended)?
@@trogdorstrngbd so basically im working with a company to deploy microsoft teams to schools for online classes. The thing is making that many teams is a problem since just about every school has 1-10/12 grade and over 3-4 sections. I was trying to find a way to add multiple users to multiple teams. I tried using csv files to make life easier but somehow i get an error "cannot bind argument to parameter because it is null"
@@mkx9257 I would guess some of the entries in the CSV are blank. Check for that first ($something -eq $null should work, but maybe also try the empty string ""), especially making sure to exclude header and footer rows if they exist. If those blanks are due to student data actually being unknown/missing, come up with default values for them.
@@trogdorstrngbd thanks a lot... I've tried the empty string and the csv doesnt have blanks... That's the whole reason i'm stumped... I'll try the $something -eq null...
@@mkx9257 I remembered one more thing: PowerShell returns $null instead of an error for uninitialized variables. For example: PS> $FakeVariable -eq $null True PS> $ShortList = 1..10; $ShortList[100] -eq $null True
I am working PSADT and I am trying to install an EXE when i run the "Execute-Process" "The term "Execute-Process Does not...Also sometimes i get Function Failed, setting exit code to 60002. Please Please help me!!!!!
Hi Shane, I need to replace nth occurrence of a string in a file , could have done easily in unix using sed. But replace doesn’t have the option to replace a particular occurrence. Suppose i have a file , having 10 occurrences of word “Shane” , and i wanna replace only 5th occurrence . Can you please help 🙏🏻🙏🏻🙏🏻
Hello Shane!! This helped. I want to take it just a little farther. I need to get a list of the local users Get-LocalUsers. I made it a Var $LclUsr = Get-LocalUser. It gives the Name, Enableed, and Description. I need to parse the Enabled header (which is either True/False). and if one of the Names is False when it should be True output the info and vice versa if True when it should be False. I was told Select-String would be the best route.
Hello, I want to make a ps script which opens up and logs in into "keepass" and other applications as soon as I log in. I read everywhere to try and find a solution but I can't find anything, any thoughts? Is there a command which you specify an input and then another command which will actually type in the paramater set into the text box. Thanks in advance
Hi Shane, I recently subscribed to trhe channel - and recently have become interested in powershell. I'm periodically tasked with sifting through a dump of data that contains only a couple of columns that I'm interested in, but one has free formed text as in "notes". I'd love to learn how to read in this file, parse through it, create new columns, remove Parens () and be able to quantify this biz intel elegantly. Any guidance would be greatly appreciated.Best Regards, Rob USN Retired
Great video so far, though I've only watched a little. I've been wanting to learn Powershell because I need to alter the timestamps on several thousand files, based on the filenames, which themselves are timestamps. So I have a file 2022-01-27_17:14:09.mp4, but the timestamps got clobbered when the file was copied to a different directory. So I need to pull the date and time elements out of the filenames, and use them to build the appropriate timestamps. From what I've seen about Powershell, here and elsewhere, it should enable me to do that. Thanks for the great video.
Hey can you please help me out, I'm trying to get the difference between two strings but I'm having no success. For example $string1 = 'hello' and $string2 = 'hello shane' , the function that Im trying to make should print out shane . The java equivalent for this function is StringUtils.difference(String first, String second) but I can't seem to manage to do it in powershell. Thanks a lot in advance and great videos!
Hi, firstable , thank you so much for your very helpfull tutorials , i want to know why you didn't use TrimEnd to exclude ":443" instead of substring and indexOf $newUrl.TrimEnd(":443") is there any inconvenient ?
In theory you could. What I have found in my real world scripts is I end up with too much inconsistency with TrimEnd and TrimStart not doing what I want. Especially with URLs. www.boldzebras.com www.boldzebras.com:443 and www.boldzebras.com/ all are valid URLs for the same site but require slightly different Trims.
how about replacing/removing similar characters inside .txt files EX: replace ",,", "" how would that be done similar to what you are doing in renaming the file names via powershell?
Hi , you have great videos and Iv learned a lot from them. Question though.. how do you output specific bytes in the string? Say you output is ‘abcde12345’ can pull the 4th to the 9th byte The output would then be ‘e12345’ is this possible? Hope that makes sense...
My query is as below $transact= Get-ChildItem -path “pathname” -Recurse | Where extension-EQ .dat Foreach ($file in $transact) { Get-Content $file.FullName } This then gives you the correct output, of what’s in the folders. It’s a long and all I want is from the 3rd to the 12th character. I’ve tried changing Get-content $file.FullName to .substring(3,12) but it doesn’t like it Any help would be greatly appreciated
I tried the trimstart and it fails; with the following error when attempting a Get-Help. Not sure what this means. Checking Google get-help trimstart get-help : Get-Help could not find trimstart in a help file in this session. To download updated help topics type: "Update-Help". To get help online, search for the help topic in the TechNet library at https:/go.microsoft.com/fwlink/?LinkID=107116. At line:1 char:1 + get-help trimstart + ~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [Get-Help], HelpNotFoundException + FullyQualifiedErrorId : HelpNotFound,Microsoft.PowerShell.Commands.GetHelpCommand
That would work. As with a lot of things in PowerShell there are a lot of ways to do things. Replace was top of mind that day so that is what got used. :)
Great teaching skills! I am trying to use the TrimStart & Indexof and I get errors. I attempt to do a Get-Help against the cmd's and here's what I get. I'm wondering if I running an outdated version of powershell? get-help : Get-Help could not find indexof in a help file in this session. To download updated help topics type: "Update-Help". To get help online, search for the help topic in the TechNet library at https:/go.microsoft.com/fwlink/?LinkID=107116. At line:1 char:1 get-help Indexof get-help : Get-Help could not find indexof in a help file in this session. To download updated help topics type: "Update-Help". To get help online, search for the help topic in the TechNet library at https:/go.microsoft.com/fwlink/?LinkID=107116. At line:1 char:1 + get-help indexof + ~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [Get-Help], HelpNotFoundException + FullyQualifiedErrorId : HelpNotFound,Microsoft.PowerShell.Commands.GetHelpCommand
It is not a task of Help subsystem to keep info about .Net basic functionality, MSDN is what does it. PS is essentially .NET REPL environment. Question about basics of .NET have to be asked at appropriate place - MSDN!
Hey Shane, Awesome Commands . I am new to powershell ,i know basic things in Powershell. I want to learn powershell more. I faced issue in my Active Direcotry environment like .pulling the data in between bracess {***********} My problem is in my ad environment user have multiple proxy addresses i want the data like Data contain like user {proxyaddress1,proxyaddress2,proxyaddress3"} username proxyaddress ========================== user1 proxyaddress1,proxyaddress2,proxyaddress3 user2 proxyaddress1,proxyaddress2,proxyaddress3 user3 proxyaddress1,proxyaddress2,proxyaddress3 Please let me know Your views how to get the data Thanks ===== Rama
Absolute disappointment! Just say "Strings in PS, as all objects in PS, are strings of .Net, go open reference. End of video". If for someone it is not enough their real job is janitor, and nothing related to computers!
@@ShanesCows Hahahah. I guess I fat-fingered a comment from my phone. But since you're here, great content! I've never been interested in PW but you make it interesting.
Thanks for the video! Really good idea using indexof, going to use that in my scripts a lot more currently I use the length method to sort mine:
$url.substring(0, $url.length -4)
Your way is much better when you have port numbers of different sizes. Again thanks!
Glad you liked it. Sadly I have to give Todd Klindt credit for pushing me in that direction. :)
Thanks! The substring function was what I was looking for.
Glad to help. String manipulation is such a powerful skill.
I know this is 3 years old, but you've helped me so much with your videos and I've only watched two so far! Thank You!
Glad it helped. I have about 40 more videos to help 😎
@@ShanesCows That's crazy...I said the same thing. This is my second video. I've started a OneNote page with your site as a powershell resource, so I can check out the other 40 videos! Lol
You are the man Shane, it means the world to me that you are posting all this great content online. thank you for everything.
##powershell sessions ##10th may 8.30 pm IST##
facebook.com/groups/790933198099023/
4years later and you explained things easier and more detailed than my professor! Thank you.
You are so welcome!
Another great explanation on how to do something in PowerShell. Many thanks for taking the time to make this video Shane.
My pleasure!
The practical examples accompanied by explanation of what each piece of the script does is a great teaching method. Your videos are super helpful. Thank you for producing them! (Love the "wuz" bit! Very funny!)
Glad to help and thank you b
indexof and substring stuff was really great and well explained. Cheers again
Thanks. 😎
Hi Shane, Thanks for all the helping examples. I 'm using PowerShell for some time but still managed to learn some new stuff. Keep with the good work.
Hi Shane. Thanks for these good videos on Powershell. I was very confused with Powershell earlier but now I can easily learn from these videos. You are simply awesome who is sharing such a valuable information absolutely free to help others. Hats off to you bro
Thank you for your kind words. :)
Shane, Thanks for the great lesson. That last command solved my problem !
Awesome!
Thanks a lot. I come form the Unix world and used most of the time ksh and bash. Very good tutorial.
Glad it helped.
Thank you so much. Especially use case scenarios helped to root how and where string manipulation could be real day saver. Tnx! 😊😊😊😊
Glad it helped!
nice presentation. Great approach to the topic
Thank you kindly!
Learning to use PowerShell to automate work with Office Files, your videos are very helpful. Wish you would increase your Font size.
Yeah James some of my earlier videos weren't ideal, I get better as they go on. 🫤 Creating content was a learning process for me.
Nice Video Shane! Thank you a lot
My pleasure!
Brilliant! I learn and I laugh. Thanks Shane.
Nice examples. I laughed so hard when you corrected "on-premise". Its almost an IT joke now. About time we got over it dont you think?
Agreed. I also never like the boundary. 😎
@@ShanesCows somehow its ok to abbreviate to on-prem but heaven forbid you abbreviate to on-premise.
I'm a beginner to PowerShell if ya know where to pick up books for it please lemme know thanks loved ur tuts
Can power shell be used to co-ordinate the multiple windows programs? I have an elaborate project in mind that involves gathering input from two wifi routers, a camera, the system clock for timestamp, the output from a program running on the computer, and a little easy math. All of it needs to be stored to disc in a coherent form. I know this is quite advanced but is it doable or should I find another way to do it?
Maybe? Without knowing lots more details o don’t know.
Thanks for another very helpful video, Shane. Perhaps you have already covered it in another video, but I have a lot of trouble with concatenating strings in PowerShell. It seems very different from other languages.
If you haven't covered it yet, please do when you have a chance.
Not sure I have a video on it. What are you trying to do exactly? Maybe I can help
Im going to rewatch it when Im on my computer. Im pretty stoked about powershell suddenly. Ive been learning basic python, and my new computer runs powershell as the default vscode terminal, which is supercool. I figured out this morning how to run python code, where the stdout is in a powershell color I define by "| write-host -foregrcol " after the python call. (I was running a web scraper over and over and wanted each run to have a new color so I could quickly find the top of the html
PowerShell is awesome! Enjoy. :)
Do you have any videos on replacing and adding lines to specific lines in a text file? From PowerShell
I think this is the closest thing I have. 😑
at around 11:38 in the video, I like that $cow.Substring(3,4) could be helpful with the "4" bit, to remove say *.txt to remove that . and the txt or last three filename extensions.
I like the thinking.
Hi , I've been watching a few of your videos and have helped me understand powershell better. Are you able to recommend any sites that have exercises that can be used to help apply what you teach in your videos.
Hey Peter I don’t. Boo me. PowerShell.org would be where I would tell you to look.
Good day Shane. I have a question in regards to using power shell to input a string to a website specific settings in custom properties.
For example:
I am attempting to add monitoring nodes to a website, in the node settings there are inputs you can manually type in.
Specific:
There is a settings you can manually type in under “Custom_Comment”.
How would I create a script to look for Custom Comment in the properties section then add a string like “Newly Added”
I have this so far.
$nodeList += [pscustomobject]@{Caption = ‘name of node’ : ipAddress = $ipaddress : Custom_Comment = “Newly Added”}
My issue is, the string Newly Added doesn’t add that string to the Custom Comment section in the node properties.
Any advice?
Sorry, it has been too long since I have done PS that deeply. :(
Thanks for your knowledge and time!!
Hi Shane! Thanks for posting these great videos. I'm looking forward to the Copy, Move, Delete Files. Will it work to move pretty much one "computer" to another over a network? I have been doing that slowly with a computer I restored from absolutely nothing. Learning as I go. I would also love to be able to copy file names into excel. Looking for that function. Could you point me to the place to look and read, please?
I haven’t done to Excel before. Sorry
Thanks for the session
Happy to help
Great, practical examples were helpful
Glad to hear that!
How would you trimend a file name or directory name? Like change DG-0101-1-1 to DG-00101-1
Great Video share, i learn a lot , the easy way ! Wouldn;t be great if you post the link to the powershell you explained to Github or your site,like a blog ? Would be easy to execute and get out exercises !
Replies to other comment
Awesome content Shane!
Thank you.
Hey shane... Is there anyway to replace a certain value in your script and to make the script run in a loop while replacing that particular value???
Can you explain in more detail? Are you trying to make the script dynamically rewrite its own code (which is kind of doable but highly not recommended)?
@@trogdorstrngbd so basically im working with a company to deploy microsoft teams to schools for online classes. The thing is making that many teams is a problem since just about every school has 1-10/12 grade and over 3-4 sections. I was trying to find a way to add multiple users to multiple teams. I tried using csv files to make life easier but somehow i get an error "cannot bind argument to parameter because it is null"
@@mkx9257 I would guess some of the entries in the CSV are blank. Check for that first ($something -eq $null should work, but maybe also try the empty string ""), especially making sure to exclude header and footer rows if they exist. If those blanks are due to student data actually being unknown/missing, come up with default values for them.
@@trogdorstrngbd thanks a lot... I've tried the empty string and the csv doesnt have blanks... That's the whole reason i'm stumped... I'll try the $something -eq null...
@@mkx9257 I remembered one more thing: PowerShell returns $null instead of an error for uninitialized variables. For example:
PS> $FakeVariable -eq $null
True
PS> $ShortList = 1..10; $ShortList[100] -eq $null
True
Thanks Shane, Thanks a lot.
Glad to help Jorge.
I am working PSADT and I am trying to install an EXE when i run the "Execute-Process" "The term "Execute-Process Does not...Also sometimes i get Function Failed, setting exit code to 60002. Please Please help me!!!!!
Hi Shane,
I need to replace nth occurrence of a string in a file , could have done easily in unix using sed. But replace doesn’t have the option to replace a particular occurrence.
Suppose i have a file , having 10 occurrences of word “Shane” , and i wanna replace only 5th occurrence .
Can you please help 🙏🏻🙏🏻🙏🏻
I haven't done that before. Sorry. :(
Shane: PS Hero! 💪💪👏
Thanks! Learning to parse strings is important in any language!
Shane, I followed the instructions concerning $cow but it did not create any text objects in my directory.
Hey Michael - What part? can you give me a timestamp for the section that isn't working for you . I use $cow a lot. :)
Hello Shane!! This helped. I want to take it just a little farther. I need to get a list of the local users Get-LocalUsers. I made it a Var $LclUsr = Get-LocalUser. It gives the Name, Enableed, and Description. I need to parse the Enabled header (which is either True/False). and if one of the Names is False when it should be True output the info and vice versa if True when it should be False. I was told Select-String would be the best route.
Not sure. Sorry
Hello, I want to make a ps script which opens up and logs in into "keepass" and other applications as soon as I log in. I read everywhere to try and find a solution but I can't find anything, any thoughts? Is there a command which you specify an input and then another command which will actually type in the paramater set into the text box. Thanks in advance
Sorry Ozzy. I have never tried. Let me know if you come up with anything.
Hi Shane,
I recently subscribed to trhe channel - and recently have become interested in powershell. I'm periodically tasked with sifting through a dump of data that contains only a couple of columns that I'm interested in, but one has free formed text as in "notes". I'd love to learn how to read in this file, parse through it, create new columns, remove Parens () and be able to quantify this biz intel elegantly. Any guidance would be greatly appreciated.Best Regards,
Rob
USN Retired
Check out the video on arrays to get you started.
Hi Shane,
How to read the Excel file content and take that as a input in Jenkins?
Look for my video on arrays
Great video so far, though I've only watched a little. I've been wanting to learn Powershell because I need to alter the timestamps on several thousand files, based on the filenames, which themselves are timestamps. So I have a file 2022-01-27_17:14:09.mp4, but the timestamps got clobbered when the file was copied to a different directory. So I need to pull the date and time elements out of the filenames, and use them to build the appropriate timestamps.
From what I've seen about Powershell, here and elsewhere, it should enable me to do that.
Thanks for the great video.
Hey can you please help me out, I'm trying to get the difference between two strings but I'm having no success. For example $string1 = 'hello' and $string2 = 'hello shane' , the function that Im trying to make should print out shane . The java equivalent for this function is StringUtils.difference(String first, String second) but I can't seem to manage to do it in powershell.
Thanks a lot in advance and great videos!
I don’t have it in front of me. But roughly. $newstring = $string2.replace($string1, “”)
I typed that on my phone so sorry for typos.
Awesome, that worked perfectly! Thanks a lot for the quick response :)
Thanks Shane
You got it 😀
Hi, firstable , thank you so much for your very helpfull tutorials , i want to know why you didn't use TrimEnd to exclude ":443" instead of substring and indexOf
$newUrl.TrimEnd(":443") is there any inconvenient ?
In theory you could. What I have found in my real world scripts is I end up with too much inconsistency with TrimEnd and TrimStart not doing what I want. Especially with URLs. www.boldzebras.com www.boldzebras.com:443 and www.boldzebras.com/ all are valid URLs for the same site but require slightly different Trims.
how about replacing/removing similar characters inside .txt files EX: replace ",,", "" how would that be done similar to what you are doing in renaming the file names via powershell?
Never tried. Does what you have there not work?
Thanks for the video
Welcome
Hi , you have great videos and Iv learned a lot from them.
Question though..
how do you output specific bytes in the string?
Say you output is ‘abcde12345’ can pull the 4th to the 9th byte
The output would then be ‘e12345’ is this possible?
Hope that makes sense...
I thought that was covered in this video using the string methods?
Shane Young I found that .substring maybe the was forward, are you able to do a video on the right use of that?
Oh it is there.. I must be using it wrong as I don’t seem to be able to get it to work
My query is as below
$transact= Get-ChildItem -path “pathname” -Recurse | Where extension-EQ .dat
Foreach ($file in $transact)
{
Get-Content $file.FullName
}
This then gives you the correct output, of what’s in the folders.
It’s a long and all I want is from the 3rd to the 12th character.
I’ve tried changing Get-content $file.FullName to .substring(3,12) but it doesn’t like it
Any help would be greatly appreciated
Got it, within the loop create a variable $filename= Get-Content $file.FullName
$filename.substring(3,10)
Made me think this one...
shane. u da best.
THANKS!!!!
Awesome video.
Glad you enjoyed it
This just saved me an hour of sifting throughout technet
Awesome!!!
This might be my solution.., but I’m a brand new scripter.. might need the mentoring
Happy to help if you do. BoldZebras.com there is a contact form at the bottom if you want more info. Thanks
please what kind of mic are you using?
A Yeti Blue. If you email me shane at powerapps911.com I can send you a list of all of the equipment I use.
@@ShanesCows hello, i have email you, waiting for your response
Shane I'm on a phone could ya make your commands bigger
plz how i can add suffix to group of files >>>suffix is letters like.mp3 nether number or order
Open PowerShell and type:
get-help Rename-Item -Examples
In the examples is exactly what you are looking for. -Shane
I tried the trimstart and it fails; with the following error when attempting a Get-Help. Not sure what this means. Checking Google
get-help trimstart
get-help : Get-Help could not find trimstart in a help file in this session. To download updated help topics type: "Update-Help". To get help online, search for the help
topic in the TechNet library at https:/go.microsoft.com/fwlink/?LinkID=107116.
At line:1 char:1
+ get-help trimstart
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [Get-Help], HelpNotFoundException
+ FullyQualifiedErrorId : HelpNotFound,Microsoft.PowerShell.Commands.GetHelpCommand
btw: I did the Update-Help and still get the error?
I replied to your other comment.
got it working; with some command syntax corrections!
Thanks for your repsonse!
Hey Shane, Why not like this $url.TrimStart("").trimend(":8080") but Thanks buddy this is what i am doing after watching your videos :)
That would work. As with a lot of things in PowerShell there are a lot of ways to do things. Replace was top of mind that day so that is what got used. :)
Great teaching skills!
I am trying to use the TrimStart & Indexof and I get errors. I attempt to do a Get-Help against the cmd's and here's what I get. I'm wondering if I running an outdated version of powershell?
get-help : Get-Help could not find indexof in a help file in this session. To download updated help topics type: "Update-Help". To get help online, search for the help
topic in the TechNet library at https:/go.microsoft.com/fwlink/?LinkID=107116.
At line:1 char:1
get-help Indexof
get-help : Get-Help could not find indexof in a help file in this session. To download updated help topics type: "Update-Help". To get help online, search for the help
topic in the TechNet library at https:/go.microsoft.com/fwlink/?LinkID=107116.
At line:1 char:1
+ get-help indexof
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [Get-Help], HelpNotFoundException
+ FullyQualifiedErrorId : HelpNotFound,Microsoft.PowerShell.Commands.GetHelpCommand
I checked my machine also. The string methods don't have help for them. :( Anything I can try to help with?
It is not a task of Help subsystem to keep info about .Net basic functionality, MSDN is what does it. PS is essentially .NET REPL environment. Question about basics of .NET have to be asked at appropriate place - MSDN!
Hey Shane,
Awesome Commands .
I am new to powershell ,i know basic things in Powershell.
I want to learn powershell more.
I faced issue in my Active Direcotry environment like .pulling the data in between bracess {***********}
My problem is in my ad environment user have multiple proxy addresses
i want the data like Data contain like user {proxyaddress1,proxyaddress2,proxyaddress3"}
username proxyaddress
==========================
user1 proxyaddress1,proxyaddress2,proxyaddress3
user2 proxyaddress1,proxyaddress2,proxyaddress3
user3 proxyaddress1,proxyaddress2,proxyaddress3
Please let me know Your views how to get the data
Thanks
=====
Rama
🙂
🤩
$hostname = ([System.Uri] $url).Host
Cool
Absolute disappointment! Just say "Strings in PS, as all objects in PS, are strings of .Net, go open reference. End of video".
If for someone it is not enough their real job is janitor, and nothing related to computers!
1
2 😂
@@ShanesCows Hahahah. I guess I fat-fingered a comment from my phone. But since you're here, great content! I've never been interested in PW but you make it interesting.
@@jaymartini This is why I reply to all of them. Little things like "fat fingering on my phone" make me smile more than you will ever know. 🐶
@@ShanesCows Then I'm your Huckleberry!