the quick introduction to common scripting languages, as well as sample scripts.
Batch files can be used to automate simple processes in Microsoft Windows. Batch files use the commands of the command prompt, in the simplest case these cmd commands can be entered in a simple text file line by line, it is then executed one command after the other. Windows batch originate from the MS-DOS era. At that time batch files had the file extension .bat. Since Windows 2000 the extension .cmd is used. Additionally there is the possibility to use jump labels or variables, up to more compl...
📰 New Posts
PowerShell Basics: Data, Loops and Conditions
Powershell arrays and objects and logic: If queries and loops. ... continue reading
Basics: Start console, execute commands
PowerShell allows you to control or manage systems using the command line or run automated operations via Powershell scripts. ... continue reading
Execute remote commands with psexec pstools - cmd Windows
The pstools can be used to execute commands on other computers: Of course, this requires the necessary rights for the remote connection: by default, these are the domain administrator or the local administrator. As an alternative for a remote connection to another computer, PowerShell remoting can also be used, see: Powershell Remote ... continue reading
MS-SQL Joins explained: Inner, Outer, Left, Right Join; Union
Joins can be used to get data in SQL from one or more tables in a single output. Joins are often combined with other queries in practice: For example, most often for the selection of data is not, as used here, a "select * from", but the respective columns are selected: "select column1,column2 from", or, of course, the joins can be combined or nested with "where" or other queries. ... continue reading
Robocopy example - server relocation
Even in times of Windows PowerShell there are certain commands that still do not have a worthy successor in Windows PowerShell. One of these commands is undoubtedly the good old robocopy command. ... continue reading
PowerShell: Prevent screen saver, lock: Move mouse regularly
Alternatively, if you can't change the screen lock settings, you can move the mouse regularly, or have a script move the mouse. Originally published as an AutoIt script, I recreated the script with a few PowerShell lines. Anyone who copies the following commands into a PowerShell session will prevent the computer from locking the screen or starting the screensaver: ... continue reading