How do I set the DNS address for a network adapter programmatically in Windows Server 2008? It looks like Set-DnsClientServerAddress
isn't supported.
Josh Kodroff's questions
I have a site built with static html files and I need to add a segment of markup to every page. The natural choice to accomplish this is to use server-side includes (SSI).
The SSI handler does not map to .html files by default, so I'm left with 2 choices:
- Rename all files to .shtml, which requires replacing all links.
- Map the SSI handler to .html files. (I'd like to make this change quick and dirty, so this is my preferred option.)
Is there any major issue with mapping the SSI handler to .html files? This is not a high-traffic site by any means, so performance should not be a concern.
I can't get IIS to respect my SSI directives - it just outputs the #include directive as if it were regular old html.
Here's the relevant data points:
- My file with the include directive is called index.html
- This is my directive:
<!-- #include file = "header.shtml" -->
(it doesn't work withvirtual
either.) - The file being requested is in the
same directory as the file being
include-ed.
- The SSI module is installed.
- The SSINC-shtml handler mapping is present and enabled.
I think it might be some sort of permissions issue (read/write/execute), but I don't know where those settings are in IIS 7.5.
How do I change a user's password in Oracle?
I'm using Oracle for development on my local machine. The password for a bootstrap account that I always use to rebuild my database has expired.
How do I turn off password expiration for this user (and all other users) permanently?
I'm using Oracle 11g, but I don't know if the password expiration behavior is new in 11g.
Here comes a real softball for your sysadmins from a lowly programmer:
We have a machine with Terminal Services enabled so our clients can preview the next version of our product. I want to turn off Terminal Services for our users while I remote into the machine and perform an upgrade.
How do I turn off Terminal Services access for all users except Administrator? (I'm using Windows Server 2003.)
Bonus: Is there a way I can leave a polite rejection message if they try to connect while I'm performing the upgrade?
Thanks!