<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://powershell.com/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results for 'app:forums' matching tags 'PowerShell' and 'Args'</title><link>http://powershell.com/cs/search/SearchResults.aspx?q=app:forums&amp;tag=PowerShell,Args&amp;orTags=0&amp;o=DateDescending</link><description>Search results for 'app:forums' matching tags 'PowerShell' and 'Args'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 (Build: 30929.2835)</generator><item><title>Set attribute for users in an OU - retrieve value but set fails?</title><link>http://powershell.com/cs/forums/thread/16035.aspx</link><pubDate>Thu, 19 Apr 2012 05:00:00 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:16035</guid><dc:creator>virtuallynothere</dc:creator><description>&lt;p&gt;I am trying to set a virtual attribute that currently exists for all users in a specific OU.&lt;/p&gt;
&lt;p&gt;I can retrieve the attribute value and user name fine using the command below, but then I tried to set the value and that fails in the command below, and also in the script below. I&amp;#39;m trying to get help on the quest forum, seems hard to get help there, so I&amp;#39;m trying here.&lt;/p&gt;
&lt;p&gt;This retrieves the user name and value of the edsva attrib&lt;/p&gt;
&lt;p&gt;&lt;span&gt;get-qaduser -searchroot &amp;quot;ou=test,dc=headache,dc=local&amp;quot; -DontUseDefaultIncludedProperties -IncludedProperties edsvadeprovisiondeletiondate | Select-Object name, edsvadeprovisiondeletiondate&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This is supposed to set the virtual attrib for a user account, I&amp;#39;ve tried specifying a name and it fails the same as it does if I try to pipe the commands above to this one.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Set-QADUser -objectsAttributes @{&amp;#39;edsvadeprovisiondeletiondate&amp;#39;=&amp;#39;4/18/2012 12:00:00 AM&amp;#39;}&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;This script fails and it looks like its the same error as above..&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#Connect-QADService -service server.longnight.local -proxy&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Get-QADUser -SizeLimit 0 -searchroot &amp;quot;ou=test,dc=longnight,dc=local&amp;quot; -DontUseDefaultIncludedProperties -IncludedProperties edsvadeprovisiondeletiondate | ForEach-Object{&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;$Olddate = Get-QADUser $_.edsvadeprovisiondeletiondate&lt;/span&gt;&lt;br /&gt;&lt;span&gt;$newdate = &amp;quot;4/18/2012 10:00:00 PM&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Set-QADUser $_ -proxy -objectAttributes @{edsvadeprovisiondeletiondate=$newdate}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;}&amp;nbsp;&lt;/span&gt;
&lt;/p&gt;</description></item><item><title>Windows Feature - Add &amp;quot;As&amp;quot; versus &amp;quot;Add&amp;quot;?</title><link>http://powershell.com/cs/forums/thread/15931.aspx</link><pubDate>Thu, 12 Apr 2012 05:00:00 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:15931</guid><dc:creator>virtuallynothere</dc:creator><description>&lt;p&gt;Does anyone know what the difference between these 2 commands are in terms of what they do considering both add windows features?&lt;/p&gt;
&lt;p&gt;The &amp;quot;AS&amp;quot; is what I can&amp;#39;t find online details on.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Add-WindowsFeature as-net-framework&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The standard seems to be:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Add-WindowsFeature Net-Framework&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>script question</title><link>http://powershell.com/cs/forums/thread/15583.aspx</link><pubDate>Tue, 27 Mar 2012 05:00:00 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:15583</guid><dc:creator>virtuallynothere</dc:creator><description>&lt;p&gt;Not a good powershell script idea, closing question&lt;/p&gt;</description></item></channel></rss>