 
                            📃script based🤖
@scriptbased
a blog about automation managed by @joelinthecloud
You might like
                
                📃script based🤖 reposted
            
                        
        
                    Today's handy regular expression #regex in #PowerShell for your delectation which turns a c$ etc UNC into a local path '\\server\c$\folder\more\fred.ps1' -replace '^\\\\[^\\]+\\([^\$])\$(.+)$' , '$1:$2' Which worked first time I wrote it!! Explanation of how it works follows
![guyrleech's tweet image. Today's handy regular expression #regex in #PowerShell for your delectation which turns a c$ etc UNC into a local path
'\\server\c$\folder\more\fred.ps1' -replace '^\\\\[^\\]+\\([^\$])\$(.+)$' , '$1:$2'
Which worked first time I wrote it!!
Explanation of how it works follows](https://pbs.twimg.com/media/EX1N71MXgAEpFiP.png) 
                                            1
            7
            12
            0
            0
        And we're live! Introduction post is up. More "proper" content coming soon-ish... scriptbased.com
1
            1
            0
            0
            0
        United States Trends
- 1. Happy Halloween 1.28M posts
- 2. YouTube TV 61.5K posts
- 3. #FanCashDropPromotion N/A
- 4. Hulu 20K posts
- 5. Good Friday 38.1K posts
- 6. #RUNSEOKJIN_epTOUR_ENCORE 233K posts
- 7. #FridayVibes 3,298 posts
- 8. Reformation Day 1,625 posts
- 9. #T1WIN 16.1K posts
- 10. Mary Ann 1,319 posts
- 11. YTTV N/A
- 12. Trick or Treat 318K posts
- 13. THE TRUTH UNTOLD 33K posts
- 14. #Jin_TOUR_ENCORE 209K posts
- 15. Fubo 1,557 posts
- 16. Faker 26.6K posts
- 17. Sunday Ticket N/A
- 18. Satoshi Nakamoto 6,076 posts
- 19. Happy Samhain 1,148 posts
- 20. ESPN and ABC 2,042 posts
You might like
- 
                                                
                                                     vdoppler vdoppler
 @vdoppler
- 
                                                
                                                     Raphael Montico Raphael Montico
 @MonticoRaphael
- 
                                                
                                                     Tony Hakes Tony Hakes
 @cobble109
- 
                                                
                                                     Itai Weisman 🧡🎗️🇮🇱 Itai Weisman 🧡🎗️🇮🇱
 @itaiweisman
- 
                                                
                                                     CoryZ CoryZ
 @Cory_Zaner
- 
                                                
                                                     Radical Edward (Citrix Janitor) Radical Edward (Citrix Janitor)
 @RadicalEdward13
- 
                                                
                                                     Pascal Pierre-Louis Pascal Pierre-Louis
 @PascalPLouis
- 
                                                
                                                     vT15” vT15”
 @t15_v
- 
                                                
                                                     Carlos Fuenteseca Carlos Fuenteseca
 @C_Fuenteseca
- 
                                                
                                                     tylermiranda tylermiranda
 @tylermiranda
- 
                                                
                                                     Yevgeni Klushin Yevgeni Klushin
 @YKlushin
                            Loading...
                        
                    Something went wrong.
Something went wrong.
 
                                                 
                                                 
                                                 
                                                 
                                                 
                                                 
                                                 
                                                 
                                                 
                                                 
                                                 
             
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                