Audience : 15 Members
Friday, September 27, 2013
Friday, September 20, 2013
Format-Table in a powerful command that you can use to format your output. output can be a console or a file out. Format-Table working with object or a object collection.
For an example If you have a object collection from your code you can out put as a table.
-AutoSize will be use to format columns with depending of screen size. But if you are working with long width tables you better use Out-String -Width 4000 with output pipe. (4000 is a character count in horizontal, You can mention any suitable value )
You can use Format-Table with a single object as well.
Ex:- With all columns
Ex:- With mentioned columns
You can also create object collection, add objects and format it as a table.
Friday, September 13, 2013
This is a simple script for day today works :)
This script will find a feature that contains name like “OpenIn” and activate for entire site collections.
Enable Feature for All Site Collections
This script will find a feature that contains name like “OpenIn” and deactivate for entire site collections.
Disable Feature for All Site Collections