Get-QADObject Memory Issues
Good Afternoon,I'm tried looking around the web for this issue, but have not been able to find a definite solution.QUICK OVERVIEW: My company had to change email servers. In the process we migrated...
View ArticleSharepoint Online Document Library
Hi,Are there any cmdlets available for importing and exporting the document library in SharePoint Online? I have an environment where I am hoping to export the document library from SharePoint 2010 to...
View ArticleError running Management Shell SharePoint 2010
Hello everybody,I've just installed a test vm for SharePoint 2010. Everytime I run the management shell I receive the error Add-PSSnapin : Could not load type...
View ArticleTIP - Watch Out! return values from functions in power shell...
Ach SO!Be carefull when writing functions that returns values in powershell.Take this example: function GetTaskDescriptionObject($sTitle, $sStatus, $iId){ $objTask = New-Object System.Object |...
View ArticleTheres gota be a better way! ??? GetADGroupMember
Hi, I need to write a script that will go through an AD-group and get all the users from its sub-groups. For each user I require the following details:distinguishedNameupnnamesamaccountname2x business...
View ArticleActiveSync Exchnage 2007
Hi,Exchange 2007 Please can someone help with a PowerShell command? I need help with a script that I will schedule to run on a daily basis to disable ActiveSync on all mailboxes except for users which...
View ArticleGet User run as services from computers in Active directory | need help with...
i have this scriptworking grate i wish to echo the computers name that have this errorGet-WMIObject : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)At...
View ArticleHow to script out data from a table with Powershell
Hi,I have few lookup tables I need to script data for in order to rebuild an empty database. I've already developed the scripts for the database schema.For example I have a table User:UserId,...
View ArticleSetting Web Site RequestFiltering/RequestLimits/MaximumAllowedContentLength
I am trying to set the Maximum Allowed Content Length for a web site under IIS 7.5 using Powershell 2 or 3. The only examples I have seen use appcmd ... This is easy to do with the IIS Manager UI by...
View ArticlePowershell for Beginners-Tic Tac Toe Game
Hello, beginner Powershell user here. I cannot for the life of me figure out what is wrong with my code. The script asks "Would you like to play? (Y/N)" and when the user enters "Y" it hangs and...
View ArticleHi Need Help in PowerShell
I am Trying to read the content from the Tracking log file which is generated once the Jams jobs is completed success or failure....please find below the demo of log file,JAMS Version 6.0.523.0 on...
View ArticleWindows Forms Textbox - Read line by line
Hello,I am not sure this can be done, I remember seeing a post on the Scripting Guys Blog stating you cannot read a Forms TextBox line by line, but knowing this is .NET based I am in denial about this....
View ArticleXP last logon time
Hello,Just wondering if anyone knows of a WMI namespace like the Win32_UserProfile that has a user last logon/use time that is supported in XP?I am trying to create a script that will achieve this and...
View ArticlePowershell workaround for File Folder names that are too long...
Hi,is there any current update on the limitations in Powershell concerning the File FullName/Folder names being more than 260/248 chars?I've found this post, but I'll admit it's a bit...
View ArticleMatching up source and results in output
Greetings, all.I have been searching for a resolution to my issue for some time. Accepting defeat, I am calling on the assistance of those that know what they are doing. I am attempting to do...
View ArticlePrint to a network printer
HelloIwould like toprint to aof arbitrarynetworkprinter notthe defaultprinter.I havethe following scriptDirc:\myFolder\*.Pdf|Foreach-Object{Start-Process-FilePath$_.FullName-VerbPrint}Iwould like...
View ArticleWSUS Powershell cmdlet
HiIm trying to run the following script copied from TechNet. When I do it works just as it is supposed to, but it doesn't approve updates with license agreements that need to be accepted. Is there a...
View ArticleMeasure-Object is the correct way to use?
I wrote PS script to collect all mailboxes from one exchange server and print in email report with mailboxdisplayname, TotalItems. stored in $Jm before formatting I want to total mailbox count and sum...
View Articleparsing issue on curl command
I am running a curl command in powershell, but it is generating an error indicating a parsing issue. The command is:curl --basic -g -u admin:admin -d "{\"name\" : \"cci-dev\" , \"serversNames\": [...
View Articleusing Quest CMDlets to return all groups that contain disabled users
Hi all, i have a new question :)i wish to return all the groups in a domain that have disabled members. I've looked at doing this via Get-Qadgroup | Get-Qadgroupmember but i couldn't get it to work. So...
View Article