 
                            ๐script based๐ค
@scriptbased
a blog about automation managed by @joelinthecloud
๋ด๊ฐ ์ข์ํ ๋งํ ์ฝํ ์ธ
                
                ๐script based๐ค ๋์ด ์ฌ๊ฒ์ํจ
            
                        
        
                    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 ํธ๋ ๋
- 1. Halloween 3.11M posts
- 2. #DoorDashTradeorTreat 1,522 posts
- 3. #sweepstakes 2,616 posts
- 4. #smackoff 1,968 posts
- 5. #SwapSilently 8,536 posts
- 6. Jessica Lange 38K posts
- 7. Disney 97.3K posts
- 8. YouTube TV 46.1K posts
- 9. ESPN 80.1K posts
- 10. Hulu 23K posts
- 11. Monangai 1,392 posts
- 12. Trick or Treat 442K posts
- 13. Coven 12K posts
- 14. Candy 248K posts
- 15. YTTV 2,475 posts
- 16. Julia Fox 2,104 posts
- 17. Mark in Hollywood N/A
- 18. #jimromeonx N/A
- 19. Fubo 3,980 posts
- 20. Sicario 3,851 posts
๋ด๊ฐ ์ข์ํ ๋งํ ์ฝํ ์ธ
- 
                                                
                                                     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.
 
                                                 
                                                 
                                                 
                                                 
                                                 
                                                 
                                                 
                                                 
                                                 
                                                 
                                                 
             
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                