Tuesday, 27 June 2017

PowerShell Get List Of Folders Shared

PowerShell Get List Of Folders Shared


get-WmiObject -class Win32_Share -computer fully.qualified.name

net view \\servername

Monday, 20 March 2017

Bootstrap Links

Bootstrap Links

https://www.w3schools.com/bootstrap/bootstrap_ref_comp_glyphs.asp

https://www.w3schools.com/bootstrap/bootstrap_ref_css_buttons.asp

https://www.w3schools.com/bootstrap/bootstrap_alerts.asp

https://v4-alpha.getbootstrap.com/components/forms/

https://v4-alpha.getbootstrap.com/components/navbar/

https://v4-alpha.getbootstrap.com/utilities/responsive-helpers/

https://www.w3schools.com/jsref/jsref_tolowercase.asp

https://www.w3schools.com/jsref/jsref_indexof.asp

https://www.w3schools.com/css/css_display_visibility.asp

http://stackoverflow.com/questions/6644654/parse-url-with-jquery-javascript


Wednesday, 6 April 2016

Monday, 4 April 2016

Batch file rename using Powershell

The following command lists the files in the current directory and pipes the list to Rename-Item. Rename-Item replaces each space character with an underscore.
Dir | Rename-Item –NewName { $_.name –replace “ “,”_” }

Thursday, 8 October 2015

Example of how to duplicate rows in MySQL

INSERT INTO `document` (`filename`, `filepath`,`document_content`) SELECT `filename`, `filepath`,`document_content` FROM  `document`

Tuesday, 22 September 2015

Clear Windows Update Logs


1.        
·         net stop bits
·         net stop wuauserv
·         net stop appidsvc
·         net stop cryptsvc

Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"