2,223 reputation
414
bio website wondershell.wordpress.com
location https://github.com/mnmnc
age
visits member for 2 years, 5 months
seen yesterday

last | head


Dec
4
revised Shut down PC at a determined time
added 16 characters in body
Dec
4
comment Shut down PC at a determined time
@Charm_quark i think you need nested for with delims set to ,
Dec
4
comment Shut down PC at a determined time
@Charm_quark if I see this correctly, your script depends on the date as well in System BootTime: 12/4/2014, 7:20:37 AM. ~38,1 will work when date has particular length, for example 12/4/2014 but I think the length in your command may vary. It can be 1/4/2014 (shorter) and it can be 12/12/2014 (longer) - I think it might cause your script to fail.
Dec
4
revised Shut down PC at a determined time
Corrected formating
Dec
4
comment Shut down PC at a determined time
If you check only one character at ~38,1 - wont it by a chance trigger at 15:50 as well? Just a thought :)
Dec
4
answered Shut down PC at a determined time
Dec
1
comment What addresses does authoritative DNS server keep?
To be honest you already did use the correct syntax. nslookup domain ns_server will ask ns_server for specified domain. It bypasses your DNS server and caches. Yahoo DNS server must have had the stackoverflow ip cached and allowed the query. I do not see any other way.
Nov
21
comment https redirect to virtual host directory and http not working
Um.. localhost not working? Try pgrep "apache" if apache is running, netstat -patn see if it is listening on port 80. Its possible that you have specified 192 address as the listening address. You can change this to 0.0.0.0 - this will allow for the server to listen on all IP addresses. If http is working but https is not working - check if port is listening, if not - configure the service to listen on 443.
Nov
21
comment How to open a firewall port in Windows using Power Shell
Well, not really. If the destination is your computer locally, that means the connection source and destination is the IP address 127.0.0.1 (most likely) which is local IP address of each computer. This IP address is attached to loopback device that have very little in common with normal ethernet card. Firewall rules do not normally affect the localhost so there shouldn't be anything that would prevent you from connecting.
Nov
20
comment Two internet connections to one server
If you have 2 IP address, 2 routers and one server behind those routers, make a simple port forwarding on them. I don't get what is the problem tbh... Server needs to have 2 local IP addreses so 2 NICs are required. You can have virtual IPs/NICs on Linux but that does not resolve the problem of 2 wired/wireless connections. So 2 IPs + 2 NICs + 2 port forwardings.
Nov
20
comment Two internet connections to one server
I understand the aim, however most important thing is that to make this transparent for the clients you have to implement load balancing. That is if you want for all of them to use single domain name. Domain will be resolved to load balancer addres and it will direct traffic to one of the IP addresses that the server is reachable at. If you do not have to use single domain, create two of them and assign each IP address to different domain and gave your clients.
Nov
20
comment How to open a firewall port in Windows using Power Shell
Connection is refused looks more like the response from the destination server or from the network device that is between you and destination server. Linux is a different operating system. Pretty much totally different. You cannot execute above comments in Linux. There are Linux commands what will do the samem but this is entirely different question.
Nov
20
comment How to open a firewall port in Windows using Power Shell
Well, I think You might be right. The college library computers, or pretty much any publicly available computers are known to have limitations implemented that will prohibit any changes to the computer configuration. I'm pretty sure that above scripts will work on normal computers.
Nov
20
revised How to open a firewall port in Windows using Power Shell
added 933 characters in body
Nov
20
answered How to open a firewall port in Windows using Power Shell
Nov
19
answered Custom rules in Outlook?
Nov
14
comment Net user command isn't working windows 7
Type in hostname command and check what is the response. It seems like it should be empty if there is nothing after `\`.
Oct
30
comment SSH can not connect remotely, but I can ssh via local ip
@JasonHeylon did you try to uncomment the "Listen 0.0.0.0" line and restart after that? Can you show ssh -vvv from remote?
Oct
29
revised GnuWin32 / sed unexpected behavior in Powershell
deleted 23 characters in body
Oct
29
comment GnuWin32 / sed unexpected behavior in Powershell
The ultimate goal is to be able to use gnuWin32 tools like cut and tr and sort. It's my preferred way since I don't really like the Powershell syntax for Command | Select this and that | Format-table. Also in powershell a lot of things that is passed through the pipe are objects where in bash they are streams - which is much easier to manipulate for me.