This shows you the differences between two versions of the page.
Previous revisionLast revision | |||
— | fuss:powershell [2018/07/26 16:08] – office | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Install Google Chrome from PowerShell ====== | ||
+ | |||
+ | Without requiring a re-configuration of the security settings of Internet Explorer, the following command: | ||
+ | <code powershell> | ||
+ | $LocalTempDir = $env:TEMP; $ChromeInstaller = " | ||
+ | </ | ||
+ | |||
+ | will silently install Google Chrome from official sources. | ||
+ | |||
+ | ====== Get Last Commit Message from Subversion Repository ====== | ||
+ | |||
+ | The following command will get the last commit message from the Subversion log and display it: | ||
+ | <code powershell> | ||
+ | (svn log -l 1 http:// | ||
+ | Select-XML -XPath '// | ||
+ | Select-Object -ExpandProperty node | | ||
+ | Format-Table -HideTableHeaders | | ||
+ | Out-String | ||
+ | </ | ||
+ | where: | ||
+ | * ''< | ||
+ | |||
+ | The command first uses the '' | ||
+ | |||
+ | ====== Open Elevated Command Prompt via UAC ====== | ||
+ | |||
+ | <code powershell> | ||
+ | powershell.exe Start-Process cmd.exe -Verb runAs | ||
+ | </ | ||
For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.