Reply To: Modify Custom AD attribute
The first thing i would do is to make sure that AD is seeing it with that name. I would use Active Directory Users and Computers with the advanced features turned on, then look in the Attribute Editor...
View ArticleReply To: Downloading Tables from webpages
I think I have progressed a bit from some searching but a bit stuck now. I can get the table from the page but thats about it currently: $ie = New-Object -com “InternetExplorer.Application”...
View ArticleReply To: PowerShell SP 2010 administration class available?
Thank you for the book recommendation. I will see if I can talk the guys into doing reading instead of attending a class. I really appreciate all the help.
View ArticleReply To: posh web access – default logon page customization
Thank you for your solution! I really appreciate this.
View ArticleReply To: Modify Custom AD attribute
Thanks for your response Matt. I do see the custom attribute on the attribute editor tab. Any idea why it is erroring out. Thanks, -Bill
View ArticleReply To: Replace text in TSM option file
Thanks for the replys to this, I went away on Honeymoon just before the latest replys and forgot about this until today when my boss asked if it was done yet. Time to get back on it, thanks again for...
View ArticleReply To: Replace text in TSM option file
It works! This is what I have eneded up with and it seems to work perfect: $servers = get-content c:\joe\tsmlist.txt foreach ($server in $servers){ $file = get-content “\\$server\c$\Program...
View ArticleSort a list but have 2 specific objects at the top
How can I sort a list but add a specific item to the top? For example: apple orange peach pear grapefruit Let’s say I want to sort the list alphabetically but I want peach up top and I only want it to...
View ArticleReply To: Sort a list but have 2 specific objects at the top
Yeah, pasting didn’t work . Try the TEXT tab if you want to paste.
View ArticleNetwork share behaves differently in 2 editors: ISE and PowerGUI
Following line works fine in ISE , but generates an exception in PowerGUI. Any suggestions? Get-ChildItem “\\server_name\share” Cannot find path ‘\\server_name\share’ because it does not exist.
View ArticleReply To: Network share behaves differently in 2 editors: ISE and PowerGUI
Kirk might have an idea as he used to work on PowerGUI, but you might ask at PowerGUI.org since it’s more product-specific?
View ArticleReply To: Network share behaves differently in 2 editors: ISE and PowerGUI
Thank you Don. I’ll do that. If I find an answer, I’ll post it here.
View ArticleReply To: Sort a list but have 2 specific objects at the top
Thank you Don! Lesson learned don’t paste in the forums unless I’m on the text tab. I tried to go back and edit it but the forums stared giving me a 401 error around that time. I hope I did not cause...
View ArticleReply To: Sort a list but have 2 specific objects at the top
There’d be no easy way to do this. You’d probably pipe your list to Sort-Object first, and grab that in a variable. Then you’d have to construct a new array, adding objects to it in whatever order you...
View ArticleFiles and Folders
Hi, I am new to powershell and i have given a task.My task is i have multiple folders like C:\Test\ C:\Test\A\ C:\Test\B\ I need to check if there is a file under C:\Test\ and C:\Test\A\ then i need...
View ArticleReply To: Modify Custom AD attribute
Hmmm, it should be working. My next guess is to follow the examples in help more precisely and swap the ” to ‘ to get @{gmailaddress=’blah’}. You could also try without the quote marks at all, not...
View ArticleReply To: Modify Custom AD attribute
Thanks Matt, but still no love… PS C:\Users\songstadw> set-aduser -Identity “bstest2″ -Add @{gmailaddress=’glenjohn@fabrikam.com’} set-aduser : The parameter is incorrect At line:1 char:1 +...
View ArticleReply To: Files and Folders
Are you only looking to access a parent folder (test) and one subfolder (a)? Or are you only excluding one subfolder (b)? If there are only 2 subfolders then the logic works both ways but it depends...
View ArticleReply To: Modify Custom AD attribute
I’m going to guess I’m missing something obvious. Maybe the answer is that set-aduser can’t access custom properties at all. In that case you could try having a look at set-adobject instead. Maybe it...
View Article