Dino9021

技術記事與生活

2021-10-26

列出特定 OU 下帳號的密碼到期日 & 重設密碼到期日

›
Get-ADUser -filter {Enabled -eq $True -and PasswordNeverExpires -eq $False} -SearchBase "OU=CorpUsers,DC=contoso,DC=com" –Properti...
2021-10-07

市場開發必須要先擁有的基本功

›
今天接到了一通推銷電話,來電的人自稱是 Google 的某某合作夥伴 他說:「我們公司最近針對你們這類型的產業要舉辦一個活動來介紹產品 想跟您請教 E-mail Address 把資訊寄給您參考」 他真的就只有說了這些,就要我講出 E-mail Address 各位要知道,Goo...
2021-09-10

超好用的線上繁簡轉換 API - 繁化姬

›
繁化姬 https://docs.zhconvert.org/ 使用說明 https://docs.zhconvert.org/api/getting-started/

PowerShell 中文亂碼問題 (Big5 / Big-5 / UTF8 / UTF-8 / Bug5 / Bug-5)

›
 https://docs.microsoft.com/zh-tw/powershell/module/microsoft.powershell.core/about/about_character_encoding?view=powershell-7.1 $PSDefaultP...
2021-09-09

Powershell 對於檔名有 [ 中括弧 ] 等保留字元的不適應症狀處理 Deal with filename contains reserved characters like [ ] in Powershell

›
Get-ChildItem 明明找得到 [ABC].txt,但用 Get-Item 卻找不到 雖然改用 [System.IO.File] 就能正確存取 且在 這邊 (微軟官方文件) 可以找到相關的 Method 來使用,但還是相當不方便 畢竟不是所有指令都能用 [System....
2021-09-03

Silently Install UltraVNC 無訊息安裝

›
先安裝一次並加上 /saveinf 參數取得設定值參考檔 setup.exe /saveinf="C:\UVNCInstall.inf" 加上 /verysilent 及 /loadinf 來實現無訊息安裝 setup.exe /verysilent /loa...
2021-08-19

Fix Unable to resolve package source when Install-Module with PowerShell

›
Install-Module -Name AzureAD 的時候發生以下錯誤: WARNING: Unable to resolve package source 'https://www.powershellgallery.com/api/v2/'. 可能的原因...
2021-07-29

Auto Renew Let's Encrypt Certificate for SoftEther

›
After build up the SoftEther VPN  https://youtu.be/Y1F4PJOsWF8 You can manually Import the Certificate Or try to make it automatically. Plac...
2021-07-14

PowerShell Invoke-WebRequest Emoji and Special Character Escape for FileName

›
這會把一些中文全形標點符號也過濾掉 $Name = '[ 😀 😃 😄 😁 😆]';
2021-07-08

WFH (Work From Home) 的情況下如何 Reset Computer Account Password

›
這個應該是用不到啦,畢竟就已經跟網域脫離關係,應該是用 Cache Credential 來登入作業系統 所以應該不會遇到 Computer Account Password 說過期,失去網路信任關係的問題 但如果有需要的話,VPN 先連上,然後下 PowerShell 指令 T...
‹
›
首頁
查看網路版
技術提供:Blogger.