copycon

u/copycon


r/PowerShell•

I have a single line string that looks like so:

"CN=Group1,OU=Distribution Lists,OU=organizationalunit,DC=domain,DC=com CN=Group2,OU=Distribution Lists,OU=organizationalunit,DC=domain,DC=com CN=Group3,OU=Distribution Lists,OU=organizationalunit,DC=domain,DC=com CN=Group4,OU=Distribution Lists,OU=organizationalunit,DC=domain,DC=com CN=Group5,OU=Distribution Lists,OU=organizationalunit,DC=domain,DC=com CN=Group6,OU=Distribution Lists,OU=organizationalunit,DC=domain,DC=com CN=Group7,OU=Distribution Lists,OU=organizationalunit,DC=domain,DC=com"

I'm trying to determine what the most effective way to split the line into each element and extract only the occurrences of "Group#".

Please

125


r/AskProgramming•

Hi All, I'm having some trouble with a VBScript that stops output after the first 2 lines for each host specified in "computers.txt".

Any help is greatly appreciated!

Here's the script:

on Error Resume Next 

Set objExcel = CreateObject("Excel.Application") 
objExcel.Visible = True 
objExcel.Workbooks.Add 
 
objExcel.Cells(1, 1).Value = "	Computer Name  " 
objExcel.Cells(1, 1).Font.Colorindex = 2
objExcel.Cells(1, 1).Font.Bold = True 
objExcel.Cells(1, 1).Interior.ColorIndex = 23 
objExcel.Cells(1, 1).Alignment = "Center" 
Set objRange = objExcel.ActiveCell.EntireColumn 
objRange.AutoFit() 
 
objExcel.Cells(1, 2).Value = "	Hardware Name  " 
objExcel.Cells(1, 2).Font.Co
10


r/Surface•

Does anyone else search for "*" using the Windows Store for apps routinely to find new and interesting apps?

Personally I find this to be a very non-user friendly, but I don't know of any other way to browse for apps that are not featured in any category.

I've found some really awesome Windows 8 apps this way and I was wondering if I am a minority?

1212

r/Surface•

I came across this after doing some research into how to enable file and folder sharing on a Windows RT.

Link: http://rashedtalukder.com/how-to-enable-file-printer-sharing-windowssurface-rt/

tl;dr...

Set the "Server" service to automatic startup mode and restart the device. Then the Explorer GUI will have the sharing options enabled.

I was able to authenticate to the share using live credentials, but there may be other ways to configure authentication.

40


You've reached the end of this feed.