Steps Involved:
$site=Get-SPsite "http://serverName:11111/sites/Vijai/"$web=$site.OpenWeb()## Get all the SPWeb properties$properties=$web.Properties## $dictionaryEntry - Defines a dictionary key/value pair that can be set or retrieved.foreach($dictionaryEntry in $properties){ write-host -f Green "Key: " $dictionaryEntry.Key "--- Value: " $dictionaryEntry.Value}
$site=Get-SPsite "http://serverName:11111/sites/Vijai/"
$web=$site.OpenWeb()
## Get all the SPWeb properties
$properties=$web.Properties
## $dictionaryEntry - Defines a dictionary key/value pair that can be set or retrieved.
foreach($dictionaryEntry in $properties)
{
write-host -f Green "Key: " $dictionaryEntry.Key "--- Value: " $dictionaryEntry.Value
}
<FilePath>\GetProperties.ps1 Where <FilePath> is the location where the GetProperties.ps1 is available
For Example: D:\VijaiPOC\GetProperties.ps1
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: