តើធ្វើដូចម្តេចដើម្បីបាច់ប្តូរឈ្មោះជាផ្នែកមួយនៃឈ្មោះឯកសារនៅក្នុង Windows PowerShell ការប្រើ regex?
នៅក្នុងឧទាហរណ៍នេះ, យើងមាន 6 ឯកសារដូចខាងក្រោមជាមួយនឹងកាលបរិច្ឆេទនិងឈ្មោះឯកសារដូចខាងក្រោម: របៀប LastWriteTime ឈ្មោះប្រវែង —- ————-
អានបន្តនៅក្នុងឧទាហរណ៍នេះ, យើងមាន 6 ឯកសារដូចខាងក្រោមជាមួយនឹងកាលបរិច្ឆេទនិងឈ្មោះឯកសារដូចខាងក្រោម: របៀប LastWriteTime ឈ្មោះប្រវែង —- ————-
អានបន្តRun PowerShell with administrator privileges Search -> powershell Windows PowerShell -> Right click -> Run as administrator List partitions
អានបន្តni -it d (get-date).toString(‘dd.M.yy’) នៅខាងលើនៅក្នុងវាជាទម្រង់ពេញលេញគឺ… new-item -itemtype directory (get-date).toString(‘dd.M.yy’)
អានបន្តA command in Powershell can have one or many alias. An alias is the command but in a shorter and
អានបន្តType the following command in Powershell ii . ខាងលើគឺជាឈ្មោះក្លែងក្លាយសម្រាប់ពាក្យបញ្ជាដែលមិនប្រកាន់អក្សរតូចធំ…
អានបន្តAdd firewall rule New-NetFirewallRule -Name sshd -DisplayName ‘OpenSSH Server (sshd)’ -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22
អានបន្ត