New answers tagged scripting
0
votes
Sort a list of domain names (FQDNs) starting from tld and working left
In JavaScript:
function compareName(a, b) {
const aReverse = a.split('.').reverse().join('.')
const bReverse = b.split('.').reverse().join('.')
return aReverse.toLowerCase().localeCompare(...
- 101
3
votes
Stumped on why my Startup GPO Script isn't executing BCDEdit correctly
Make sure you have the policy for waiting for the network connection, as my guess is your computer evaluate the cached GPO before even the NIC have finished to initialize, thus fail to run the script.
...
- 16.5k
0
votes
How to edit Local Group Policy with a script?
Great script from Microsoft that goes into more detail on editing registry property values via Powershell using the Set-ItemProperty and other cmdlets. As has been stated, this doesn't appear to ...
- 1
Top 50 recent answers are included
Related Tags
scripting × 1808bash × 389
linux × 331
powershell × 274
windows × 255
shell × 126
active-directory × 78
shell-scripting × 64
batch × 63
cron × 56
ssh × 55
windows-server-2003 × 55
ubuntu × 54
automation × 54
windows-server-2008 × 50
command-line-interface × 50
networking × 47
group-policy × 47
batch-file × 44
centos × 41
python × 35
unix × 33
vbscript × 33
email × 31
windows-server-2008-r2 × 30