Reply To: Catch too long file paths
Hello, Are you looking for best software for Long Path files? Or simply looking easy copy or delete software for Long Path files? Here is the solution, simply download new Long Path Tool software that...
View ArticleNeed to check a Socket but with a source IP
$socketC = New-object Net.Sockets.TcpClient $socketC.Connect("10.224.34.1",636) $socket.Connected Need to check a Socket but with a source IP. Above code is connected form "localhost". Please help how...
View ArticleReply To: Need to check a Socket but with a source IP
Biswajit, Please elaborate what you're trying to do. I assume from your example code that you're trying to execute port checks towards Active Directory Domain Controllers. Please keep in mind that...
View ArticleReply To: Need to check a Socket but with a source IP
If you are trying to connect to machine C from machine B and your local machine is machine A I don't think that will work they way you want. My understanding of the Connect method is that you connect...
View ArticleReply To: Need to check a Socket but with a source IP
The "Client" property of the object type System.Net.Sockets.TcpClient contains useful information, as you can see below : $socketC | Select-Object -ExpandProperty Client Available : 0 LocalEndPoint...
View ArticleReply To: Need to check a Socket but with a source IP
Team, I am trying to check a Socket to machine C(IP & port) from machine B (IP) and my local machine is machine A.
View ArticleReply To: Need to check a Socket but with a source IP
Your code would have to run on machine B. I don't think remoting will work for you – you're going to hit the second hop problem. Why does machine C have to be checked from B? Why not run the code on A?
View ArticleReply To: Need to check a Socket but with a source IP
Second hop won't be an issue here; there's no authentication happening to "machine C". As long as you have remoting enabled on "machine B", you can just use Invoke-Command.
View ArticleReply To: Need to check a Socket but with a source IP
Invoke-Command will be connected via remote System. Need something from locally.
View ArticleReply To: Need to check a Socket but with a source IP
That doesn't make any sense. You're saying you want to test a connection from both a remote machine, and "from locally." What does that mean, exactly?
View ArticleReply To: Need to check a Socket but with a source IP
Need to check a connection COMA(web server)——COMB(Client PC). Need to check from COMC without " Enter-PSSession" or "Invoke-Command"
View ArticleReply To: Need to check a Socket but with a source IP
I've seen all sorts of problems trying to work against a third machine so I'm not 100% convinced that there isn't any issue
View ArticleReply To: Need to check a Socket but with a source IP
Need to check for 6000 PC so want to aviod invoke-command 6000 time. Will try some foreach if we can define the source IP.
View ArticleReply To: Need to check a Socket but with a source IP
Biswajit wrote:Need to check for 6000 PC so want to aviod invoke-command 6000 time. Will try some foreach if we can define the source IP. Well, good luck with that. If you want to actually check the...
View ArticleFormat Partition
Hi, I need to create a script that will format a partition that can be d:, e:, f: or g: (different from pc to pc …). I can not go on .. help! Thank you
View ArticleReply To: Format Partition
If you're running Windows 8 or later, there's a PowerShell cmdlet called Format-Volume. Otherwise, you can use good old format.com; it still works, even on Windows 8. As for how you figure out which...
View ArticleReply To: Format Partition
I need for windows 7 and windows 8. Format.com commad run on powershell script? The partition to be formatted can assume different letters (d:, e:, f:, g:, ..). I need a script to format all...
View ArticleReply To: Format Partition
I see. This is obviously a very destructive script, so test it at your own risk. Assuming that you only want to target local, fixed disks, you could do something like this: Get-WmiObject...
View ArticleReply To: Format Partition
Win32_Volume has a format method that you could use – http://msdn.microsoft.com/en-us/library/aa394515%28v=vs.85%29.aspx
View Article