How to batch rename part of the filename in Windows PowerShell using Regex?
In this example, we have 6 files below with the date and filename below: Mode LastWriteTime Length Name —- ————-
Continue readingIn this example, we have 6 files below with the date and filename below: Mode LastWriteTime Length Name —- ————-
Continue readingRun PowerShell with administrator privileges Search -> powershell Windows PowerShell -> Right click -> Run as administrator List partitions
Continue readingni -it d (get-date).toString(‘dd.M.yy’) The above in it’s full form is… new-item -itemtype directory (get-date).toString(‘dd.M.yy’)
Continue readingA command in Powershell can have one or many alias. An alias is the command but in a shorter and
Continue readingType the following command in Powershell ii . The above is an alias for the non case sensitive command…
Continue readingAdd firewall rule New-NetFirewallRule -Name sshd -DisplayName ‘OpenSSH Server (sshd)’ -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22
Continue reading