Author Archives: Tony

PowerShell Culture and Help

https://powershell.org/forums/topic/invoke-command-remove-pscomputername/ https://powershellserveradmin.wordpress.com/2015/01/09/get-help-vs-help/ https://social.technet.microsoft.com/Forums/Lync/en-US/dea5d51d-0757-4916-86d8-c0b12ef55153/how-to-exclude-property-from-result-returned-by-powershell-command-?forum=sharepointadminprevious Aliases https://blogs.technet.microsoft.com/heyscriptingguy/2011/05/01/best-practice-for-using-aliases-in-powershell-scripts/ PowerShell session culture https://p0w3rsh3ll.wordpress.com/2012/01/22/working-with-system-locale-and-user-locale/ ## Test remote PS call from JACK on RHINO $computerName = “lsc561.tw.ibm.com” $remoteUser = “Administrator” $remotePassword = “!Sp@-81#” $credential = New-Object System.Management.Automation.PSCredential($remoteUser, (ConvertTo-SecureString $remotePassword -AsPlainText -Force)) invoke-command -ComputerName $computerName -Credential $credential … Continue reading

Posted in develop, windows | Tagged , , | Leave a comment

How to set the programming environment of Visual Studio

Q: I have set the programming environment of Visual Studio into C#. Now I want to change it to VC++. A: To change the environment from C# to C++, please go to Tools menu >> Import and Export Settings >> … Continue reading

Posted in develop | Tagged , | Leave a comment

How to force restart the machine when you get A system shutdown is in progress.(1115)

shutdown /s /m \\hyper1vm6 /t 0 hyper1vm6: A system shutdown is in progress.(1115) shutdown /a /m \\hyper1vm6 hyper1vm6: A system shutdown is in progress.(1115) taskkill /s \\hyper1vm6 /U administrator /P password /im lsass.exe >>> Causes a panic and the operating … Continue reading

Posted in windows | Tagged , | Leave a comment

Legacy Restore INTO Behavior

It creates a new copy of the backup dbcomp. The new copy has the name specified in the INTO parameter. For example, tdpsqlc rest MARIADB Full /INTO=testmnt1 DPSQL trace shows the following T-SQL statement: 10/20/2017 10:09:54.096 [010124] [8996] : SqlApi.cpp … Continue reading

Posted in data protection | Tagged | Leave a comment

How to setup an Active Directory domain controller in VirtualBox

Verbatim copy from http://www.fixedbyvonnie.com/2015/04/how-to-setup-an-active-directory-domain-controller-in-virtualbox/#.WeXhhWf6Uxl How to setup an Active Directory domain controller in VirtualBox Posted on April 20, 2015 by vonnie — 4 Comments Over the next three days I’m going to show you how to setup Active Directory and … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Microsoft Update Catalog

You MUST ACCESS the Microsoft Update Catalog using Internet Explorer. This is an example how to search the Monthly Quality Rollups for Windows 2012 R2. http://www.catalog.update.microsoft.com/Search.aspx?q=2017%20Monthly%20Quality%20Rollup%20windows%202012%20r2

Posted in windows | Tagged , , | Leave a comment

Configure Windows Update

Run as Administrator sc config wuauserv start=disabled net stop wuauserv

Posted in tools, windows | Tagged | Leave a comment