Posts

Showing posts from June, 2024

PowerShell ISE Insert DateTime

  PowerShell ISE Insert DateTime   #add short cut in powershell ISE editor to get date quickly $psISE.CurrentPowerShellTab.AddOnsMenu.Submenus.Add("Insert Datetime",{$psise.CurrentFile.Editor.InsertText($(get-date))},"Alt+D") | out-Null   #add short cut in powershell ISE editor to get current win password quickly $psISE.CurrentPowerShellTab.AddOnsMenu.Submenus.Add("Winpass",{$psise.CurrentFile.Editor.InsertText("xxxxxxxxx")},"Alt+P") | out-Null

How to use AI

  How to use AI   Action Explain what you want Copilot to do. ex:  “I need help with scheduling 15 minutes of daily mindfulness time, please.” Style Describe the format you want the response presented in. ex: “For each day of the week, please include daily prompts to help me get started with meditating and journaling.” Key details Set the stage with more context about your situation. ex: “I am a nature enthusiast who loves spending time in the park.”

Document management explore for office 365

 Document collaboration and co-authoring

Windows explorer preview pane setup

Image
 #windows explorer preview setup Method1:  PowerToys - Tools to increase productivity in Windows - Microsoft Community You can install powerToys and turn on preview pane for all different files preview.  Method2: #https://www.byteinthesky.com/powershell/preview-powershell-scripts-file-in-windows-explorer/ You can execute powershell commands below:  [microsoft.win32.registry]::SetValue("HKEY_CURRENT_USER\Software\Classes\.json", "PerceivedType", "text") [microsoft.win32.registry]::SetValue("HKEY_CURRENT_USER\Software\Classes\.py", "PerceivedType", "text") [microsoft.win32.registry]::SetValue("HKEY_CURRENT_USER\Software\Classes\.ps1", "PerceivedType", "text") [microsoft.win32.registry]::SetValue("HKEY_CURRENT_USER\Software\Classes\.psm1", "PerceivedType", "text") [microsoft.win32.registry]::SetValue("HKEY_CURRENT_USER\Software\Classes\.psd1", "PerceivedTy

Enabling Preview of PowerShell Files in Windows Explorer

Image
  Enabling-preview-of-powershell-files-in-windows-explorer