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
Comments
Post a Comment