• Blog
  • Contact
  • About
Menu

The PowerShell Bear

I'm here to help you!
  • Blog
  • Contact
  • About
There are many tools to work with strings...

There are many tools to work with strings...

Useful [String] manipulation techniques with .Methods()

June 22, 2017

Many times when working with PowerShell, I find myself needing to manipulate text strings.  There are a ton of ways you can manipulate strings, and a lot of those are thanks to the built-in methods included on all string objects.

I've covered some of my favorite string manipulation techniques for you here.

Read More
In Fundamental Learning, Tips and Tricks Tags strings, String Manipulation, Objects, Methods, Split, Replace, String interpolation
Comment
It isn't so hard when you can see all of the parts

It isn't so hard when you can see all of the parts

One Neat Trick to take objects apart: ConvertTo-JSON

June 13, 2017

One of the neatest tricks I've come across recently has to do with a need I find I have frequently: to be able to see the full structure of my output.  Get-Member and Select-Object * are powerful, but  have limits when it comes to discovery.

I go over the PowerShell v3 cmdlet ConvertTo-JSON in this post to look an another way to see what's really in your output.

Read More
In Tips and Tricks Tags JSON, Objects, output
Comment
Figuring out objects really isn't this hard...

Figuring out objects really isn't this hard...

The (very basic) Anatomy of an Object

January 9, 2017

Everyone who works with PowerShell beyond a rudimentary level could benefit from a basic understanding of .NET objects.

This post won't show you everything, but it might help peel the curtain back a little to get you started.

Read More
In Fundamental Learning, Tips and Tricks Tags .NET, Objects, strings, MSDN, C#
Comment

Latest Posts

Blog
Using Visual Studio Code Syntax highlighting to make PowerShell better
about 3 years ago
"PoshMailKit" Release version 1.1.0 published to Gallery
about 3 years ago
"PoshMailKit" version 0.9.1-beta2 published to Gallery
about 3 years ago
New project announcement: "PoshMailKit"
about 3 years ago
Change Report: 2021
about 4 years ago

Fresh Tweets

Whatever it is, the way you tell your story online can make all the difference.
  • #PowerShell #PoshMailKit, based on #MailKit, version 1.1.1 published to the #PowerShellGallery:… https://t.co/hj3WHKq5A9
    Jun 29, 2022, 1:54 PM
  • Using Visual Studio Code Syntax highlighting to make PowerShell better https://t.co/XoFrFonUQ9 #PowerShell #VSCode #SyntaxHighlighting
    Apr 26, 2022, 4:45 PM
  • "PoshMailKit" Release version 1.1.0 published to Gallery https://t.co/MNbDLtu8VG #PowerShell #SendMailMessage #MailKit #PoshMailKit
    Apr 20, 2022, 12:59 PM
  • "PoshMailKit" version 0.9.1-beta2 published to Gallery https://t.co/BUBdaYn86a #PowerShell #SendMailMessage #MailKit #PoshMailKit
    Mar 14, 2022, 10:55 AM
  • New project announcement: "PSMailKit" https://t.co/o3kme1upaE #PowerShell #SmtpClient #Send-MailMessage #MailKit
    Mar 8, 2022, 6:54 PM

Powered by Squarespace