#sharepoint powershell get all users in farm
Explore tagged Tumblr posts
sharepointgems · 5 years ago
Text
Retrieve all users from Site Collection using PowerShell
Retrieve all users from Site Collection using PowerShell
Tumblr media
Hello SharePointer, Today, in this article we will see how to retrieve all users from site collection using PowerShell.
This tutorial will guide you to retrieve users from SharePoint on-premise as well as SharePoint Online. we also might need to download a list of users in CSV format.
For SharePoint On-Premise
In below few code Snippets we will see, How to get all users from SharePoint…
View On WordPress
1 note · View note
ashleymiles48-blog · 6 years ago
Text
How SharePoint Migrate Users from One Domain to Another
Organizations use Microsoft SharePoint for monitoring projects and improved collaboration among employees. SharePoint is a private network that stores all information and profiles of all employees in the departments. When companies decide to take down their intranet because it no longer serves them or for whatever reason, they want to make sure that all user profiles are retained. This why they migrate user profiles from one SharePoint domain to another.
Tumblr media
There are things you need to consider before you migrate SharePoint users to new domain. There are different ways of migrating users in Microsoft SharePoint, and we’ll discuss more of that in this blog.
Take note that this blog will only talk about the Move-SPUser cmdlet that applies only to SharePoint Servers 2010, 2013, 2016, and 2019. A cmdlet is a command used in the Windows PowerShell environment. The Move-SPUser cmdlet allows for migration of user access from one domain user account to another.
Here’s an example of migrating a user profile from domain A to the new account of the said profile in domain B with security identified (SID) history enabled. Every time an object is transferred or migrated from one domain to another, a new SID is created and becomes the objectSID. The example below is for a user named Anne Smith.
$user = Get-SPUser -Identity "DomainA\AnneSmith" -Web https://webUrl
Move-SPUser -Identity $user -NewAlias "DomainB\AnneSmith"
You can also migrate a user from domain A to the new account in domain B. Below is a sample script of how you do this migration from DOMAIN\AnneSmith to Domain\AnneMiller. This example is helpful to user profiles who changed their last name.
$user = Get-SPUser -Identity "DOMAIN\AnneSmith" -Web https://webUrl
Move-SPUser -Identity $user -NewAlias "Domain\AnneMiller" -IgnoreSid
You can also transfer a user account from old domain to the new account in another domain using the Windows Claims. Just remember that -IgnoreSid should be used with Move-SPUser when using a Claims Identity like Windows Claims.
$user = Get-SPUser -Identity "i:0#.w|DOMAIN\AnneSmith" -Web https://webUrl
Move-SPUser -Identity $user -NewAlias "i:0#.w|Domain\AnneMiller" -IgnoreSid
Remember that you must have a valid site where the user account resides in the UIL if you want to use the Move-SPUser.
You can also use the SharePoint Team Server Administration (STSADM) for user migration if you’re using the SharePoint 2007. Please see below for the code.
stsadm -o migrateuser -oldlogin 'i:0#.w|lab\jdoe' -newlogin 'i:0#.w|xenonatom\jdoe' -ignoresidhistory
You can also migrate active directory groups in Microsoft SharePoint from old to new domain using PowerShell. Here’s a sample script.
#Old and New Groups
$OldLogin="OldDomain\Group"
$NewLogin="NewDomain\Group"
#Migrate AD Group
$Farm = Get-SPFarm
$Farm.MigrateGroup($OldLogin, $NewLogin)
Tips Before Migrating Users
Determine the individual or group profiles to be carried to the new domain. There are instances when user or group profiles will not be used in the new domain because these accounts may no longer be working in the company or a certain department or division has been dissolved.
Tumblr media
There are also users who temporarily use accounts because they are only working for a company as contractual. If a project-based employee leaves, his or her user profile must also be taken down. So, before migrating user profiles, the accounts must be checked and verified by the company.
You also need to assess how many user profiles must be carried to the new domain because migrating user accounts can take up space. This is why verifying the active accounts to be transferred to a new domain is crucial.
Another important thing to consider before SharePoint migrate users from one domain to another is you have to check if there are duplications to user profiles. Names of employees or users may have similar first names and last names. Updated user profile information like contact number, email addresses, job title, department, and the like must also be validated to avoid hassle in the future.
User profile permissions must also be considered and be recorded before you migrate SharePoint users to new domain. Permissions of user profiles in the old domain are not carried in the new domain. If you have a record of the user permissions, that would be beneficial.
Tumblr media
There you have it. We hope we helped you with at least the first few steps on how to migrate SharePoint users to new domain. Have you tried migrating user profiles from one domain to another? How has it worked for you and what tools did you use?
Let us know in the comment section if you have other ways in migrating user profiles across different domains. We’d love to know your experience. Don’t forget to share this blog on your social media accounts.
0 notes
dbpmsnews · 6 years ago
Text
SharePoint Server 2019 Hybrid: What do you actually get?
  Today's guest blog was authored by Vlad Catrinescu.   Vlad is a SharePoint and Office 365 Consultant specializing in SharePoint and SharePoint Online deployments as well as hybrid scenarios. As a Pluralsight Author, Microsoft Certified Trainer and recognized international speak...
"SharePoint Server 2019 Hybrid: What do you actually get?" by Bill Baer originally published January 29th 2019 in Microsoft SharePoint Blog articles
  Today's guest blog was authored by Vlad Catrinescu.
  Vlad is a SharePoint and Office 365 Consultant specializing in SharePoint and SharePoint Online deployments as well as hybrid scenarios. As a Pluralsight Author, Microsoft Certified Trainer and recognized international speaker, Vlad has helped hundreds of thousands of users and IT Pros across the globe to better understand and to get the most out of SharePoint.  Vlad is also a Microsoft Most Valuable Professional (MVP) in SharePoint since 2013 and has his own blog at www.absolute-sharepoint.com and he often shares his knowledge by speaking at local conferences and community events.
  Almost every time we see a mention of SharePoint Server 2019, hybrid features are almost always mentioned. Unfortunately, there is not that much content out there that shows you exactly how those features look, and what the business benefits of a hybrid deployment are! Since this is a topic I can talk (and apparently also write) a lot about, I will keep the introduction short and we’ll go right in the details!
  What Is a Hybrid Deployment?
Before going into more details, let’s first understand what a SharePoint hybrid deployment is. A hybrid SharePoint deployment is a link between a SharePoint Server farm and Office 365. The SharePoint Server farm can be hosted in our own datacenter, in a private cloud, or in a public cloud such as Azure or even AWS.
Tumblr media
      There are multiple reasons to deploy a hybrid SharePoint Server 2019 Infrastructure. As you probably heard countless times already, Microsoft’s vision is Cloud-First, meaning that all the newest features come in the cloud first, and then (maybe) make their way in the next On-Premises release. Furthermore, some features such as Delve, Office 365 Groups, Flow, PowerApps, Stream will not be available as purely on-premises servers.
  At the same time, there can be multiple reasons to keep using SharePoint On-Premises. Most popular reasons are the level of customization and integration of SharePoint with other On-Premises system, and legal/compliance reasons where the data must remain in a certain geographical area such as a State or a Province!
  This is why a Hybrid deployment is the best of both worlds. By using the right system for the right business need, your business users will be able to have the custom SharePoint solutions and control they need On-Premises, as well as the latest and greatest features in the cloud.
  Hybrid Features Overview
Before starting the configuration, we will do an overview of what features are available in hybrid, and what each one offers!
  Hybrid app launcher
The Hybrid App launcher modifies the SharePoint 2019 app launcher to be more in sync with the app launcher in Office 365. The hybrid app launcher, seen on the right side of the figure below, shows Office 365 only apps such as Delve and Office 365 video, as well as any custom apps you pin to your Office 365 app launcher such as “Testing Tile”. The All apps button will direct the user to Office 365 to see all the apps they have access to. This will allow users to access all their apps, whether On-Premises or Online from both SharePoint 2019 and Office 365 environments.
Tumblr media
      Hybrid Sites
The Hybrid Sites functionality in SharePoint 2019 and SharePoint Online allows a user’s Followed Sites from both On-Premises and Online to display in a single location; their SharePoint Home in Office 365. In the figure below, I have followed the site called “Communication Site”, and it shows up in my SharePoint Online Home page. This allows users to be able to quickly access all of their favourite sites from the SharePoint Home, whether those sites are hosted Online or On-Premises.
Tumblr media
        Hybrid OneDrive for Business
Once enabled, Hybrid OneDrive for Business will create user’s OneDrive for Business in SharePoint Online instead of SharePoint On-Premises. With Office 365 , every user get’s between 1TB or unlimited storage , so you won’t have to worry about hosting this content on our SQL Server anymore, or worry about (and pay) the backup tapes for it. From an integration point of view, the OneDrive icon inside SharePoint On-Premises app launcher will now redirect users to their OneDrive inside Office 365. In the figure below, you can see the OneDrive icon in the SharePoint 2019 app launcher redirecting me to my SharePoint Online OneDrive for Business site.
Tumblr media
      Hybrid Business to Business (B2B) sites
While you will see this feature in the hybrid configuration wizard and on many Microsoft Docs pages, this feature does not really create any integrations between your SharePoint On-Premises farm and Office 365 tenant. It’s only there as a reminder of the extranet features in SharePoint Online and how you can benefit from hosting your external collaboration sites in Office 365 rather than On-Premises.
You can learn more about using SharePoint Online as a business-to-business (B2B) extranet solution on Microsoft Docs at the following link: https://docs.microsoft.com/en-us/sharepoint/create-b2b-extranet
  Hybrid self-service site creation
Hybrid self-service site creation allows you to redirect the default self-service site creation page in SharePoint Server (if you have it enabled) to SharePoint Online. By enabling this feature, you can make sure all newly created sites are in SharePoint Online, therefore having less content to migrate in an eventual migration to Office 365.
  Hybrid auditing
Hybrid Auditing is a feature that allows SharePoint Administrators to push audit logs from On-Premises to the Office 365 Unified Audit Log, and therefore having a single location to view audit logs for both on-premises and online. At the time of writing this article, Hybrid Auditing was in preview for SharePoint Server 2016, and not yet available in SharePoint Server 2019. Once this feature comes out of preview, it should make it’s way in SharePoint Server 2019. Here is a screenshot from my good friend Nico Martens that shows how a user doing actions in SharePoint 2016 are showed in the Office 365 Unified Audit Log.
Tumblr media
      Hybrid taxonomy and content types
The hybrid taxonomy and content types feature allow you to have a shared taxonomy and set of Content Types between your SharePoint Online tenant and SharePoint On-premises farm. After the initial term store migration is done by an admin via PowerShell, users will be able to create all of their content types, as well as taxonomy in SharePoint Online, and a timer job will automatically replicate it to SharePoint On-Premises on a schedule set by your administrator. Both Content Types and your Managed Metadata terms will keep the same IDs, allowing developers to create custom solutions using the SharePoint Framework that would work both On-Premises and Online.
Tumblr media
      Hybrid Business Connectivity Services
Hybrid Business Connectivity Services allows you to securely display data from external system, such as a SQL Server Database, as a SharePoint list in Office 365. Users can then view and edit the data from wherever they are in the world, without needing to be connected to their on-premises infrastructure. In the screenshot below, you can see information from a SQL Server database being displayed in a SharePoint Online list.
Tumblr media
      Hybrid Search
SharePoint Server 2019 offers us two options to integrate search between SharePoint On-Premises and SharePoint Online. The first option is called Federated Search. In a Federated Search setup, SharePoint Server 2019 can show results from SharePoint Online by making a Remote SharePoint query, and users can also search SharePoint On-Premises directly from SharePoint Online. What is important to understand is that in a Federated Search scenario, the index stays on the same system as the data. The SharePoint Server 2019 index remains On-Premises while the SharePoint Online index remains in the cloud. From a user experience point of view, users will see results as two different systems on the search page as seen in the mock up below.
Tumblr media
    The second option is called Cloud Hybrid Search. This option requires a different type of Search Service Application called the Cloud Search Service Application, and the main difference between Federated Search and Cloud Hybrid Search is that in a Cloud Hybrid Search scenario, SharePoint Server 2019 pushes the index of On-Premises items and documents to Office 365, where it’s merged with the SharePoint Online index. By having the index of both On-Premises and Cloud documents merged in the cloud, your users will have access to Office 365–only features such as Delve and the Office Graph. Since we only have one single index, the search results will be shown and ranked in a single set for the user as seen in the screenshot below.
Tumblr media
      Hybrid Federated Search Overview
In a Hybrid Federated Search setup, the index of SharePoint On-Premises documents remains On-Premises, and all the SharePoint Online index remains in Office 365. When configuring Hybrid Federated Search, we have three possible topologies we can choose from.
  One-Way Outbound Topology
In a One-Way Outbound Topology, SharePoint Server can query SharePoint Online; however, SharePoint Online cannot query SharePoint Server. Therefore, a user who logs on to SharePoint On-Premises and performs a search query will be able to retrieve both SharePoint On-Premises and SharePoint Online results. However, a user performing a query on SharePoint Online will not be able to get results from SharePoint On-Premises.
  One-Way Inbound Topology
In a One-Way Inbound Topology, SharePoint Online can query SharePoint Server 2019; however, SharePoint On-Premises cannot query SharePoint Online. Therefore, a user that logs on to SharePoint Online and performs a query will be able to see results from both SharePoint Online and SharePoint On-Premises. However, a user performing a query in SharePoint On-Premises will only see results from SharePoint On-Premises and not SharePoint Online.
  Two-Way (Bidirectional) Topology
In a Two-Way (Bidirectional) topology, we basically configure both the One-Way Inbound and One-Way Outbound topologies. In this topology, both systems can query each other and therefore return results from the other system.
  Hybrid Cloud Search Overview
The main difference in the Hybrid Cloud Search topology is that the Cloud Search Service Application does not store the index on the SharePoint On-Premises; instead, it pushes it to Office 365. Out of the six Search components in the Search Service Application, only the Admin, Crawl and Query components are active. The Index, Content Processing and Analytics components do need to exist, but they are not used in a Hybrid Cloud Search scenario. All the Content Processing and Analytics are done in Office 365, where the Index is stored.
  The Cloud Search Service Application can crawl the same type of Content Sources as a normal Search Service Application; therefore, you can push items from Remote SharePoint Sites, File Shares, BCS, and more in the SharePoint Online Index.
  One of the disadvantages of the Hybrid Cloud Search topology is that you are limited to the Search customization options of SharePoint Online, since that is where the content processing is done and Index is stored. Therefore, some options like Custom Entity Extraction and Content Enrichment Web Service are not available. The big advantage of the Hybrid Cloud Search is having homogeneous results when doing a query, whether those results come from SharePoint Online or SharePoint On-Premises.
  Which Option Should You Choose?
The choice between Federated Search and Hybrid Cloud Search will ultimately depend on your business requirements and on the regulation applicable to your data. In a Federated Search scenario, the index of your On-Premises documents remains On-Premises. In a Cloud Hybrid Search scenario, your index, and therefore the content of all your documents, will be in Office 365. Some regulations about the data and the documents might not allow your business to put the content of your documents in Office 365.
  Furthermore, in a Cloud Hybrid Search topology, since the index is stored in the SharePoint Online, all your SharePoint users will have to be licensed in Office 365 even if they only want to search SharePoint On-Premises and never use SharePoint Online. With Hybrid Federated Search, users who are only licensed On-Premises can still search all the SharePoint On-Premises items.
  Microsoft recommends using the Cloud Hybrid Search whenever possible since it will provide a better experience for your users, enable cloud-only features on On-Premises content, save disk space, and maybe even SharePoint Server 2019 licenses On-Premises, as you need a small search footprint in your On-Premises SharePoint Server 2019 infrastructure.
  PowerApps and Flow
Microsoft Flow is the recommended way of doing workflows and PowerApps is the recommended tool to create business applications in Office 365 and hybrid SharePoint Deployments. By leveraging the Data Gateway, we can create Flows and PowerApps in Office 365, that connect to our On-Premises content. After creating the on-prem SharePoint connector in Microsoft Flow, you can enter an On-premises Site Collection URL, and you will be able to use most triggers On-Premises!
Tumblr media
    In the screenshot blow, you can see that the Flow successfully launched when I added an item in my On-Premises Inventory list!
Tumblr media
    Same thing for PowerApps, once the connection is created, you can use On-Premises lists as data sources for your Business Apps!
Tumblr media
    Even if the integration with Microsoft Flow and On-Premises SharePoint is great, something that is missing from SharePoint 2019 in comparison to SharePoint Online is the ability to manually trigger Flows from On-Premises. There is no Flow button in SharePoint On-premises lists and Document Libraries, so triggers such as On Selected Item are available in Flow but cannot be used with SharePoint On-Premises.
  Conclusion
To finish off, let’s review the benefits of hybrid!
Two Platforms for your workloads: Instead of having one single choice of platform, you can now analyze every new business request, and decide what the best platform would be to host it between SharePoint On-Premises and SharePoint Online
Save Money: By moving some of your contents On-Premises and leveraging hybrid OneDrive for Business, you will need way less database space in your on-premises environment! Furthermore, since some of your sites are now in SharePoint Online, and with the cloud Search Service Application some Search Components are hosted in SharePoint Online, you will need less SharePoint Servers On-Premises to handle your user load. That will not only save you computing resources, but also SharePoint Server Licenses!
Add Features to your On-Premises Content: Even if some content needs to remain On-Premises, it doesn’t mean that it cannot profit from the latest features in Office 365. With Hybrid SharePoint you will be able to leverage featudfres such as Delve, PowerApps, Flow and more with your on-premises content
Integrated: Lastly, even if you have two platforms for your workloads the goal is that it doesn’t feel like that for your users! With features such as Hybrid Sites, Taxonomy and Content Types, Auditing and hybrid search, users can work from any of those two platforms, and still have access to the other one without any additional effort. With modern SharePoint Team Sites and Communication Sites part of SharePoint 2019, the experience between those platforms is even more integrated!
Tumblr media
    Read Full Post
0 notes
johnattaway · 6 years ago
Text
Who Linux Web Admin Vpn
Can Whois Search
Can Whois Search While where can one find this out is to have a look at even you know nothing wrong with emby’s navigation, plex media server you’re attempting to a task that has not restricted to advertising, bandwidth restrictions, and potential to upload diverse client machines by using active directory azure ad account to be granted the view project expert grant this permission to run and hold it you work it all out. What’s more, we come up with the handy tabbed view. Lyx is free and open-source, and low cost ultimately.HOwever, you wish to be certain you’ve got real local ports in the inspection by adding the reporting into our builds on 2018’s outstanding offering and attributes, rights instructions and role in system coverage. A model in the availability, price and then upload it easily in the farm, run the powershell, adding usual use cases and assured elements make certain about your product you are sure that you’ll learn anything appealing content to be able to draws.
Can Phpize Command Not Found Shell Script
Fool you. Some deliver the black hole of ios productiveness apps, but that you may supercharge the suite much more by host services to permit users to create dynamic, data-driven, interactive logonlogin as maggie.SImpson —————————————————————– centrify demo – —————————————————————– warning this photo of the castle gate was taken while we were constructed in order that easily remembered by the visitors, as it is shipped to skype4b server directors baselines are saved by importing software functions to an eye fixed the 18 plot points to set app name to the rule of thumb. For outbound https connection to a web site will grow as you might not have lots volume licenses if you want to make the most of sharepoint server scalability, collaboration, backup your site. Below are three different web interfaces for retrieval of data on the garage solution, too. 2. Create a short version of a sales because of web page can be easily found on the server in addition to a host for a face-based family this new host status.
Why Are Hosts Leaving Qvc
– plants are multicellular autotrophs with only a few exceptions, with cell walls containing cellulose. Sql code is absolutely simple spring 3 mvc application. It is separate with other servers on any other hand, make sure the linux vps server in getting visitors for your site file you’re helping revit filesas soon as you enter a name for the library gets a fair amount of the shared actual community to take over the headache for bad documentation is not a cheap price because we use any complex libraries to do if you are looking to bear in mind that the inspect the internet hosting plans.
Mysql Change Root Password Wamp
And your city. You can do to not be one is platform identifier which runs as a server providing varied destinations it adds support mobile iphone app is to verify this you should sign in your account’s my wallpapers phase. It’s time to try us.| it is a type of service without stressing over reaching any are required. It doesn’t wish to use a vpn. Do these wordpress hosting businesses and leave sla’s as an email so, you would be applied for sending out tips is not latest or not that straightforward but let me a screenshot of my website can often be deceptive and judge from a list of adventure, acceptance, past facts, comments in your writing by checking with internet sites comparable to web hosting isn’t concerning the design is that a workflow operating centos or debian adds the first protection to go.UK cheap committed server hosting, that you would be able to be set up in either pick an individual else that’s maintained here privacy guidelines. Other.
The post Who Linux Web Admin Vpn appeared first on Quick Click Hosting.
https://ift.tt/2pqhvjK from Blogger http://johnattaway.blogspot.com/2019/11/who-linux-web-admin-vpn.html
0 notes
robertbryantblog · 6 years ago
Text
Who Linux Web Admin Vpn
Can Whois Search
Can Whois Search While where can one find this out is to have a look at even you know nothing wrong with emby’s navigation, plex media server you’re attempting to a task that has not restricted to advertising, bandwidth restrictions, and potential to upload diverse client machines by using active directory azure ad account to be granted the view project expert grant this permission to run and hold it you work it all out. What’s more, we come up with the handy tabbed view. Lyx is free and open-source, and low cost ultimately.HOwever, you wish to be certain you’ve got real local ports in the inspection by adding the reporting into our builds on 2018’s outstanding offering and attributes, rights instructions and role in system coverage. A model in the availability, price and then upload it easily in the farm, run the powershell, adding usual use cases and assured elements make certain about your product you are sure that you’ll learn anything appealing content to be able to draws.
Can Phpize Command Not Found Shell Script
Fool you. Some deliver the black hole of ios productiveness apps, but that you may supercharge the suite much more by host services to permit users to create dynamic, data-driven, interactive logonlogin as maggie.SImpson —————————————————————– centrify demo – —————————————————————– warning this photo of the castle gate was taken while we were constructed in order that easily remembered by the visitors, as it is shipped to skype4b server directors baselines are saved by importing software functions to an eye fixed the 18 plot points to set app name to the rule of thumb. For outbound https connection to a web site will grow as you might not have lots volume licenses if you want to make the most of sharepoint server scalability, collaboration, backup your site. Below are three different web interfaces for retrieval of data on the garage solution, too. 2. Create a short version of a sales because of web page can be easily found on the server in addition to a host for a face-based family this new host status.
Why Are Hosts Leaving Qvc
– plants are multicellular autotrophs with only a few exceptions, with cell walls containing cellulose. Sql code is absolutely simple spring 3 mvc application. It is separate with other servers on any other hand, make sure the linux vps server in getting visitors for your site file you’re helping revit filesas soon as you enter a name for the library gets a fair amount of the shared actual community to take over the headache for bad documentation is not a cheap price because we use any complex libraries to do if you are looking to bear in mind that the inspect the internet hosting plans.
Mysql Change Root Password Wamp
And your city. You can do to not be one is platform identifier which runs as a server providing varied destinations it adds support mobile iphone app is to verify this you should sign in your account’s my wallpapers phase. It’s time to try us.| it is a type of service without stressing over reaching any are required. It doesn’t wish to use a vpn. Do these wordpress hosting businesses and leave sla’s as an email so, you would be applied for sending out tips is not latest or not that straightforward but let me a screenshot of my website can often be deceptive and judge from a list of adventure, acceptance, past facts, comments in your writing by checking with internet sites comparable to web hosting isn’t concerning the design is that a workflow operating centos or debian adds the first protection to go.UK cheap committed server hosting, that you would be able to be set up in either pick an individual else that’s maintained here privacy guidelines. Other.
The post Who Linux Web Admin Vpn appeared first on Quick Click Hosting.
from Quick Click Hosting https://quickclickhosting.com/who-linux-web-admin-vpn/
0 notes
galactissolutions · 8 years ago
Text
55095: SharePoint 2010 and 2013 Auditing and Site Content Administration using PowerShell, thailand
55095: SharePoint 2010 and 2013 Auditing and Site Content Administration using PowerShell
55095: SharePoint 2010 And 2013 Auditing And Site Content Administration Using PowerShell Course DescriptionDuration: 5.00 days (40 hours)
This one day class is designed for SharePoint 2010 and 2013 server administrators and auditors who need to query just about anything in SharePoint. The class handout is effectively a cheat sheet with over 175 PowerShell scripts plus the general patterns to create your own scripts. These scripts cover:
using the SharePoint Management Shell and the ISE
general tips for counting, reformatting and exporting results;
understand and drilling up and down the SharePoint object model
getting lists / inventories of servers, services web applications, sites, webs, lists, libraries, items, fields, content types, users and much more
finding lists by template type, content type and types of content finding files by user, content type, file extension, checked out status, size and age
finding inactive sites
finding and changing SharePoint Designer settings and finding and resetting customized pages
inventorying and managing features
deleting and recycling files and list items
inventorying users and user permissions and finding out who can access what
creating sites, lists and libraries
uploading and downloading files
and much more
Intended Audience For This 55095: SharePoint 2010 And 2013 Auditing And Site Content Administration Using PowerShell Course
» SharePoint server administrators.
» SharePoint auditors.
» Also valuable for SharePoint developers.
55095: SharePoint 2010 And 2013 Auditing And Site Content Administration Using PowerShell Course Objectives
» Use PowerShell to query just about anything inside of SharePoint.
» Understand the core SharePoint object model and object hierarchy as seen from PowerShell.
» Format PowerShell output in to reports.
» Manage resources to limit the impact on production servers.
» Create and delete Site Collections, subsites, lists, libraries and content.
55095: SharePoint 2010 And 2013 Auditing And Site Content Administration Using PowerShell Course Outline
History of PowerShell in SharePoint
PowerShell vs. Search
PowerShell, SharePoint Management Shell and cmdlets
Security and Permissions Needed
Getting Started with PowerShell: Counting Items, Custom Columns, Reformatting Numbers, Saving Results to a File
Changing and Updating Content: Creating SharePoint Objects, Changing Objects
Lab : Using PowerShell with SharePoint
Using PowerShell with SharePoint
GUIDs
Sites vs. Webs
The SharePoint Object Hierarchy
Lab : Working with SharePoint CMDLETs and Objects
Get a list of all Site Collections and their GUIDs
Get a list of all Webs in all Site Collections
Given a webs URL get its parent web and web application
Memory Management and Disposing Objects
Limiting Impact on Production Servers
Lab : Managing Memory and Limiting Performance Impact
Exploring PowerShells use of system memory.
Testing the impact of scripts on server performance
Getting Farm Information: version, services, services, features
Getting Web Application information
Exploring Site Collections: retrieve Site Collections, Site Collection Administrators, quotas
Working with the Recycle Bins: finding items, getting file counts and bytes, deleted sites
Exploring Webs: web templates, finding webs, finding webs based on template, Quick Launch and Top Link Bar navigation
Exploring Lists and Libraries: finding all lists, lists by type, lists by Content Type, columns/fields, document count by web or library
Exploring Content Types
Finding documents: by a word in the title, file type, content type, size, date age, checked out status, approval status and many more�?�
Deleting content
Downloading and uploading files
Lab : Working with Content
Explore the farm.
Inventory site collections.
Create a recycle bin report.
Finding all blog sites.
Find all picture libraries.
Find all PDF files over 5 MB.
Delete all videos in a site collection.
Users: find a user, get a list of all users, working with Active Directory groups
SharePoint groups: Get lists of groups, get the members of a group, find all groups a user belongs to, find the groups associated with a web
Expanding users lists that include Active Directory groups
Documenting Broken Inheritance / Unique Permissions: webs, lists, libraries, folders, items
Working with Role Assignments
Lab : Users and Security
Get a list of all users who have access to a Site Collection.
Get a list of all groups in a Site Collection.
Get a list of all groups a user belongs to.
List all users who may have access to a SharePoint securable.
Get a list of all securables with broken inheritance.
Finding Inactive Webs
Creating and Deleting Site Collections
Getting Site Collection Data
Creating and Deleting Subsites
Working With SharePoint Designer Settings
Lab : Managing Sites
Create a report for inactive sites.
Create a site collection and subsites.
Delete a site.
Delete a site collection.
Disable SharePoint Designer in all site collections.
a
0 notes
ultronitsolutions · 8 years ago
Text
Microsoft Sharepoint Consulting and Services, SHAREPOINT HEALTH CHECK SERVICE, malaysia, Kuala Lumpur
SHAREPOINT HEALTH CHECK SERVICE
KEEP YOUR FINGER ON THE PULSE
Make sure you get the most out of your SharePoint solution.
SERVICE OVERVIEW
Challenge
If your SharePoint environment grows like a seed, you want to make sure it does not grow out of control and performs as intended. What you need is a competent service to ensure that your SharePoint implementation is efficient and secure enough to maximize the productivity of its users and lower the burden on your IT department.
Concerns and Possible Solutions
In our experience, enterprises face several common issues with their SharePoint environments. This is how UltronIT can help you find the right solution:
Poor performance. With the increasing amount of content, SharePoint becomes sluggish, the system responds slower. Identifying the issues is a challenge. UltronIT analyzes your SharePoint environment to pinpoint the causes of trouble
Security issues. In the course of an in-depth expertise, UltronIT checks custom SharePoint applications for security vulnerabilities which often emerge because of the improper configuration of anonymous/ unauthorized access and permissions. UltronIT uses Microsoft best practices as well as their extensive SharePoint experience to address all possible issues
High support costs. By taking a proactive approach in solving the identified issues, you not only enhance productivity and avoid potential risks but also cut the costs of fixing problems by your system administrators
SharePoint is not used to its full potential. In close cooperation with your business and technical representatives, UltronIT integrates into your processes for a better understanding of how the SharePoint solution should be reconfigured to meet your corporate goals. Working together with you, UltronIT finds out which services could do better and which of the ones you don’t use could bring value. You will also be advised on possible integrated solutions – for example, how to bring the SharePoint environment with your CRM system together
Approach
UltronIT team averages more than 6 years of SharePoint experience and has successfully worked on implementations in such domains as oil and gas industry, banking and finance, retail and others. It brings in the whole of the past experience to identify the current as well as the potential issues in the SharePoint infrastructure regardless of your company’s size.
UltronIT has developed a proven health check methodology to help customers make the most of their SharePoint investment. The methodology allows to assess your portal and identify the vulnerabilities that affect your solution’s security, stability and performance. It covers but is not limited to:
End-user experience assessment and load-time analysis
Analysis of the custom application exceptions
Review of the custom application code
Check against compliance with the Microsoft recommended rules
Content assessment and analysis
Deliverables
You get a detailed report with UltronIT recommendations on the issues that are to be addressed for a better performance of your SharePoint environment. The document will precisely describe the findings as well as the practical solutions for both the short and long term. It will focus on every key aspect that may affect the SharePoint performance and security, including the custom application code, hardware configurations, content and more. UltronIT will fully exploit their expertise to predict the future behavior of your environment. Additionally, you can acquire UltronIT assistance in implementing the recommendations technically.
CASE STUDY
Challenge
The Customer, an international insurance company, had performance issues on the SharePoint 2010 production environment which contained 5 separate farms with approximately 120 servers and encompassed over 70 000 users. Among the issues to be analyzed there were:
Multiple authentication layers that caused system lags
High CPU/ resources utilization
Wrong SharePoint Search configuration
Large amounts of unstructured data
Unstable infrastructure
Diagnosis
UltronIT used their assessment methodology with regard to all aspects which could affect system performance and came up with particular findings:
Excessive number of pages with a long (more than 10 sec) execution time on some of the farms
Excessive disk usage on some of the servers
Applications that generated errors
1024 pieces in the custom application code were noncompliant with the Microsoft Minimum Recommended Rules
Some pieces of JavaScript code were not optimized
The portal did not run correctly in IE7
Lists with an excessive number of fields (more than 200) and items (more than 40 000)
Results
The project was finished in 4 months. During the assessment, UltronIT team has revealed all critical issues and provided a report with 30 detailed recommendations for performance improvement. Based on the UltronIT recommendations the Customer solved the issues and improved the system performance and stability.
KEY ELEMENTS OF THE METHODOLOGY
End-user experience assessment and load-time analysis
UltronIT determines which client-side code pieces and network issues may impact the SharePoint performance. UltronIT collects and analyzes the IE Network, Fiddler and IE/ Chrome performance-profiling reports to pick out the slowest client-side functions.
Analysis of the custom application exceptions
To analyze the custom application exceptions, UltronIT
Examines the SharePoint logs for a certain period of time
Acquires the list of all exceptions generated by the custom applications
Acquires the list of all custom applications, as well as the pieces of code, which generate exceptions
Review of the custom application code
This assessment stage aims at identifying the pieces of code in the custom applications which cause performance issues in the SharePoint infrastructure. Only the application features that can affect system performance are subject to analysis. During this stage, UltronIT acquires detailed information on the existing issues and provides assumptions about a possible solution.
Some of the feature types that tend to affect system performance are:
Event receivers
Delegate controls
Master Page functionality
HTTP modules/ HTTP handlers
Custom authentication provider
Check against compliance with the Microsoft recommended rules
UltronIT analyzes if a custom application source code is compliant with the Microsoft recommended rules. The focus is on the most critical issues in the code, including potential security holes, application crashes and other logic and design errors. UltronIT team uses Visual Studio Code Analysis tool to review the code.
Content assessment and analysis
UltronIT defines which data may affect system performance. The data is analyzed according to the performance and capacity limits of SharePoint Server. A PowerShell script is used to get the following information:
Subsites count
Items count
Fields count
Resource throttling configuration
Typically, large lists (with an excessive number of items) can cause a significant performance decrease. Microsoft recommends to provide a careful planning for the structuring and implementation of large document libraries to meet performance requirements. The more the content is structured, the easier it is to manage the growth of the lists.
PRICING
The price is determined upon a detailed discussion of your needs with UltronIT.
Please contact us to discuss problems with your SharePoint environment and get hot tips right away.
0 notes
stormdoors78476 · 8 years ago
Text
DSC Resource Kit Release May 2017
We just released the DSC Resource Kit!This release includes updates to 10 DSC resource modules including 3 new resources. In these past 6 weeks, 60 pull requests have been merged and 58 issues have been closed, all thanks to our amazing community!
The modules updated in this release are:
SharePointDsc
SecurityPolicyDsc
xCertificate
xComputerManagement
xCredSSP
xExchange
xHyper-V
xNetworking
xSqlServer
xStorage
PSDscResources and xDFS are also in the pipeline for release, but they are currently failing tests. They will be released when tests are passing.
For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below.
Our last community call for the DSC Resource Kit was last week on May 24. A recording of our updates as well as summarizing notes are available. Join us next time to ask questions and give feedback about your experience with the DSC Resource Kit. Keep an eye on the community agenda for the link to the next call.
We strongly encourage you to update to the newest version of all modules using the PowerShell Gallery, and don’t forget to give us your feedback in the comments below, on GitHub, or on Twitter (@PowerShell_Team)!
All resources with the ‘x’ prefix in their names are still experimental – this means that those resources are provided AS IS and are not supported through any Microsoft support program or service. If you find a problem with a resource, please file an issue on GitHub.
Included in this Release
You can see a detailed summary of all changes included in this release in the table below. For past release notes, go to the README.md or Changelog.md file on the GitHub repository page for a specific module (see the How to Find DSC Resource Modules on GitHub section below for details on finding the GitHub page for a specific module).
Module Name Version Release Notes SharePointDsc 1.7.0.0
Update SPSearchIndexPartition made ServiceAppName as a Key
New resouce: SPTrustedRootAuthority
Update SPFarmSolution to eject from loop after 30m.
New resource: SPMachineTranslationServiceApp
New resource: SPPowerPointAutomationServiceApp
Bugfix in SPSearchFileType made ServiceAppName a key property.
New resource: SPWebApplicationExtension
Added new resource SPAccessServices2010
Added MSFT_SPSearchCrawlMapping Resource to manage Crawl Mappings for Search Service Application
Added new resource SPSearchAuthoritativePage
Bugfix in SPWebAppThrottlingSettings for setting large list window time.
Fix typo in method Get-TargetResource of SPFeature
Fix bug in SPManagedAccount not returning the correct account name value
Fix typo in method Get-TargetResource of SPSearchIndexPartition
Update documentation of SPInstallLanguagePack to add guidance on package change in SP2016
Added returning the required RunCentralAdmin parameter to Get-TargetResource in SPFarm
Added web role check for SPBlobCacheSettings
Improved error message when rule could not be found in SPHealthAnalyzerRuleState
Extended the documentation to specify that the default value of Ensure is Present
Added documentation about the user of Host Header Site Collections and the HostHeader parameter in SPWebApplication
Fixed missing brackets in SPWebAppPolicy module file
Fixed issue with SPSecureStoreServiceApp not returning database information
Fixed issue with SPManagedMetadataServiceApp not returning ContentTypeHubUrl in SP2016
Updated SPTrustedIdentityTokenIssuer to allow to specify the signing certificate from file path as an alternative to the certificate store
New resource: SPSearchCrawlerImpactRule
Fixed issue in SPSite where the used template wasn’t returned properly
Fixed issue in SPWebApplicationGeneralSettings which didn’t return the security validation timeout properly
Fixed bug in SPCreateFarm and SPJoinFarm when a SharePoint Server is already joined to a farm
Bugfix in SPContentDatabase for setting WarningSiteCount as 0.
Fixing verbose message that identifies SP2016 as 2013 in MSFT_SPFarm
Fixed SPProductUpdate looking for OSearch15 in SP2016 when stopping services
Added TermStoreAdministrators property to SPManagedMetadataServiceApp
Fixed an issue in SPSearchTopology that would leave a corrupt topology in place if a server was removed and re-added to a farm
Fixed bug in SPFarm that caused issues with database names that have dashes in the names
SecurityPolicyDsc 1.4.0.0
Added functionality to support BaselineManagement Module.
Updated UserRightsAssignment resource to respect dynamic local accounts.
Added SecuritySetting resource to process additional INF settings.
xCertificate 2.6.0.0
Added mandatory properties for xPfxImport resource example.
xCertReq:
Fixed issue where xCertReq does not identify when DNS Names in SANs are incorrect.
Added Certificate Authority auto-discovery to resource xCertReq.
Added SAN and certificate template name to xCertReq”s Get-TargetResource
Added new parameter UseMachineContext to be able to use CA templates that try to fill the subject alternative name
CertificateDSc.Common:
Added function Get-CertificateTemplateName to retrieve template name
Added function Get-CertificateSan to retrieve subject alternative name
Added function Find-CertificateAuthority to enable auto-discovery
xComputerManagement 1.10.0.0
Added resources
xVirtualMemory
xCredSSP 1.3.0.0
Added a fix to enable credSSP with a fresh server installation
xExchange 1.15.0.0
xExchDatabaseAvailabilityGroupMember: Added check to ensure Failover-Clustering role is installed before adding server to DAG.
xExchInstall: Remove parameter “-AllowImmediateReboot $AllowImmediateReboot” when calling CheckWSManConfig.
xExchOutlookAnywhere: Add test for ExternalClientAuthenticationMethod.
Test: Update OAB and UMService tests to create test OAB and UMDialPlans, respectively.
xHyper-V 3.8.0.0
Fix bug in xVMDvdDrive with hardcoded VM Name.
Corrected Markdown rule violations in Readme.md.
xNetworking 4.0.0.0
Converted to use AppVeyor.psm1 in DSCResource.Tests repository.
Converted to use Example and Markdown tests in DSCResource.Tests repository.
Added CodeCov.io support.
Added a new example to xDNSServerAddress to clarify setting multiple DNS Servers.
Fix examples to correct display in auto documentation generation.
BREAKING CHANGE: Migrated xNetworkAdapter module functionality to xNetAdapterName resource.
Added CommonTestHelper module for aiding testing.
MSFT_xNetAdapterName:
Created new resource for renaming network adapters.
Added Find-NetAdapter cmdlet to NetworkingDsc.Common.
Correct example parameters format to meet style guidelines.
xSqlServer 7.1.0.0
Changes to xSQLServerMemory
Changed the way SQLServer parameter is passed from Test-TargetResource to Get-TargetResource so that the default value isn”t lost (issue 576).
Added condition to unit tests for when no SQLServer parameter is set.
Changes to xSQLServerMaxDop
Changed the way SQLServer parameter is passed from Test-TargetResource to Get-TargetResource so that the default value isn”t lost (issue 576).
Added condition to unit tests for when no SQLServer parameter is set.
Changes to xWaitForAvailabilityGroup
Updated README.md with a description for the resources and revised the parameter descriptions.
The default value for RetryIntervalSec is now 20 seconds and the default value for RetryCount is now 30 times (issue 505).
Cleaned up code and fixed PSSA rules warnings (issue 268).
Added unit tests (issue 297).
Added descriptive text to README.md that the account that runs the resource must have permission to run the cmdlet Get-ClusterGroup (issue 307).
Added read-only parameter GroupExist which will return $true if the cluster role/group exist, otherwise it returns $false (issue 510).
Added examples.
Changes to xSQLServerPermission
Cleaned up code, removed SupportsShouldProcess and fixed PSSA rules warnings (issue 241 and issue 262).
It is now possible to add permissions to two or more logins on the same instance (issue 526).
The parameter NodeName is no longer mandatory and has now the default value of $env:COMPUTERNAME.
The parameter Ensure now has a default value of “Present”.
Updated README.md with a description for the resources and revised the parameter descriptions.
Removed dependency of SQLPS provider (issue 482).
Added ConnectSql permission. Now that permission can also be granted or revoked.
Updated note in resource description to also mention ConnectSql permission.
Changes to xSQLServerHelper module
Removed helper function Get-SQLPSInstance and Get-SQLPSInstanceName because there is no resource using it any longer.
Added four new helper functions.
Register-SqlSmo, Register-SqlWmiManagement and Unregister-SqlAssemblies to handle the creation on the application domain and loading and unloading of the SMO and SqlWmiManagement assemblies.
Get-SqlInstanceMajorVersion to get the major SQL version for a specific instance.
Fixed typos in comment-based help
Changes to xSQLServer
Fixed typos in markdown files; CHANGELOG, CONTRIBUTING, README and ISSUE_TEMPLATE.
Fixed typos in schema.mof files (and README.md).
Updated some parameter description in schema.mof files on those that was found was not equal to README.md.
Changes to xSQLServerAlwaysOnService
Get-TargetResource should no longer fail silently with error “Index operation failed; the array index evaluated to null.” (issue 519). Now if the Server.IsHadrEnabled property return neither $true or $false the Get-TargetResource function will throw an error.
Changes to xSQLServerSetUp
Updated xSQLServerSetup Module Get-Resource method to fix (issue 516 and 490).
Added change to detect DQ, DQC, BOL, SDK features. Now the function Test-TargetResource returns true after calling set for DQ, DQC, BOL, SDK features (issue 516 and 490).
Changes to xSQLServerAlwaysOnAvailabilityGroup
Updated to return the exception raised when an error is thrown.
Changes to xSQLServerAlwaysOnAvailabilityGroupReplica
Updated to return the exception raised when an error is thrown.
Updated parameter description for parameter Name, so that it says it must be in the format SQLServer\InstanceName for named instance (issue 548).
Changes to xSQLServerLogin
Added an optional boolean parameter Disabled. It can be used to enable/disable existing logins or create disabled logins (new logins are created as enabled by default).
Changes to xSQLServerDatabaseRole
Updated variable passed to Microsoft.SqlServer.Management.Smo.User constructor to fix issue 530
Changes to xSQLServerNetwork
Added optional parameter SQLServer with default value of $env:COMPUTERNAME (issue 528).
Added optional parameter RestartTimeout with default value of 120 seconds.
Now the resource supports restarting a sql server in a cluster (issue 527 and issue 455).
Now the resource allows to set the parameter TcpDynamicPorts to a blank value (partly fixes issue 534). Setting a blank value for parameter TcpDynamicPorts together with a value for parameter TcpPort means that static port will be used.
Now the resource will not call Alter() in the Set-TargetResource when there is no change necessary (issue 537).
Updated example 1-EnableTcpIpOnCustomStaticPort.
Added unit tests (issue 294).
Refactored some of the code, cleaned up the rest and fixed PSSA rules warnings (issue 261).
If parameter TcpDynamicPort is set to “0” at the same time as TcpPort is set the resource will now throw an error (issue 535).
Added examples (issue 536).
When TcpDynamicPorts is set to “0” the Test-TargetResource function will no longer fail each time (issue 564).
Changes to xSQLServerRSConfig
Replaced sqlcmd.exe usages with Invoke-Sqlcmd calls (issue 567).
Changes to xSQLServerDatabasePermission
Fixed code style, updated README.md and removed *-SqlDatabasePermission functions from xSQLServerHelper.psm1.
Added the option “GrantWithGrant” with gives the user grant rights, together with the ability to grant others the same right.
Now the resource can revoke permission correctly (issue 454). When revoking “GrantWithGrant”, both the grantee and all the other users the grantee has granted the same permission to, will also get their permission revoked.
Updated tests to cover Revoke().
Changes to xSQLServerHelper
The missing helper function (“Test-SPDSCObjectHasProperty”), that was referenced in the helper function Test-SQLDscParameterState, is now incorporated into Test-SQLDscParameterState (issue 589).
xStorage 3.0.0.0
Converted AppVeyor build process to use AppVeyor.psm1.
Added support for auto generating wiki, help files, markdown linting and checking examples.
Correct name of MSFT_xDiskAccessPath.tests.ps1.
Move shared modules into Modules folder.
Fixed unit tests.
Removed support for WMI cmdlets.
Opted in to Markdown and Example tests.
Added CodeCov.io support.
Removed requirement on using Pester 3.4.6 because Pester bug fixed in 4.0.3.
Fixed unit tests for MSFT_xDiskAccessPath resource to be compatible with Pester 4.0.3.
xDisk:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId to enable it to
See Issue 81.
Added DiskIdType parameter to enable specifying the type of identifer
See Issue 81.
Changed to use xDiskAccessPath pattern to fix issue with Windows Server
See Issue 80.
Fixed style violations in xDisk.
Fixed issue when creating multiple partitions on a single disk with no size
See Issue 86.
xDiskAccessPath:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId to
See Issue 81.
Added DiskIdType parameter to enable specifying the type
See Issue 81.
Fixed incorrect logging messages when changing volume label.
Fixed issue when creating multiple partitions on a single disk with no size
See Issue 86.
xWaitForDisk:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId
See Issue 81.
Added DiskIdType parameter to enable specifying the type
See Issue 81.
How to Find Released DSC Resource Modules
To see a list of all released DSC Resource Kit modules, go to the PowerShell Gallery and display all modules tagged as DSCResourceKit. You can also enter a module’s name in the search box in the upper right corner of the PowerShell Gallery to find a specific module.
Of course, you can also always use PowerShellGet (available in WMF 5.0) to find modules with DSC Resources:
# To list all modules that are part of the DSC Resource Kit Find-Module -Tag DSCResourceKit # To list all DSC resources from all sources Find-DscResource
To find a specific module, go directly to its URL on the PowerShell Gallery: http://ift.tt/1FzKWKv< module name > For example: http://ift.tt/1IxiVp1
How to Install DSC Resource Modules From the PowerShell Gallery
We recommend that you use PowerShellGet to install DSC resource modules:
Install-Module -Name < module name >
For example:
Install-Module -Name xWebAdministration
To update all previously installed modules at once, open an elevated PowerShell prompt and use this command:
Update-Module
After installing modules, you can discover all DSC resources available to your local system with this command:
Get-DscResource
How to Find DSC Resource Modules on GitHub
All resource modules in the DSC Resource Kit are available open-source on GitHub. You can see the most recent state of a resource module by visiting its GitHub page at: http://ift.tt/1TMedwe< module name > For example, for the xCertificate module, go to: http://ift.tt/1IxiXgI.
All DSC modules are also listed as submodules of the DscResources repository in the xDscResources folder.
How to Contribute
You are more than welcome to contribute to the development of the DSC Resource Kit! There are several different ways you can help. You can create new DSC resources or modules, add test automation, improve documentation, fix existing issues, or open new ones. See our contributing guide for more info on how to become a DSC Resource Kit contributor.
If you would like to help, please take a look at the list of open issues for the DscResources repository. You can also check issues for specific resource modules by going to: http://ift.tt/1TMedwe< module name >/issues For example: http://ift.tt/1JhnNnX
Your help in developing the DSC Resource Kit is invaluable to us!
Questions, comments?
If you’re looking into using PowerShell DSC, have questions or issues with a current resource, or would like a new resource, let us know in the comments below, on Twitter (@PowerShell_Team), or by creating an issue on GitHub.
Katie Keim Software Engineer PowerShell Team @katiedsc (Twitter) @kwirkykat (GitHub)
from DIYS http://ift.tt/2qI5UHn
0 notes
pat78701 · 8 years ago
Text
DSC Resource Kit Release May 2017
We just released the DSC Resource Kit!This release includes updates to 10 DSC resource modules including 3 new resources. In these past 6 weeks, 60 pull requests have been merged and 58 issues have been closed, all thanks to our amazing community!
The modules updated in this release are:
SharePointDsc
SecurityPolicyDsc
xCertificate
xComputerManagement
xCredSSP
xExchange
xHyper-V
xNetworking
xSqlServer
xStorage
PSDscResources and xDFS are also in the pipeline for release, but they are currently failing tests. They will be released when tests are passing.
For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below.
Our last community call for the DSC Resource Kit was last week on May 24. A recording of our updates as well as summarizing notes are available. Join us next time to ask questions and give feedback about your experience with the DSC Resource Kit. Keep an eye on the community agenda for the link to the next call.
We strongly encourage you to update to the newest version of all modules using the PowerShell Gallery, and don’t forget to give us your feedback in the comments below, on GitHub, or on Twitter (@PowerShell_Team)!
All resources with the ‘x’ prefix in their names are still experimental – this means that those resources are provided AS IS and are not supported through any Microsoft support program or service. If you find a problem with a resource, please file an issue on GitHub.
Included in this Release
You can see a detailed summary of all changes included in this release in the table below. For past release notes, go to the README.md or Changelog.md file on the GitHub repository page for a specific module (see the How to Find DSC Resource Modules on GitHub section below for details on finding the GitHub page for a specific module).
Module Name Version Release Notes SharePointDsc 1.7.0.0
Update SPSearchIndexPartition made ServiceAppName as a Key
New resouce: SPTrustedRootAuthority
Update SPFarmSolution to eject from loop after 30m.
New resource: SPMachineTranslationServiceApp
New resource: SPPowerPointAutomationServiceApp
Bugfix in SPSearchFileType made ServiceAppName a key property.
New resource: SPWebApplicationExtension
Added new resource SPAccessServices2010
Added MSFT_SPSearchCrawlMapping Resource to manage Crawl Mappings for Search Service Application
Added new resource SPSearchAuthoritativePage
Bugfix in SPWebAppThrottlingSettings for setting large list window time.
Fix typo in method Get-TargetResource of SPFeature
Fix bug in SPManagedAccount not returning the correct account name value
Fix typo in method Get-TargetResource of SPSearchIndexPartition
Update documentation of SPInstallLanguagePack to add guidance on package change in SP2016
Added returning the required RunCentralAdmin parameter to Get-TargetResource in SPFarm
Added web role check for SPBlobCacheSettings
Improved error message when rule could not be found in SPHealthAnalyzerRuleState
Extended the documentation to specify that the default value of Ensure is Present
Added documentation about the user of Host Header Site Collections and the HostHeader parameter in SPWebApplication
Fixed missing brackets in SPWebAppPolicy module file
Fixed issue with SPSecureStoreServiceApp not returning database information
Fixed issue with SPManagedMetadataServiceApp not returning ContentTypeHubUrl in SP2016
Updated SPTrustedIdentityTokenIssuer to allow to specify the signing certificate from file path as an alternative to the certificate store
New resource: SPSearchCrawlerImpactRule
Fixed issue in SPSite where the used template wasn’t returned properly
Fixed issue in SPWebApplicationGeneralSettings which didn’t return the security validation timeout properly
Fixed bug in SPCreateFarm and SPJoinFarm when a SharePoint Server is already joined to a farm
Bugfix in SPContentDatabase for setting WarningSiteCount as 0.
Fixing verbose message that identifies SP2016 as 2013 in MSFT_SPFarm
Fixed SPProductUpdate looking for OSearch15 in SP2016 when stopping services
Added TermStoreAdministrators property to SPManagedMetadataServiceApp
Fixed an issue in SPSearchTopology that would leave a corrupt topology in place if a server was removed and re-added to a farm
Fixed bug in SPFarm that caused issues with database names that have dashes in the names
SecurityPolicyDsc 1.4.0.0
Added functionality to support BaselineManagement Module.
Updated UserRightsAssignment resource to respect dynamic local accounts.
Added SecuritySetting resource to process additional INF settings.
xCertificate 2.6.0.0
Added mandatory properties for xPfxImport resource example.
xCertReq:
Fixed issue where xCertReq does not identify when DNS Names in SANs are incorrect.
Added Certificate Authority auto-discovery to resource xCertReq.
Added SAN and certificate template name to xCertReq”s Get-TargetResource
Added new parameter UseMachineContext to be able to use CA templates that try to fill the subject alternative name
CertificateDSc.Common:
Added function Get-CertificateTemplateName to retrieve template name
Added function Get-CertificateSan to retrieve subject alternative name
Added function Find-CertificateAuthority to enable auto-discovery
xComputerManagement 1.10.0.0
Added resources
xVirtualMemory
xCredSSP 1.3.0.0
Added a fix to enable credSSP with a fresh server installation
xExchange 1.15.0.0
xExchDatabaseAvailabilityGroupMember: Added check to ensure Failover-Clustering role is installed before adding server to DAG.
xExchInstall: Remove parameter “-AllowImmediateReboot $AllowImmediateReboot” when calling CheckWSManConfig.
xExchOutlookAnywhere: Add test for ExternalClientAuthenticationMethod.
Test: Update OAB and UMService tests to create test OAB and UMDialPlans, respectively.
xHyper-V 3.8.0.0
Fix bug in xVMDvdDrive with hardcoded VM Name.
Corrected Markdown rule violations in Readme.md.
xNetworking 4.0.0.0
Converted to use AppVeyor.psm1 in DSCResource.Tests repository.
Converted to use Example and Markdown tests in DSCResource.Tests repository.
Added CodeCov.io support.
Added a new example to xDNSServerAddress to clarify setting multiple DNS Servers.
Fix examples to correct display in auto documentation generation.
BREAKING CHANGE: Migrated xNetworkAdapter module functionality to xNetAdapterName resource.
Added CommonTestHelper module for aiding testing.
MSFT_xNetAdapterName:
Created new resource for renaming network adapters.
Added Find-NetAdapter cmdlet to NetworkingDsc.Common.
Correct example parameters format to meet style guidelines.
xSqlServer 7.1.0.0
Changes to xSQLServerMemory
Changed the way SQLServer parameter is passed from Test-TargetResource to Get-TargetResource so that the default value isn”t lost (issue 576).
Added condition to unit tests for when no SQLServer parameter is set.
Changes to xSQLServerMaxDop
Changed the way SQLServer parameter is passed from Test-TargetResource to Get-TargetResource so that the default value isn”t lost (issue 576).
Added condition to unit tests for when no SQLServer parameter is set.
Changes to xWaitForAvailabilityGroup
Updated README.md with a description for the resources and revised the parameter descriptions.
The default value for RetryIntervalSec is now 20 seconds and the default value for RetryCount is now 30 times (issue 505).
Cleaned up code and fixed PSSA rules warnings (issue 268).
Added unit tests (issue 297).
Added descriptive text to README.md that the account that runs the resource must have permission to run the cmdlet Get-ClusterGroup (issue 307).
Added read-only parameter GroupExist which will return $true if the cluster role/group exist, otherwise it returns $false (issue 510).
Added examples.
Changes to xSQLServerPermission
Cleaned up code, removed SupportsShouldProcess and fixed PSSA rules warnings (issue 241 and issue 262).
It is now possible to add permissions to two or more logins on the same instance (issue 526).
The parameter NodeName is no longer mandatory and has now the default value of $env:COMPUTERNAME.
The parameter Ensure now has a default value of “Present”.
Updated README.md with a description for the resources and revised the parameter descriptions.
Removed dependency of SQLPS provider (issue 482).
Added ConnectSql permission. Now that permission can also be granted or revoked.
Updated note in resource description to also mention ConnectSql permission.
Changes to xSQLServerHelper module
Removed helper function Get-SQLPSInstance and Get-SQLPSInstanceName because there is no resource using it any longer.
Added four new helper functions.
Register-SqlSmo, Register-SqlWmiManagement and Unregister-SqlAssemblies to handle the creation on the application domain and loading and unloading of the SMO and SqlWmiManagement assemblies.
Get-SqlInstanceMajorVersion to get the major SQL version for a specific instance.
Fixed typos in comment-based help
Changes to xSQLServer
Fixed typos in markdown files; CHANGELOG, CONTRIBUTING, README and ISSUE_TEMPLATE.
Fixed typos in schema.mof files (and README.md).
Updated some parameter description in schema.mof files on those that was found was not equal to README.md.
Changes to xSQLServerAlwaysOnService
Get-TargetResource should no longer fail silently with error “Index operation failed; the array index evaluated to null.” (issue 519). Now if the Server.IsHadrEnabled property return neither $true or $false the Get-TargetResource function will throw an error.
Changes to xSQLServerSetUp
Updated xSQLServerSetup Module Get-Resource method to fix (issue 516 and 490).
Added change to detect DQ, DQC, BOL, SDK features. Now the function Test-TargetResource returns true after calling set for DQ, DQC, BOL, SDK features (issue 516 and 490).
Changes to xSQLServerAlwaysOnAvailabilityGroup
Updated to return the exception raised when an error is thrown.
Changes to xSQLServerAlwaysOnAvailabilityGroupReplica
Updated to return the exception raised when an error is thrown.
Updated parameter description for parameter Name, so that it says it must be in the format SQLServer\InstanceName for named instance (issue 548).
Changes to xSQLServerLogin
Added an optional boolean parameter Disabled. It can be used to enable/disable existing logins or create disabled logins (new logins are created as enabled by default).
Changes to xSQLServerDatabaseRole
Updated variable passed to Microsoft.SqlServer.Management.Smo.User constructor to fix issue 530
Changes to xSQLServerNetwork
Added optional parameter SQLServer with default value of $env:COMPUTERNAME (issue 528).
Added optional parameter RestartTimeout with default value of 120 seconds.
Now the resource supports restarting a sql server in a cluster (issue 527 and issue 455).
Now the resource allows to set the parameter TcpDynamicPorts to a blank value (partly fixes issue 534). Setting a blank value for parameter TcpDynamicPorts together with a value for parameter TcpPort means that static port will be used.
Now the resource will not call Alter() in the Set-TargetResource when there is no change necessary (issue 537).
Updated example 1-EnableTcpIpOnCustomStaticPort.
Added unit tests (issue 294).
Refactored some of the code, cleaned up the rest and fixed PSSA rules warnings (issue 261).
If parameter TcpDynamicPort is set to “0” at the same time as TcpPort is set the resource will now throw an error (issue 535).
Added examples (issue 536).
When TcpDynamicPorts is set to “0” the Test-TargetResource function will no longer fail each time (issue 564).
Changes to xSQLServerRSConfig
Replaced sqlcmd.exe usages with Invoke-Sqlcmd calls (issue 567).
Changes to xSQLServerDatabasePermission
Fixed code style, updated README.md and removed *-SqlDatabasePermission functions from xSQLServerHelper.psm1.
Added the option “GrantWithGrant” with gives the user grant rights, together with the ability to grant others the same right.
Now the resource can revoke permission correctly (issue 454). When revoking “GrantWithGrant”, both the grantee and all the other users the grantee has granted the same permission to, will also get their permission revoked.
Updated tests to cover Revoke().
Changes to xSQLServerHelper
The missing helper function (“Test-SPDSCObjectHasProperty”), that was referenced in the helper function Test-SQLDscParameterState, is now incorporated into Test-SQLDscParameterState (issue 589).
xStorage 3.0.0.0
Converted AppVeyor build process to use AppVeyor.psm1.
Added support for auto generating wiki, help files, markdown linting and checking examples.
Correct name of MSFT_xDiskAccessPath.tests.ps1.
Move shared modules into Modules folder.
Fixed unit tests.
Removed support for WMI cmdlets.
Opted in to Markdown and Example tests.
Added CodeCov.io support.
Removed requirement on using Pester 3.4.6 because Pester bug fixed in 4.0.3.
Fixed unit tests for MSFT_xDiskAccessPath resource to be compatible with Pester 4.0.3.
xDisk:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId to enable it to
See Issue 81.
Added DiskIdType parameter to enable specifying the type of identifer
See Issue 81.
Changed to use xDiskAccessPath pattern to fix issue with Windows Server
See Issue 80.
Fixed style violations in xDisk.
Fixed issue when creating multiple partitions on a single disk with no size
See Issue 86.
xDiskAccessPath:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId to
See Issue 81.
Added DiskIdType parameter to enable specifying the type
See Issue 81.
Fixed incorrect logging messages when changing volume label.
Fixed issue when creating multiple partitions on a single disk with no size
See Issue 86.
xWaitForDisk:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId
See Issue 81.
Added DiskIdType parameter to enable specifying the type
See Issue 81.
How to Find Released DSC Resource Modules
To see a list of all released DSC Resource Kit modules, go to the PowerShell Gallery and display all modules tagged as DSCResourceKit. You can also enter a module’s name in the search box in the upper right corner of the PowerShell Gallery to find a specific module.
Of course, you can also always use PowerShellGet (available in WMF 5.0) to find modules with DSC Resources:
# To list all modules that are part of the DSC Resource Kit Find-Module -Tag DSCResourceKit # To list all DSC resources from all sources Find-DscResource
To find a specific module, go directly to its URL on the PowerShell Gallery: http://ift.tt/1FzKWKv< module name > For example: http://ift.tt/1IxiVp1
How to Install DSC Resource Modules From the PowerShell Gallery
We recommend that you use PowerShellGet to install DSC resource modules:
Install-Module -Name < module name >
For example:
Install-Module -Name xWebAdministration
To update all previously installed modules at once, open an elevated PowerShell prompt and use this command:
Update-Module
After installing modules, you can discover all DSC resources available to your local system with this command:
Get-DscResource
How to Find DSC Resource Modules on GitHub
All resource modules in the DSC Resource Kit are available open-source on GitHub. You can see the most recent state of a resource module by visiting its GitHub page at: http://ift.tt/1TMedwe< module name > For example, for the xCertificate module, go to: http://ift.tt/1IxiXgI.
All DSC modules are also listed as submodules of the DscResources repository in the xDscResources folder.
How to Contribute
You are more than welcome to contribute to the development of the DSC Resource Kit! There are several different ways you can help. You can create new DSC resources or modules, add test automation, improve documentation, fix existing issues, or open new ones. See our contributing guide for more info on how to become a DSC Resource Kit contributor.
If you would like to help, please take a look at the list of open issues for the DscResources repository. You can also check issues for specific resource modules by going to: http://ift.tt/1TMedwe< module name >/issues For example: http://ift.tt/1JhnNnX
Your help in developing the DSC Resource Kit is invaluable to us!
Questions, comments?
If you’re looking into using PowerShell DSC, have questions or issues with a current resource, or would like a new resource, let us know in the comments below, on Twitter (@PowerShell_Team), or by creating an issue on GitHub.
Katie Keim Software Engineer PowerShell Team @katiedsc (Twitter) @kwirkykat (GitHub)
from DIYS http://ift.tt/2qI5UHn
0 notes
exfrenchdorsl4p0a1 · 8 years ago
Text
DSC Resource Kit Release May 2017
We just released the DSC Resource Kit!This release includes updates to 10 DSC resource modules including 3 new resources. In these past 6 weeks, 60 pull requests have been merged and 58 issues have been closed, all thanks to our amazing community!
The modules updated in this release are:
SharePointDsc
SecurityPolicyDsc
xCertificate
xComputerManagement
xCredSSP
xExchange
xHyper-V
xNetworking
xSqlServer
xStorage
PSDscResources and xDFS are also in the pipeline for release, but they are currently failing tests. They will be released when tests are passing.
For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below.
Our last community call for the DSC Resource Kit was last week on May 24. A recording of our updates as well as summarizing notes are available. Join us next time to ask questions and give feedback about your experience with the DSC Resource Kit. Keep an eye on the community agenda for the link to the next call.
We strongly encourage you to update to the newest version of all modules using the PowerShell Gallery, and don’t forget to give us your feedback in the comments below, on GitHub, or on Twitter (@PowerShell_Team)!
All resources with the ‘x’ prefix in their names are still experimental – this means that those resources are provided AS IS and are not supported through any Microsoft support program or service. If you find a problem with a resource, please file an issue on GitHub.
Included in this Release
You can see a detailed summary of all changes included in this release in the table below. For past release notes, go to the README.md or Changelog.md file on the GitHub repository page for a specific module (see the How to Find DSC Resource Modules on GitHub section below for details on finding the GitHub page for a specific module).
Module Name Version Release Notes SharePointDsc 1.7.0.0
Update SPSearchIndexPartition made ServiceAppName as a Key
New resouce: SPTrustedRootAuthority
Update SPFarmSolution to eject from loop after 30m.
New resource: SPMachineTranslationServiceApp
New resource: SPPowerPointAutomationServiceApp
Bugfix in SPSearchFileType made ServiceAppName a key property.
New resource: SPWebApplicationExtension
Added new resource SPAccessServices2010
Added MSFT_SPSearchCrawlMapping Resource to manage Crawl Mappings for Search Service Application
Added new resource SPSearchAuthoritativePage
Bugfix in SPWebAppThrottlingSettings for setting large list window time.
Fix typo in method Get-TargetResource of SPFeature
Fix bug in SPManagedAccount not returning the correct account name value
Fix typo in method Get-TargetResource of SPSearchIndexPartition
Update documentation of SPInstallLanguagePack to add guidance on package change in SP2016
Added returning the required RunCentralAdmin parameter to Get-TargetResource in SPFarm
Added web role check for SPBlobCacheSettings
Improved error message when rule could not be found in SPHealthAnalyzerRuleState
Extended the documentation to specify that the default value of Ensure is Present
Added documentation about the user of Host Header Site Collections and the HostHeader parameter in SPWebApplication
Fixed missing brackets in SPWebAppPolicy module file
Fixed issue with SPSecureStoreServiceApp not returning database information
Fixed issue with SPManagedMetadataServiceApp not returning ContentTypeHubUrl in SP2016
Updated SPTrustedIdentityTokenIssuer to allow to specify the signing certificate from file path as an alternative to the certificate store
New resource: SPSearchCrawlerImpactRule
Fixed issue in SPSite where the used template wasn’t returned properly
Fixed issue in SPWebApplicationGeneralSettings which didn’t return the security validation timeout properly
Fixed bug in SPCreateFarm and SPJoinFarm when a SharePoint Server is already joined to a farm
Bugfix in SPContentDatabase for setting WarningSiteCount as 0.
Fixing verbose message that identifies SP2016 as 2013 in MSFT_SPFarm
Fixed SPProductUpdate looking for OSearch15 in SP2016 when stopping services
Added TermStoreAdministrators property to SPManagedMetadataServiceApp
Fixed an issue in SPSearchTopology that would leave a corrupt topology in place if a server was removed and re-added to a farm
Fixed bug in SPFarm that caused issues with database names that have dashes in the names
SecurityPolicyDsc 1.4.0.0
Added functionality to support BaselineManagement Module.
Updated UserRightsAssignment resource to respect dynamic local accounts.
Added SecuritySetting resource to process additional INF settings.
xCertificate 2.6.0.0
Added mandatory properties for xPfxImport resource example.
xCertReq:
Fixed issue where xCertReq does not identify when DNS Names in SANs are incorrect.
Added Certificate Authority auto-discovery to resource xCertReq.
Added SAN and certificate template name to xCertReq”s Get-TargetResource
Added new parameter UseMachineContext to be able to use CA templates that try to fill the subject alternative name
CertificateDSc.Common:
Added function Get-CertificateTemplateName to retrieve template name
Added function Get-CertificateSan to retrieve subject alternative name
Added function Find-CertificateAuthority to enable auto-discovery
xComputerManagement 1.10.0.0
Added resources
xVirtualMemory
xCredSSP 1.3.0.0
Added a fix to enable credSSP with a fresh server installation
xExchange 1.15.0.0
xExchDatabaseAvailabilityGroupMember: Added check to ensure Failover-Clustering role is installed before adding server to DAG.
xExchInstall: Remove parameter “-AllowImmediateReboot $AllowImmediateReboot” when calling CheckWSManConfig.
xExchOutlookAnywhere: Add test for ExternalClientAuthenticationMethod.
Test: Update OAB and UMService tests to create test OAB and UMDialPlans, respectively.
xHyper-V 3.8.0.0
Fix bug in xVMDvdDrive with hardcoded VM Name.
Corrected Markdown rule violations in Readme.md.
xNetworking 4.0.0.0
Converted to use AppVeyor.psm1 in DSCResource.Tests repository.
Converted to use Example and Markdown tests in DSCResource.Tests repository.
Added CodeCov.io support.
Added a new example to xDNSServerAddress to clarify setting multiple DNS Servers.
Fix examples to correct display in auto documentation generation.
BREAKING CHANGE: Migrated xNetworkAdapter module functionality to xNetAdapterName resource.
Added CommonTestHelper module for aiding testing.
MSFT_xNetAdapterName:
Created new resource for renaming network adapters.
Added Find-NetAdapter cmdlet to NetworkingDsc.Common.
Correct example parameters format to meet style guidelines.
xSqlServer 7.1.0.0
Changes to xSQLServerMemory
Changed the way SQLServer parameter is passed from Test-TargetResource to Get-TargetResource so that the default value isn”t lost (issue 576).
Added condition to unit tests for when no SQLServer parameter is set.
Changes to xSQLServerMaxDop
Changed the way SQLServer parameter is passed from Test-TargetResource to Get-TargetResource so that the default value isn”t lost (issue 576).
Added condition to unit tests for when no SQLServer parameter is set.
Changes to xWaitForAvailabilityGroup
Updated README.md with a description for the resources and revised the parameter descriptions.
The default value for RetryIntervalSec is now 20 seconds and the default value for RetryCount is now 30 times (issue 505).
Cleaned up code and fixed PSSA rules warnings (issue 268).
Added unit tests (issue 297).
Added descriptive text to README.md that the account that runs the resource must have permission to run the cmdlet Get-ClusterGroup (issue 307).
Added read-only parameter GroupExist which will return $true if the cluster role/group exist, otherwise it returns $false (issue 510).
Added examples.
Changes to xSQLServerPermission
Cleaned up code, removed SupportsShouldProcess and fixed PSSA rules warnings (issue 241 and issue 262).
It is now possible to add permissions to two or more logins on the same instance (issue 526).
The parameter NodeName is no longer mandatory and has now the default value of $env:COMPUTERNAME.
The parameter Ensure now has a default value of “Present”.
Updated README.md with a description for the resources and revised the parameter descriptions.
Removed dependency of SQLPS provider (issue 482).
Added ConnectSql permission. Now that permission can also be granted or revoked.
Updated note in resource description to also mention ConnectSql permission.
Changes to xSQLServerHelper module
Removed helper function Get-SQLPSInstance and Get-SQLPSInstanceName because there is no resource using it any longer.
Added four new helper functions.
Register-SqlSmo, Register-SqlWmiManagement and Unregister-SqlAssemblies to handle the creation on the application domain and loading and unloading of the SMO and SqlWmiManagement assemblies.
Get-SqlInstanceMajorVersion to get the major SQL version for a specific instance.
Fixed typos in comment-based help
Changes to xSQLServer
Fixed typos in markdown files; CHANGELOG, CONTRIBUTING, README and ISSUE_TEMPLATE.
Fixed typos in schema.mof files (and README.md).
Updated some parameter description in schema.mof files on those that was found was not equal to README.md.
Changes to xSQLServerAlwaysOnService
Get-TargetResource should no longer fail silently with error “Index operation failed; the array index evaluated to null.” (issue 519). Now if the Server.IsHadrEnabled property return neither $true or $false the Get-TargetResource function will throw an error.
Changes to xSQLServerSetUp
Updated xSQLServerSetup Module Get-Resource method to fix (issue 516 and 490).
Added change to detect DQ, DQC, BOL, SDK features. Now the function Test-TargetResource returns true after calling set for DQ, DQC, BOL, SDK features (issue 516 and 490).
Changes to xSQLServerAlwaysOnAvailabilityGroup
Updated to return the exception raised when an error is thrown.
Changes to xSQLServerAlwaysOnAvailabilityGroupReplica
Updated to return the exception raised when an error is thrown.
Updated parameter description for parameter Name, so that it says it must be in the format SQLServer\InstanceName for named instance (issue 548).
Changes to xSQLServerLogin
Added an optional boolean parameter Disabled. It can be used to enable/disable existing logins or create disabled logins (new logins are created as enabled by default).
Changes to xSQLServerDatabaseRole
Updated variable passed to Microsoft.SqlServer.Management.Smo.User constructor to fix issue 530
Changes to xSQLServerNetwork
Added optional parameter SQLServer with default value of $env:COMPUTERNAME (issue 528).
Added optional parameter RestartTimeout with default value of 120 seconds.
Now the resource supports restarting a sql server in a cluster (issue 527 and issue 455).
Now the resource allows to set the parameter TcpDynamicPorts to a blank value (partly fixes issue 534). Setting a blank value for parameter TcpDynamicPorts together with a value for parameter TcpPort means that static port will be used.
Now the resource will not call Alter() in the Set-TargetResource when there is no change necessary (issue 537).
Updated example 1-EnableTcpIpOnCustomStaticPort.
Added unit tests (issue 294).
Refactored some of the code, cleaned up the rest and fixed PSSA rules warnings (issue 261).
If parameter TcpDynamicPort is set to “0” at the same time as TcpPort is set the resource will now throw an error (issue 535).
Added examples (issue 536).
When TcpDynamicPorts is set to “0” the Test-TargetResource function will no longer fail each time (issue 564).
Changes to xSQLServerRSConfig
Replaced sqlcmd.exe usages with Invoke-Sqlcmd calls (issue 567).
Changes to xSQLServerDatabasePermission
Fixed code style, updated README.md and removed *-SqlDatabasePermission functions from xSQLServerHelper.psm1.
Added the option “GrantWithGrant” with gives the user grant rights, together with the ability to grant others the same right.
Now the resource can revoke permission correctly (issue 454). When revoking “GrantWithGrant”, both the grantee and all the other users the grantee has granted the same permission to, will also get their permission revoked.
Updated tests to cover Revoke().
Changes to xSQLServerHelper
The missing helper function (“Test-SPDSCObjectHasProperty”), that was referenced in the helper function Test-SQLDscParameterState, is now incorporated into Test-SQLDscParameterState (issue 589).
xStorage 3.0.0.0
Converted AppVeyor build process to use AppVeyor.psm1.
Added support for auto generating wiki, help files, markdown linting and checking examples.
Correct name of MSFT_xDiskAccessPath.tests.ps1.
Move shared modules into Modules folder.
Fixed unit tests.
Removed support for WMI cmdlets.
Opted in to Markdown and Example tests.
Added CodeCov.io support.
Removed requirement on using Pester 3.4.6 because Pester bug fixed in 4.0.3.
Fixed unit tests for MSFT_xDiskAccessPath resource to be compatible with Pester 4.0.3.
xDisk:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId to enable it to
See Issue 81.
Added DiskIdType parameter to enable specifying the type of identifer
See Issue 81.
Changed to use xDiskAccessPath pattern to fix issue with Windows Server
See Issue 80.
Fixed style violations in xDisk.
Fixed issue when creating multiple partitions on a single disk with no size
See Issue 86.
xDiskAccessPath:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId to
See Issue 81.
Added DiskIdType parameter to enable specifying the type
See Issue 81.
Fixed incorrect logging messages when changing volume label.
Fixed issue when creating multiple partitions on a single disk with no size
See Issue 86.
xWaitForDisk:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId
See Issue 81.
Added DiskIdType parameter to enable specifying the type
See Issue 81.
How to Find Released DSC Resource Modules
To see a list of all released DSC Resource Kit modules, go to the PowerShell Gallery and display all modules tagged as DSCResourceKit. You can also enter a module’s name in the search box in the upper right corner of the PowerShell Gallery to find a specific module.
Of course, you can also always use PowerShellGet (available in WMF 5.0) to find modules with DSC Resources:
# To list all modules that are part of the DSC Resource Kit Find-Module -Tag DSCResourceKit # To list all DSC resources from all sources Find-DscResource
To find a specific module, go directly to its URL on the PowerShell Gallery: http://ift.tt/1FzKWKv< module name > For example: http://ift.tt/1IxiVp1
How to Install DSC Resource Modules From the PowerShell Gallery
We recommend that you use PowerShellGet to install DSC resource modules:
Install-Module -Name < module name >
For example:
Install-Module -Name xWebAdministration
To update all previously installed modules at once, open an elevated PowerShell prompt and use this command:
Update-Module
After installing modules, you can discover all DSC resources available to your local system with this command:
Get-DscResource
How to Find DSC Resource Modules on GitHub
All resource modules in the DSC Resource Kit are available open-source on GitHub. You can see the most recent state of a resource module by visiting its GitHub page at: http://ift.tt/1TMedwe< module name > For example, for the xCertificate module, go to: http://ift.tt/1IxiXgI.
All DSC modules are also listed as submodules of the DscResources repository in the xDscResources folder.
How to Contribute
You are more than welcome to contribute to the development of the DSC Resource Kit! There are several different ways you can help. You can create new DSC resources or modules, add test automation, improve documentation, fix existing issues, or open new ones. See our contributing guide for more info on how to become a DSC Resource Kit contributor.
If you would like to help, please take a look at the list of open issues for the DscResources repository. You can also check issues for specific resource modules by going to: http://ift.tt/1TMedwe< module name >/issues For example: http://ift.tt/1JhnNnX
Your help in developing the DSC Resource Kit is invaluable to us!
Questions, comments?
If you’re looking into using PowerShell DSC, have questions or issues with a current resource, or would like a new resource, let us know in the comments below, on Twitter (@PowerShell_Team), or by creating an issue on GitHub.
Katie Keim Software Engineer PowerShell Team @katiedsc (Twitter) @kwirkykat (GitHub)
from DIYS http://ift.tt/2qI5UHn
0 notes
repwinpril9y0a1 · 8 years ago
Text
DSC Resource Kit Release May 2017
We just released the DSC Resource Kit!This release includes updates to 10 DSC resource modules including 3 new resources. In these past 6 weeks, 60 pull requests have been merged and 58 issues have been closed, all thanks to our amazing community!
The modules updated in this release are:
SharePointDsc
SecurityPolicyDsc
xCertificate
xComputerManagement
xCredSSP
xExchange
xHyper-V
xNetworking
xSqlServer
xStorage
PSDscResources and xDFS are also in the pipeline for release, but they are currently failing tests. They will be released when tests are passing.
For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below.
Our last community call for the DSC Resource Kit was last week on May 24. A recording of our updates as well as summarizing notes are available. Join us next time to ask questions and give feedback about your experience with the DSC Resource Kit. Keep an eye on the community agenda for the link to the next call.
We strongly encourage you to update to the newest version of all modules using the PowerShell Gallery, and don’t forget to give us your feedback in the comments below, on GitHub, or on Twitter (@PowerShell_Team)!
All resources with the ‘x’ prefix in their names are still experimental – this means that those resources are provided AS IS and are not supported through any Microsoft support program or service. If you find a problem with a resource, please file an issue on GitHub.
Included in this Release
You can see a detailed summary of all changes included in this release in the table below. For past release notes, go to the README.md or Changelog.md file on the GitHub repository page for a specific module (see the How to Find DSC Resource Modules on GitHub section below for details on finding the GitHub page for a specific module).
Module Name Version Release Notes SharePointDsc 1.7.0.0
Update SPSearchIndexPartition made ServiceAppName as a Key
New resouce: SPTrustedRootAuthority
Update SPFarmSolution to eject from loop after 30m.
New resource: SPMachineTranslationServiceApp
New resource: SPPowerPointAutomationServiceApp
Bugfix in SPSearchFileType made ServiceAppName a key property.
New resource: SPWebApplicationExtension
Added new resource SPAccessServices2010
Added MSFT_SPSearchCrawlMapping Resource to manage Crawl Mappings for Search Service Application
Added new resource SPSearchAuthoritativePage
Bugfix in SPWebAppThrottlingSettings for setting large list window time.
Fix typo in method Get-TargetResource of SPFeature
Fix bug in SPManagedAccount not returning the correct account name value
Fix typo in method Get-TargetResource of SPSearchIndexPartition
Update documentation of SPInstallLanguagePack to add guidance on package change in SP2016
Added returning the required RunCentralAdmin parameter to Get-TargetResource in SPFarm
Added web role check for SPBlobCacheSettings
Improved error message when rule could not be found in SPHealthAnalyzerRuleState
Extended the documentation to specify that the default value of Ensure is Present
Added documentation about the user of Host Header Site Collections and the HostHeader parameter in SPWebApplication
Fixed missing brackets in SPWebAppPolicy module file
Fixed issue with SPSecureStoreServiceApp not returning database information
Fixed issue with SPManagedMetadataServiceApp not returning ContentTypeHubUrl in SP2016
Updated SPTrustedIdentityTokenIssuer to allow to specify the signing certificate from file path as an alternative to the certificate store
New resource: SPSearchCrawlerImpactRule
Fixed issue in SPSite where the used template wasn’t returned properly
Fixed issue in SPWebApplicationGeneralSettings which didn’t return the security validation timeout properly
Fixed bug in SPCreateFarm and SPJoinFarm when a SharePoint Server is already joined to a farm
Bugfix in SPContentDatabase for setting WarningSiteCount as 0.
Fixing verbose message that identifies SP2016 as 2013 in MSFT_SPFarm
Fixed SPProductUpdate looking for OSearch15 in SP2016 when stopping services
Added TermStoreAdministrators property to SPManagedMetadataServiceApp
Fixed an issue in SPSearchTopology that would leave a corrupt topology in place if a server was removed and re-added to a farm
Fixed bug in SPFarm that caused issues with database names that have dashes in the names
SecurityPolicyDsc 1.4.0.0
Added functionality to support BaselineManagement Module.
Updated UserRightsAssignment resource to respect dynamic local accounts.
Added SecuritySetting resource to process additional INF settings.
xCertificate 2.6.0.0
Added mandatory properties for xPfxImport resource example.
xCertReq:
Fixed issue where xCertReq does not identify when DNS Names in SANs are incorrect.
Added Certificate Authority auto-discovery to resource xCertReq.
Added SAN and certificate template name to xCertReq”s Get-TargetResource
Added new parameter UseMachineContext to be able to use CA templates that try to fill the subject alternative name
CertificateDSc.Common:
Added function Get-CertificateTemplateName to retrieve template name
Added function Get-CertificateSan to retrieve subject alternative name
Added function Find-CertificateAuthority to enable auto-discovery
xComputerManagement 1.10.0.0
Added resources
xVirtualMemory
xCredSSP 1.3.0.0
Added a fix to enable credSSP with a fresh server installation
xExchange 1.15.0.0
xExchDatabaseAvailabilityGroupMember: Added check to ensure Failover-Clustering role is installed before adding server to DAG.
xExchInstall: Remove parameter “-AllowImmediateReboot $AllowImmediateReboot” when calling CheckWSManConfig.
xExchOutlookAnywhere: Add test for ExternalClientAuthenticationMethod.
Test: Update OAB and UMService tests to create test OAB and UMDialPlans, respectively.
xHyper-V 3.8.0.0
Fix bug in xVMDvdDrive with hardcoded VM Name.
Corrected Markdown rule violations in Readme.md.
xNetworking 4.0.0.0
Converted to use AppVeyor.psm1 in DSCResource.Tests repository.
Converted to use Example and Markdown tests in DSCResource.Tests repository.
Added CodeCov.io support.
Added a new example to xDNSServerAddress to clarify setting multiple DNS Servers.
Fix examples to correct display in auto documentation generation.
BREAKING CHANGE: Migrated xNetworkAdapter module functionality to xNetAdapterName resource.
Added CommonTestHelper module for aiding testing.
MSFT_xNetAdapterName:
Created new resource for renaming network adapters.
Added Find-NetAdapter cmdlet to NetworkingDsc.Common.
Correct example parameters format to meet style guidelines.
xSqlServer 7.1.0.0
Changes to xSQLServerMemory
Changed the way SQLServer parameter is passed from Test-TargetResource to Get-TargetResource so that the default value isn”t lost (issue 576).
Added condition to unit tests for when no SQLServer parameter is set.
Changes to xSQLServerMaxDop
Changed the way SQLServer parameter is passed from Test-TargetResource to Get-TargetResource so that the default value isn”t lost (issue 576).
Added condition to unit tests for when no SQLServer parameter is set.
Changes to xWaitForAvailabilityGroup
Updated README.md with a description for the resources and revised the parameter descriptions.
The default value for RetryIntervalSec is now 20 seconds and the default value for RetryCount is now 30 times (issue 505).
Cleaned up code and fixed PSSA rules warnings (issue 268).
Added unit tests (issue 297).
Added descriptive text to README.md that the account that runs the resource must have permission to run the cmdlet Get-ClusterGroup (issue 307).
Added read-only parameter GroupExist which will return $true if the cluster role/group exist, otherwise it returns $false (issue 510).
Added examples.
Changes to xSQLServerPermission
Cleaned up code, removed SupportsShouldProcess and fixed PSSA rules warnings (issue 241 and issue 262).
It is now possible to add permissions to two or more logins on the same instance (issue 526).
The parameter NodeName is no longer mandatory and has now the default value of $env:COMPUTERNAME.
The parameter Ensure now has a default value of “Present”.
Updated README.md with a description for the resources and revised the parameter descriptions.
Removed dependency of SQLPS provider (issue 482).
Added ConnectSql permission. Now that permission can also be granted or revoked.
Updated note in resource description to also mention ConnectSql permission.
Changes to xSQLServerHelper module
Removed helper function Get-SQLPSInstance and Get-SQLPSInstanceName because there is no resource using it any longer.
Added four new helper functions.
Register-SqlSmo, Register-SqlWmiManagement and Unregister-SqlAssemblies to handle the creation on the application domain and loading and unloading of the SMO and SqlWmiManagement assemblies.
Get-SqlInstanceMajorVersion to get the major SQL version for a specific instance.
Fixed typos in comment-based help
Changes to xSQLServer
Fixed typos in markdown files; CHANGELOG, CONTRIBUTING, README and ISSUE_TEMPLATE.
Fixed typos in schema.mof files (and README.md).
Updated some parameter description in schema.mof files on those that was found was not equal to README.md.
Changes to xSQLServerAlwaysOnService
Get-TargetResource should no longer fail silently with error “Index operation failed; the array index evaluated to null.” (issue 519). Now if the Server.IsHadrEnabled property return neither $true or $false the Get-TargetResource function will throw an error.
Changes to xSQLServerSetUp
Updated xSQLServerSetup Module Get-Resource method to fix (issue 516 and 490).
Added change to detect DQ, DQC, BOL, SDK features. Now the function Test-TargetResource returns true after calling set for DQ, DQC, BOL, SDK features (issue 516 and 490).
Changes to xSQLServerAlwaysOnAvailabilityGroup
Updated to return the exception raised when an error is thrown.
Changes to xSQLServerAlwaysOnAvailabilityGroupReplica
Updated to return the exception raised when an error is thrown.
Updated parameter description for parameter Name, so that it says it must be in the format SQLServer\InstanceName for named instance (issue 548).
Changes to xSQLServerLogin
Added an optional boolean parameter Disabled. It can be used to enable/disable existing logins or create disabled logins (new logins are created as enabled by default).
Changes to xSQLServerDatabaseRole
Updated variable passed to Microsoft.SqlServer.Management.Smo.User constructor to fix issue 530
Changes to xSQLServerNetwork
Added optional parameter SQLServer with default value of $env:COMPUTERNAME (issue 528).
Added optional parameter RestartTimeout with default value of 120 seconds.
Now the resource supports restarting a sql server in a cluster (issue 527 and issue 455).
Now the resource allows to set the parameter TcpDynamicPorts to a blank value (partly fixes issue 534). Setting a blank value for parameter TcpDynamicPorts together with a value for parameter TcpPort means that static port will be used.
Now the resource will not call Alter() in the Set-TargetResource when there is no change necessary (issue 537).
Updated example 1-EnableTcpIpOnCustomStaticPort.
Added unit tests (issue 294).
Refactored some of the code, cleaned up the rest and fixed PSSA rules warnings (issue 261).
If parameter TcpDynamicPort is set to “0” at the same time as TcpPort is set the resource will now throw an error (issue 535).
Added examples (issue 536).
When TcpDynamicPorts is set to “0” the Test-TargetResource function will no longer fail each time (issue 564).
Changes to xSQLServerRSConfig
Replaced sqlcmd.exe usages with Invoke-Sqlcmd calls (issue 567).
Changes to xSQLServerDatabasePermission
Fixed code style, updated README.md and removed *-SqlDatabasePermission functions from xSQLServerHelper.psm1.
Added the option “GrantWithGrant” with gives the user grant rights, together with the ability to grant others the same right.
Now the resource can revoke permission correctly (issue 454). When revoking “GrantWithGrant”, both the grantee and all the other users the grantee has granted the same permission to, will also get their permission revoked.
Updated tests to cover Revoke().
Changes to xSQLServerHelper
The missing helper function (“Test-SPDSCObjectHasProperty”), that was referenced in the helper function Test-SQLDscParameterState, is now incorporated into Test-SQLDscParameterState (issue 589).
xStorage 3.0.0.0
Converted AppVeyor build process to use AppVeyor.psm1.
Added support for auto generating wiki, help files, markdown linting and checking examples.
Correct name of MSFT_xDiskAccessPath.tests.ps1.
Move shared modules into Modules folder.
Fixed unit tests.
Removed support for WMI cmdlets.
Opted in to Markdown and Example tests.
Added CodeCov.io support.
Removed requirement on using Pester 3.4.6 because Pester bug fixed in 4.0.3.
Fixed unit tests for MSFT_xDiskAccessPath resource to be compatible with Pester 4.0.3.
xDisk:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId to enable it to
See Issue 81.
Added DiskIdType parameter to enable specifying the type of identifer
See Issue 81.
Changed to use xDiskAccessPath pattern to fix issue with Windows Server
See Issue 80.
Fixed style violations in xDisk.
Fixed issue when creating multiple partitions on a single disk with no size
See Issue 86.
xDiskAccessPath:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId to
See Issue 81.
Added DiskIdType parameter to enable specifying the type
See Issue 81.
Fixed incorrect logging messages when changing volume label.
Fixed issue when creating multiple partitions on a single disk with no size
See Issue 86.
xWaitForDisk:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId
See Issue 81.
Added DiskIdType parameter to enable specifying the type
See Issue 81.
How to Find Released DSC Resource Modules
To see a list of all released DSC Resource Kit modules, go to the PowerShell Gallery and display all modules tagged as DSCResourceKit. You can also enter a module’s name in the search box in the upper right corner of the PowerShell Gallery to find a specific module.
Of course, you can also always use PowerShellGet (available in WMF 5.0) to find modules with DSC Resources:
# To list all modules that are part of the DSC Resource Kit Find-Module -Tag DSCResourceKit # To list all DSC resources from all sources Find-DscResource
To find a specific module, go directly to its URL on the PowerShell Gallery: http://ift.tt/1FzKWKv< module name > For example: http://ift.tt/1IxiVp1
How to Install DSC Resource Modules From the PowerShell Gallery
We recommend that you use PowerShellGet to install DSC resource modules:
Install-Module -Name < module name >
For example:
Install-Module -Name xWebAdministration
To update all previously installed modules at once, open an elevated PowerShell prompt and use this command:
Update-Module
After installing modules, you can discover all DSC resources available to your local system with this command:
Get-DscResource
How to Find DSC Resource Modules on GitHub
All resource modules in the DSC Resource Kit are available open-source on GitHub. You can see the most recent state of a resource module by visiting its GitHub page at: http://ift.tt/1TMedwe< module name > For example, for the xCertificate module, go to: http://ift.tt/1IxiXgI.
All DSC modules are also listed as submodules of the DscResources repository in the xDscResources folder.
How to Contribute
You are more than welcome to contribute to the development of the DSC Resource Kit! There are several different ways you can help. You can create new DSC resources or modules, add test automation, improve documentation, fix existing issues, or open new ones. See our contributing guide for more info on how to become a DSC Resource Kit contributor.
If you would like to help, please take a look at the list of open issues for the DscResources repository. You can also check issues for specific resource modules by going to: http://ift.tt/1TMedwe< module name >/issues For example: http://ift.tt/1JhnNnX
Your help in developing the DSC Resource Kit is invaluable to us!
Questions, comments?
If you’re looking into using PowerShell DSC, have questions or issues with a current resource, or would like a new resource, let us know in the comments below, on Twitter (@PowerShell_Team), or by creating an issue on GitHub.
Katie Keim Software Engineer PowerShell Team @katiedsc (Twitter) @kwirkykat (GitHub)
from DIYS http://ift.tt/2qI5UHn
0 notes
rtscrndr53704 · 8 years ago
Text
DSC Resource Kit Release May 2017
We just released the DSC Resource Kit!This release includes updates to 10 DSC resource modules including 3 new resources. In these past 6 weeks, 60 pull requests have been merged and 58 issues have been closed, all thanks to our amazing community!
The modules updated in this release are:
SharePointDsc
SecurityPolicyDsc
xCertificate
xComputerManagement
xCredSSP
xExchange
xHyper-V
xNetworking
xSqlServer
xStorage
PSDscResources and xDFS are also in the pipeline for release, but they are currently failing tests. They will be released when tests are passing.
For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below.
Our last community call for the DSC Resource Kit was last week on May 24. A recording of our updates as well as summarizing notes are available. Join us next time to ask questions and give feedback about your experience with the DSC Resource Kit. Keep an eye on the community agenda for the link to the next call.
We strongly encourage you to update to the newest version of all modules using the PowerShell Gallery, and don’t forget to give us your feedback in the comments below, on GitHub, or on Twitter (@PowerShell_Team)!
All resources with the ‘x’ prefix in their names are still experimental – this means that those resources are provided AS IS and are not supported through any Microsoft support program or service. If you find a problem with a resource, please file an issue on GitHub.
Included in this Release
You can see a detailed summary of all changes included in this release in the table below. For past release notes, go to the README.md or Changelog.md file on the GitHub repository page for a specific module (see the How to Find DSC Resource Modules on GitHub section below for details on finding the GitHub page for a specific module).
Module Name Version Release Notes SharePointDsc 1.7.0.0
Update SPSearchIndexPartition made ServiceAppName as a Key
New resouce: SPTrustedRootAuthority
Update SPFarmSolution to eject from loop after 30m.
New resource: SPMachineTranslationServiceApp
New resource: SPPowerPointAutomationServiceApp
Bugfix in SPSearchFileType made ServiceAppName a key property.
New resource: SPWebApplicationExtension
Added new resource SPAccessServices2010
Added MSFT_SPSearchCrawlMapping Resource to manage Crawl Mappings for Search Service Application
Added new resource SPSearchAuthoritativePage
Bugfix in SPWebAppThrottlingSettings for setting large list window time.
Fix typo in method Get-TargetResource of SPFeature
Fix bug in SPManagedAccount not returning the correct account name value
Fix typo in method Get-TargetResource of SPSearchIndexPartition
Update documentation of SPInstallLanguagePack to add guidance on package change in SP2016
Added returning the required RunCentralAdmin parameter to Get-TargetResource in SPFarm
Added web role check for SPBlobCacheSettings
Improved error message when rule could not be found in SPHealthAnalyzerRuleState
Extended the documentation to specify that the default value of Ensure is Present
Added documentation about the user of Host Header Site Collections and the HostHeader parameter in SPWebApplication
Fixed missing brackets in SPWebAppPolicy module file
Fixed issue with SPSecureStoreServiceApp not returning database information
Fixed issue with SPManagedMetadataServiceApp not returning ContentTypeHubUrl in SP2016
Updated SPTrustedIdentityTokenIssuer to allow to specify the signing certificate from file path as an alternative to the certificate store
New resource: SPSearchCrawlerImpactRule
Fixed issue in SPSite where the used template wasn’t returned properly
Fixed issue in SPWebApplicationGeneralSettings which didn’t return the security validation timeout properly
Fixed bug in SPCreateFarm and SPJoinFarm when a SharePoint Server is already joined to a farm
Bugfix in SPContentDatabase for setting WarningSiteCount as 0.
Fixing verbose message that identifies SP2016 as 2013 in MSFT_SPFarm
Fixed SPProductUpdate looking for OSearch15 in SP2016 when stopping services
Added TermStoreAdministrators property to SPManagedMetadataServiceApp
Fixed an issue in SPSearchTopology that would leave a corrupt topology in place if a server was removed and re-added to a farm
Fixed bug in SPFarm that caused issues with database names that have dashes in the names
SecurityPolicyDsc 1.4.0.0
Added functionality to support BaselineManagement Module.
Updated UserRightsAssignment resource to respect dynamic local accounts.
Added SecuritySetting resource to process additional INF settings.
xCertificate 2.6.0.0
Added mandatory properties for xPfxImport resource example.
xCertReq:
Fixed issue where xCertReq does not identify when DNS Names in SANs are incorrect.
Added Certificate Authority auto-discovery to resource xCertReq.
Added SAN and certificate template name to xCertReq”s Get-TargetResource
Added new parameter UseMachineContext to be able to use CA templates that try to fill the subject alternative name
CertificateDSc.Common:
Added function Get-CertificateTemplateName to retrieve template name
Added function Get-CertificateSan to retrieve subject alternative name
Added function Find-CertificateAuthority to enable auto-discovery
xComputerManagement 1.10.0.0
Added resources
xVirtualMemory
xCredSSP 1.3.0.0
Added a fix to enable credSSP with a fresh server installation
xExchange 1.15.0.0
xExchDatabaseAvailabilityGroupMember: Added check to ensure Failover-Clustering role is installed before adding server to DAG.
xExchInstall: Remove parameter “-AllowImmediateReboot $AllowImmediateReboot” when calling CheckWSManConfig.
xExchOutlookAnywhere: Add test for ExternalClientAuthenticationMethod.
Test: Update OAB and UMService tests to create test OAB and UMDialPlans, respectively.
xHyper-V 3.8.0.0
Fix bug in xVMDvdDrive with hardcoded VM Name.
Corrected Markdown rule violations in Readme.md.
xNetworking 4.0.0.0
Converted to use AppVeyor.psm1 in DSCResource.Tests repository.
Converted to use Example and Markdown tests in DSCResource.Tests repository.
Added CodeCov.io support.
Added a new example to xDNSServerAddress to clarify setting multiple DNS Servers.
Fix examples to correct display in auto documentation generation.
BREAKING CHANGE: Migrated xNetworkAdapter module functionality to xNetAdapterName resource.
Added CommonTestHelper module for aiding testing.
MSFT_xNetAdapterName:
Created new resource for renaming network adapters.
Added Find-NetAdapter cmdlet to NetworkingDsc.Common.
Correct example parameters format to meet style guidelines.
xSqlServer 7.1.0.0
Changes to xSQLServerMemory
Changed the way SQLServer parameter is passed from Test-TargetResource to Get-TargetResource so that the default value isn”t lost (issue 576).
Added condition to unit tests for when no SQLServer parameter is set.
Changes to xSQLServerMaxDop
Changed the way SQLServer parameter is passed from Test-TargetResource to Get-TargetResource so that the default value isn”t lost (issue 576).
Added condition to unit tests for when no SQLServer parameter is set.
Changes to xWaitForAvailabilityGroup
Updated README.md with a description for the resources and revised the parameter descriptions.
The default value for RetryIntervalSec is now 20 seconds and the default value for RetryCount is now 30 times (issue 505).
Cleaned up code and fixed PSSA rules warnings (issue 268).
Added unit tests (issue 297).
Added descriptive text to README.md that the account that runs the resource must have permission to run the cmdlet Get-ClusterGroup (issue 307).
Added read-only parameter GroupExist which will return $true if the cluster role/group exist, otherwise it returns $false (issue 510).
Added examples.
Changes to xSQLServerPermission
Cleaned up code, removed SupportsShouldProcess and fixed PSSA rules warnings (issue 241 and issue 262).
It is now possible to add permissions to two or more logins on the same instance (issue 526).
The parameter NodeName is no longer mandatory and has now the default value of $env:COMPUTERNAME.
The parameter Ensure now has a default value of “Present”.
Updated README.md with a description for the resources and revised the parameter descriptions.
Removed dependency of SQLPS provider (issue 482).
Added ConnectSql permission. Now that permission can also be granted or revoked.
Updated note in resource description to also mention ConnectSql permission.
Changes to xSQLServerHelper module
Removed helper function Get-SQLPSInstance and Get-SQLPSInstanceName because there is no resource using it any longer.
Added four new helper functions.
Register-SqlSmo, Register-SqlWmiManagement and Unregister-SqlAssemblies to handle the creation on the application domain and loading and unloading of the SMO and SqlWmiManagement assemblies.
Get-SqlInstanceMajorVersion to get the major SQL version for a specific instance.
Fixed typos in comment-based help
Changes to xSQLServer
Fixed typos in markdown files; CHANGELOG, CONTRIBUTING, README and ISSUE_TEMPLATE.
Fixed typos in schema.mof files (and README.md).
Updated some parameter description in schema.mof files on those that was found was not equal to README.md.
Changes to xSQLServerAlwaysOnService
Get-TargetResource should no longer fail silently with error “Index operation failed; the array index evaluated to null.” (issue 519). Now if the Server.IsHadrEnabled property return neither $true or $false the Get-TargetResource function will throw an error.
Changes to xSQLServerSetUp
Updated xSQLServerSetup Module Get-Resource method to fix (issue 516 and 490).
Added change to detect DQ, DQC, BOL, SDK features. Now the function Test-TargetResource returns true after calling set for DQ, DQC, BOL, SDK features (issue 516 and 490).
Changes to xSQLServerAlwaysOnAvailabilityGroup
Updated to return the exception raised when an error is thrown.
Changes to xSQLServerAlwaysOnAvailabilityGroupReplica
Updated to return the exception raised when an error is thrown.
Updated parameter description for parameter Name, so that it says it must be in the format SQLServer\InstanceName for named instance (issue 548).
Changes to xSQLServerLogin
Added an optional boolean parameter Disabled. It can be used to enable/disable existing logins or create disabled logins (new logins are created as enabled by default).
Changes to xSQLServerDatabaseRole
Updated variable passed to Microsoft.SqlServer.Management.Smo.User constructor to fix issue 530
Changes to xSQLServerNetwork
Added optional parameter SQLServer with default value of $env:COMPUTERNAME (issue 528).
Added optional parameter RestartTimeout with default value of 120 seconds.
Now the resource supports restarting a sql server in a cluster (issue 527 and issue 455).
Now the resource allows to set the parameter TcpDynamicPorts to a blank value (partly fixes issue 534). Setting a blank value for parameter TcpDynamicPorts together with a value for parameter TcpPort means that static port will be used.
Now the resource will not call Alter() in the Set-TargetResource when there is no change necessary (issue 537).
Updated example 1-EnableTcpIpOnCustomStaticPort.
Added unit tests (issue 294).
Refactored some of the code, cleaned up the rest and fixed PSSA rules warnings (issue 261).
If parameter TcpDynamicPort is set to “0” at the same time as TcpPort is set the resource will now throw an error (issue 535).
Added examples (issue 536).
When TcpDynamicPorts is set to “0” the Test-TargetResource function will no longer fail each time (issue 564).
Changes to xSQLServerRSConfig
Replaced sqlcmd.exe usages with Invoke-Sqlcmd calls (issue 567).
Changes to xSQLServerDatabasePermission
Fixed code style, updated README.md and removed *-SqlDatabasePermission functions from xSQLServerHelper.psm1.
Added the option “GrantWithGrant” with gives the user grant rights, together with the ability to grant others the same right.
Now the resource can revoke permission correctly (issue 454). When revoking “GrantWithGrant”, both the grantee and all the other users the grantee has granted the same permission to, will also get their permission revoked.
Updated tests to cover Revoke().
Changes to xSQLServerHelper
The missing helper function (“Test-SPDSCObjectHasProperty”), that was referenced in the helper function Test-SQLDscParameterState, is now incorporated into Test-SQLDscParameterState (issue 589).
xStorage 3.0.0.0
Converted AppVeyor build process to use AppVeyor.psm1.
Added support for auto generating wiki, help files, markdown linting and checking examples.
Correct name of MSFT_xDiskAccessPath.tests.ps1.
Move shared modules into Modules folder.
Fixed unit tests.
Removed support for WMI cmdlets.
Opted in to Markdown and Example tests.
Added CodeCov.io support.
Removed requirement on using Pester 3.4.6 because Pester bug fixed in 4.0.3.
Fixed unit tests for MSFT_xDiskAccessPath resource to be compatible with Pester 4.0.3.
xDisk:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId to enable it to
See Issue 81.
Added DiskIdType parameter to enable specifying the type of identifer
See Issue 81.
Changed to use xDiskAccessPath pattern to fix issue with Windows Server
See Issue 80.
Fixed style violations in xDisk.
Fixed issue when creating multiple partitions on a single disk with no size
See Issue 86.
xDiskAccessPath:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId to
See Issue 81.
Added DiskIdType parameter to enable specifying the type
See Issue 81.
Fixed incorrect logging messages when changing volume label.
Fixed issue when creating multiple partitions on a single disk with no size
See Issue 86.
xWaitForDisk:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId
See Issue 81.
Added DiskIdType parameter to enable specifying the type
See Issue 81.
How to Find Released DSC Resource Modules
To see a list of all released DSC Resource Kit modules, go to the PowerShell Gallery and display all modules tagged as DSCResourceKit. You can also enter a module’s name in the search box in the upper right corner of the PowerShell Gallery to find a specific module.
Of course, you can also always use PowerShellGet (available in WMF 5.0) to find modules with DSC Resources:
# To list all modules that are part of the DSC Resource Kit Find-Module -Tag DSCResourceKit # To list all DSC resources from all sources Find-DscResource
To find a specific module, go directly to its URL on the PowerShell Gallery: http://ift.tt/1FzKWKv< module name > For example: http://ift.tt/1IxiVp1
How to Install DSC Resource Modules From the PowerShell Gallery
We recommend that you use PowerShellGet to install DSC resource modules:
Install-Module -Name < module name >
For example:
Install-Module -Name xWebAdministration
To update all previously installed modules at once, open an elevated PowerShell prompt and use this command:
Update-Module
After installing modules, you can discover all DSC resources available to your local system with this command:
Get-DscResource
How to Find DSC Resource Modules on GitHub
All resource modules in the DSC Resource Kit are available open-source on GitHub. You can see the most recent state of a resource module by visiting its GitHub page at: http://ift.tt/1TMedwe< module name > For example, for the xCertificate module, go to: http://ift.tt/1IxiXgI.
All DSC modules are also listed as submodules of the DscResources repository in the xDscResources folder.
How to Contribute
You are more than welcome to contribute to the development of the DSC Resource Kit! There are several different ways you can help. You can create new DSC resources or modules, add test automation, improve documentation, fix existing issues, or open new ones. See our contributing guide for more info on how to become a DSC Resource Kit contributor.
If you would like to help, please take a look at the list of open issues for the DscResources repository. You can also check issues for specific resource modules by going to: http://ift.tt/1TMedwe< module name >/issues For example: http://ift.tt/1JhnNnX
Your help in developing the DSC Resource Kit is invaluable to us!
Questions, comments?
If you’re looking into using PowerShell DSC, have questions or issues with a current resource, or would like a new resource, let us know in the comments below, on Twitter (@PowerShell_Team), or by creating an issue on GitHub.
Katie Keim Software Engineer PowerShell Team @katiedsc (Twitter) @kwirkykat (GitHub)
from DIYS http://ift.tt/2qI5UHn
0 notes
porchenclose10019 · 8 years ago
Text
DSC Resource Kit Release May 2017
We just released the DSC Resource Kit!This release includes updates to 10 DSC resource modules including 3 new resources. In these past 6 weeks, 60 pull requests have been merged and 58 issues have been closed, all thanks to our amazing community!
The modules updated in this release are:
SharePointDsc
SecurityPolicyDsc
xCertificate
xComputerManagement
xCredSSP
xExchange
xHyper-V
xNetworking
xSqlServer
xStorage
PSDscResources and xDFS are also in the pipeline for release, but they are currently failing tests. They will be released when tests are passing.
For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below.
Our last community call for the DSC Resource Kit was last week on May 24. A recording of our updates as well as summarizing notes are available. Join us next time to ask questions and give feedback about your experience with the DSC Resource Kit. Keep an eye on the community agenda for the link to the next call.
We strongly encourage you to update to the newest version of all modules using the PowerShell Gallery, and don’t forget to give us your feedback in the comments below, on GitHub, or on Twitter (@PowerShell_Team)!
All resources with the ‘x’ prefix in their names are still experimental – this means that those resources are provided AS IS and are not supported through any Microsoft support program or service. If you find a problem with a resource, please file an issue on GitHub.
Included in this Release
You can see a detailed summary of all changes included in this release in the table below. For past release notes, go to the README.md or Changelog.md file on the GitHub repository page for a specific module (see the How to Find DSC Resource Modules on GitHub section below for details on finding the GitHub page for a specific module).
Module Name Version Release Notes SharePointDsc 1.7.0.0
Update SPSearchIndexPartition made ServiceAppName as a Key
New resouce: SPTrustedRootAuthority
Update SPFarmSolution to eject from loop after 30m.
New resource: SPMachineTranslationServiceApp
New resource: SPPowerPointAutomationServiceApp
Bugfix in SPSearchFileType made ServiceAppName a key property.
New resource: SPWebApplicationExtension
Added new resource SPAccessServices2010
Added MSFT_SPSearchCrawlMapping Resource to manage Crawl Mappings for Search Service Application
Added new resource SPSearchAuthoritativePage
Bugfix in SPWebAppThrottlingSettings for setting large list window time.
Fix typo in method Get-TargetResource of SPFeature
Fix bug in SPManagedAccount not returning the correct account name value
Fix typo in method Get-TargetResource of SPSearchIndexPartition
Update documentation of SPInstallLanguagePack to add guidance on package change in SP2016
Added returning the required RunCentralAdmin parameter to Get-TargetResource in SPFarm
Added web role check for SPBlobCacheSettings
Improved error message when rule could not be found in SPHealthAnalyzerRuleState
Extended the documentation to specify that the default value of Ensure is Present
Added documentation about the user of Host Header Site Collections and the HostHeader parameter in SPWebApplication
Fixed missing brackets in SPWebAppPolicy module file
Fixed issue with SPSecureStoreServiceApp not returning database information
Fixed issue with SPManagedMetadataServiceApp not returning ContentTypeHubUrl in SP2016
Updated SPTrustedIdentityTokenIssuer to allow to specify the signing certificate from file path as an alternative to the certificate store
New resource: SPSearchCrawlerImpactRule
Fixed issue in SPSite where the used template wasn’t returned properly
Fixed issue in SPWebApplicationGeneralSettings which didn’t return the security validation timeout properly
Fixed bug in SPCreateFarm and SPJoinFarm when a SharePoint Server is already joined to a farm
Bugfix in SPContentDatabase for setting WarningSiteCount as 0.
Fixing verbose message that identifies SP2016 as 2013 in MSFT_SPFarm
Fixed SPProductUpdate looking for OSearch15 in SP2016 when stopping services
Added TermStoreAdministrators property to SPManagedMetadataServiceApp
Fixed an issue in SPSearchTopology that would leave a corrupt topology in place if a server was removed and re-added to a farm
Fixed bug in SPFarm that caused issues with database names that have dashes in the names
SecurityPolicyDsc 1.4.0.0
Added functionality to support BaselineManagement Module.
Updated UserRightsAssignment resource to respect dynamic local accounts.
Added SecuritySetting resource to process additional INF settings.
xCertificate 2.6.0.0
Added mandatory properties for xPfxImport resource example.
xCertReq:
Fixed issue where xCertReq does not identify when DNS Names in SANs are incorrect.
Added Certificate Authority auto-discovery to resource xCertReq.
Added SAN and certificate template name to xCertReq”s Get-TargetResource
Added new parameter UseMachineContext to be able to use CA templates that try to fill the subject alternative name
CertificateDSc.Common:
Added function Get-CertificateTemplateName to retrieve template name
Added function Get-CertificateSan to retrieve subject alternative name
Added function Find-CertificateAuthority to enable auto-discovery
xComputerManagement 1.10.0.0
Added resources
xVirtualMemory
xCredSSP 1.3.0.0
Added a fix to enable credSSP with a fresh server installation
xExchange 1.15.0.0
xExchDatabaseAvailabilityGroupMember: Added check to ensure Failover-Clustering role is installed before adding server to DAG.
xExchInstall: Remove parameter “-AllowImmediateReboot $AllowImmediateReboot” when calling CheckWSManConfig.
xExchOutlookAnywhere: Add test for ExternalClientAuthenticationMethod.
Test: Update OAB and UMService tests to create test OAB and UMDialPlans, respectively.
xHyper-V 3.8.0.0
Fix bug in xVMDvdDrive with hardcoded VM Name.
Corrected Markdown rule violations in Readme.md.
xNetworking 4.0.0.0
Converted to use AppVeyor.psm1 in DSCResource.Tests repository.
Converted to use Example and Markdown tests in DSCResource.Tests repository.
Added CodeCov.io support.
Added a new example to xDNSServerAddress to clarify setting multiple DNS Servers.
Fix examples to correct display in auto documentation generation.
BREAKING CHANGE: Migrated xNetworkAdapter module functionality to xNetAdapterName resource.
Added CommonTestHelper module for aiding testing.
MSFT_xNetAdapterName:
Created new resource for renaming network adapters.
Added Find-NetAdapter cmdlet to NetworkingDsc.Common.
Correct example parameters format to meet style guidelines.
xSqlServer 7.1.0.0
Changes to xSQLServerMemory
Changed the way SQLServer parameter is passed from Test-TargetResource to Get-TargetResource so that the default value isn”t lost (issue 576).
Added condition to unit tests for when no SQLServer parameter is set.
Changes to xSQLServerMaxDop
Changed the way SQLServer parameter is passed from Test-TargetResource to Get-TargetResource so that the default value isn”t lost (issue 576).
Added condition to unit tests for when no SQLServer parameter is set.
Changes to xWaitForAvailabilityGroup
Updated README.md with a description for the resources and revised the parameter descriptions.
The default value for RetryIntervalSec is now 20 seconds and the default value for RetryCount is now 30 times (issue 505).
Cleaned up code and fixed PSSA rules warnings (issue 268).
Added unit tests (issue 297).
Added descriptive text to README.md that the account that runs the resource must have permission to run the cmdlet Get-ClusterGroup (issue 307).
Added read-only parameter GroupExist which will return $true if the cluster role/group exist, otherwise it returns $false (issue 510).
Added examples.
Changes to xSQLServerPermission
Cleaned up code, removed SupportsShouldProcess and fixed PSSA rules warnings (issue 241 and issue 262).
It is now possible to add permissions to two or more logins on the same instance (issue 526).
The parameter NodeName is no longer mandatory and has now the default value of $env:COMPUTERNAME.
The parameter Ensure now has a default value of “Present”.
Updated README.md with a description for the resources and revised the parameter descriptions.
Removed dependency of SQLPS provider (issue 482).
Added ConnectSql permission. Now that permission can also be granted or revoked.
Updated note in resource description to also mention ConnectSql permission.
Changes to xSQLServerHelper module
Removed helper function Get-SQLPSInstance and Get-SQLPSInstanceName because there is no resource using it any longer.
Added four new helper functions.
Register-SqlSmo, Register-SqlWmiManagement and Unregister-SqlAssemblies to handle the creation on the application domain and loading and unloading of the SMO and SqlWmiManagement assemblies.
Get-SqlInstanceMajorVersion to get the major SQL version for a specific instance.
Fixed typos in comment-based help
Changes to xSQLServer
Fixed typos in markdown files; CHANGELOG, CONTRIBUTING, README and ISSUE_TEMPLATE.
Fixed typos in schema.mof files (and README.md).
Updated some parameter description in schema.mof files on those that was found was not equal to README.md.
Changes to xSQLServerAlwaysOnService
Get-TargetResource should no longer fail silently with error “Index operation failed; the array index evaluated to null.” (issue 519). Now if the Server.IsHadrEnabled property return neither $true or $false the Get-TargetResource function will throw an error.
Changes to xSQLServerSetUp
Updated xSQLServerSetup Module Get-Resource method to fix (issue 516 and 490).
Added change to detect DQ, DQC, BOL, SDK features. Now the function Test-TargetResource returns true after calling set for DQ, DQC, BOL, SDK features (issue 516 and 490).
Changes to xSQLServerAlwaysOnAvailabilityGroup
Updated to return the exception raised when an error is thrown.
Changes to xSQLServerAlwaysOnAvailabilityGroupReplica
Updated to return the exception raised when an error is thrown.
Updated parameter description for parameter Name, so that it says it must be in the format SQLServer\InstanceName for named instance (issue 548).
Changes to xSQLServerLogin
Added an optional boolean parameter Disabled. It can be used to enable/disable existing logins or create disabled logins (new logins are created as enabled by default).
Changes to xSQLServerDatabaseRole
Updated variable passed to Microsoft.SqlServer.Management.Smo.User constructor to fix issue 530
Changes to xSQLServerNetwork
Added optional parameter SQLServer with default value of $env:COMPUTERNAME (issue 528).
Added optional parameter RestartTimeout with default value of 120 seconds.
Now the resource supports restarting a sql server in a cluster (issue 527 and issue 455).
Now the resource allows to set the parameter TcpDynamicPorts to a blank value (partly fixes issue 534). Setting a blank value for parameter TcpDynamicPorts together with a value for parameter TcpPort means that static port will be used.
Now the resource will not call Alter() in the Set-TargetResource when there is no change necessary (issue 537).
Updated example 1-EnableTcpIpOnCustomStaticPort.
Added unit tests (issue 294).
Refactored some of the code, cleaned up the rest and fixed PSSA rules warnings (issue 261).
If parameter TcpDynamicPort is set to “0” at the same time as TcpPort is set the resource will now throw an error (issue 535).
Added examples (issue 536).
When TcpDynamicPorts is set to “0” the Test-TargetResource function will no longer fail each time (issue 564).
Changes to xSQLServerRSConfig
Replaced sqlcmd.exe usages with Invoke-Sqlcmd calls (issue 567).
Changes to xSQLServerDatabasePermission
Fixed code style, updated README.md and removed *-SqlDatabasePermission functions from xSQLServerHelper.psm1.
Added the option “GrantWithGrant” with gives the user grant rights, together with the ability to grant others the same right.
Now the resource can revoke permission correctly (issue 454). When revoking “GrantWithGrant”, both the grantee and all the other users the grantee has granted the same permission to, will also get their permission revoked.
Updated tests to cover Revoke().
Changes to xSQLServerHelper
The missing helper function (“Test-SPDSCObjectHasProperty”), that was referenced in the helper function Test-SQLDscParameterState, is now incorporated into Test-SQLDscParameterState (issue 589).
xStorage 3.0.0.0
Converted AppVeyor build process to use AppVeyor.psm1.
Added support for auto generating wiki, help files, markdown linting and checking examples.
Correct name of MSFT_xDiskAccessPath.tests.ps1.
Move shared modules into Modules folder.
Fixed unit tests.
Removed support for WMI cmdlets.
Opted in to Markdown and Example tests.
Added CodeCov.io support.
Removed requirement on using Pester 3.4.6 because Pester bug fixed in 4.0.3.
Fixed unit tests for MSFT_xDiskAccessPath resource to be compatible with Pester 4.0.3.
xDisk:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId to enable it to
See Issue 81.
Added DiskIdType parameter to enable specifying the type of identifer
See Issue 81.
Changed to use xDiskAccessPath pattern to fix issue with Windows Server
See Issue 80.
Fixed style violations in xDisk.
Fixed issue when creating multiple partitions on a single disk with no size
See Issue 86.
xDiskAccessPath:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId to
See Issue 81.
Added DiskIdType parameter to enable specifying the type
See Issue 81.
Fixed incorrect logging messages when changing volume label.
Fixed issue when creating multiple partitions on a single disk with no size
See Issue 86.
xWaitForDisk:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId
See Issue 81.
Added DiskIdType parameter to enable specifying the type
See Issue 81.
How to Find Released DSC Resource Modules
To see a list of all released DSC Resource Kit modules, go to the PowerShell Gallery and display all modules tagged as DSCResourceKit. You can also enter a module’s name in the search box in the upper right corner of the PowerShell Gallery to find a specific module.
Of course, you can also always use PowerShellGet (available in WMF 5.0) to find modules with DSC Resources:
# To list all modules that are part of the DSC Resource Kit Find-Module -Tag DSCResourceKit # To list all DSC resources from all sources Find-DscResource
To find a specific module, go directly to its URL on the PowerShell Gallery: http://ift.tt/1FzKWKv< module name > For example: http://ift.tt/1IxiVp1
How to Install DSC Resource Modules From the PowerShell Gallery
We recommend that you use PowerShellGet to install DSC resource modules:
Install-Module -Name < module name >
For example:
Install-Module -Name xWebAdministration
To update all previously installed modules at once, open an elevated PowerShell prompt and use this command:
Update-Module
After installing modules, you can discover all DSC resources available to your local system with this command:
Get-DscResource
How to Find DSC Resource Modules on GitHub
All resource modules in the DSC Resource Kit are available open-source on GitHub. You can see the most recent state of a resource module by visiting its GitHub page at: http://ift.tt/1TMedwe< module name > For example, for the xCertificate module, go to: http://ift.tt/1IxiXgI.
All DSC modules are also listed as submodules of the DscResources repository in the xDscResources folder.
How to Contribute
You are more than welcome to contribute to the development of the DSC Resource Kit! There are several different ways you can help. You can create new DSC resources or modules, add test automation, improve documentation, fix existing issues, or open new ones. See our contributing guide for more info on how to become a DSC Resource Kit contributor.
If you would like to help, please take a look at the list of open issues for the DscResources repository. You can also check issues for specific resource modules by going to: http://ift.tt/1TMedwe< module name >/issues For example: http://ift.tt/1JhnNnX
Your help in developing the DSC Resource Kit is invaluable to us!
Questions, comments?
If you’re looking into using PowerShell DSC, have questions or issues with a current resource, or would like a new resource, let us know in the comments below, on Twitter (@PowerShell_Team), or by creating an issue on GitHub.
Katie Keim Software Engineer PowerShell Team @katiedsc (Twitter) @kwirkykat (GitHub)
from DIYS http://ift.tt/2qI5UHn
0 notes
rtawngs20815 · 8 years ago
Text
DSC Resource Kit Release May 2017
We just released the DSC Resource Kit!This release includes updates to 10 DSC resource modules including 3 new resources. In these past 6 weeks, 60 pull requests have been merged and 58 issues have been closed, all thanks to our amazing community!
The modules updated in this release are:
SharePointDsc
SecurityPolicyDsc
xCertificate
xComputerManagement
xCredSSP
xExchange
xHyper-V
xNetworking
xSqlServer
xStorage
PSDscResources and xDFS are also in the pipeline for release, but they are currently failing tests. They will be released when tests are passing.
For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below.
Our last community call for the DSC Resource Kit was last week on May 24. A recording of our updates as well as summarizing notes are available. Join us next time to ask questions and give feedback about your experience with the DSC Resource Kit. Keep an eye on the community agenda for the link to the next call.
We strongly encourage you to update to the newest version of all modules using the PowerShell Gallery, and don’t forget to give us your feedback in the comments below, on GitHub, or on Twitter (@PowerShell_Team)!
All resources with the ‘x’ prefix in their names are still experimental – this means that those resources are provided AS IS and are not supported through any Microsoft support program or service. If you find a problem with a resource, please file an issue on GitHub.
Included in this Release
You can see a detailed summary of all changes included in this release in the table below. For past release notes, go to the README.md or Changelog.md file on the GitHub repository page for a specific module (see the How to Find DSC Resource Modules on GitHub section below for details on finding the GitHub page for a specific module).
Module Name Version Release Notes SharePointDsc 1.7.0.0
Update SPSearchIndexPartition made ServiceAppName as a Key
New resouce: SPTrustedRootAuthority
Update SPFarmSolution to eject from loop after 30m.
New resource: SPMachineTranslationServiceApp
New resource: SPPowerPointAutomationServiceApp
Bugfix in SPSearchFileType made ServiceAppName a key property.
New resource: SPWebApplicationExtension
Added new resource SPAccessServices2010
Added MSFT_SPSearchCrawlMapping Resource to manage Crawl Mappings for Search Service Application
Added new resource SPSearchAuthoritativePage
Bugfix in SPWebAppThrottlingSettings for setting large list window time.
Fix typo in method Get-TargetResource of SPFeature
Fix bug in SPManagedAccount not returning the correct account name value
Fix typo in method Get-TargetResource of SPSearchIndexPartition
Update documentation of SPInstallLanguagePack to add guidance on package change in SP2016
Added returning the required RunCentralAdmin parameter to Get-TargetResource in SPFarm
Added web role check for SPBlobCacheSettings
Improved error message when rule could not be found in SPHealthAnalyzerRuleState
Extended the documentation to specify that the default value of Ensure is Present
Added documentation about the user of Host Header Site Collections and the HostHeader parameter in SPWebApplication
Fixed missing brackets in SPWebAppPolicy module file
Fixed issue with SPSecureStoreServiceApp not returning database information
Fixed issue with SPManagedMetadataServiceApp not returning ContentTypeHubUrl in SP2016
Updated SPTrustedIdentityTokenIssuer to allow to specify the signing certificate from file path as an alternative to the certificate store
New resource: SPSearchCrawlerImpactRule
Fixed issue in SPSite where the used template wasn’t returned properly
Fixed issue in SPWebApplicationGeneralSettings which didn’t return the security validation timeout properly
Fixed bug in SPCreateFarm and SPJoinFarm when a SharePoint Server is already joined to a farm
Bugfix in SPContentDatabase for setting WarningSiteCount as 0.
Fixing verbose message that identifies SP2016 as 2013 in MSFT_SPFarm
Fixed SPProductUpdate looking for OSearch15 in SP2016 when stopping services
Added TermStoreAdministrators property to SPManagedMetadataServiceApp
Fixed an issue in SPSearchTopology that would leave a corrupt topology in place if a server was removed and re-added to a farm
Fixed bug in SPFarm that caused issues with database names that have dashes in the names
SecurityPolicyDsc 1.4.0.0
Added functionality to support BaselineManagement Module.
Updated UserRightsAssignment resource to respect dynamic local accounts.
Added SecuritySetting resource to process additional INF settings.
xCertificate 2.6.0.0
Added mandatory properties for xPfxImport resource example.
xCertReq:
Fixed issue where xCertReq does not identify when DNS Names in SANs are incorrect.
Added Certificate Authority auto-discovery to resource xCertReq.
Added SAN and certificate template name to xCertReq”s Get-TargetResource
Added new parameter UseMachineContext to be able to use CA templates that try to fill the subject alternative name
CertificateDSc.Common:
Added function Get-CertificateTemplateName to retrieve template name
Added function Get-CertificateSan to retrieve subject alternative name
Added function Find-CertificateAuthority to enable auto-discovery
xComputerManagement 1.10.0.0
Added resources
xVirtualMemory
xCredSSP 1.3.0.0
Added a fix to enable credSSP with a fresh server installation
xExchange 1.15.0.0
xExchDatabaseAvailabilityGroupMember: Added check to ensure Failover-Clustering role is installed before adding server to DAG.
xExchInstall: Remove parameter “-AllowImmediateReboot $AllowImmediateReboot” when calling CheckWSManConfig.
xExchOutlookAnywhere: Add test for ExternalClientAuthenticationMethod.
Test: Update OAB and UMService tests to create test OAB and UMDialPlans, respectively.
xHyper-V 3.8.0.0
Fix bug in xVMDvdDrive with hardcoded VM Name.
Corrected Markdown rule violations in Readme.md.
xNetworking 4.0.0.0
Converted to use AppVeyor.psm1 in DSCResource.Tests repository.
Converted to use Example and Markdown tests in DSCResource.Tests repository.
Added CodeCov.io support.
Added a new example to xDNSServerAddress to clarify setting multiple DNS Servers.
Fix examples to correct display in auto documentation generation.
BREAKING CHANGE: Migrated xNetworkAdapter module functionality to xNetAdapterName resource.
Added CommonTestHelper module for aiding testing.
MSFT_xNetAdapterName:
Created new resource for renaming network adapters.
Added Find-NetAdapter cmdlet to NetworkingDsc.Common.
Correct example parameters format to meet style guidelines.
xSqlServer 7.1.0.0
Changes to xSQLServerMemory
Changed the way SQLServer parameter is passed from Test-TargetResource to Get-TargetResource so that the default value isn”t lost (issue 576).
Added condition to unit tests for when no SQLServer parameter is set.
Changes to xSQLServerMaxDop
Changed the way SQLServer parameter is passed from Test-TargetResource to Get-TargetResource so that the default value isn”t lost (issue 576).
Added condition to unit tests for when no SQLServer parameter is set.
Changes to xWaitForAvailabilityGroup
Updated README.md with a description for the resources and revised the parameter descriptions.
The default value for RetryIntervalSec is now 20 seconds and the default value for RetryCount is now 30 times (issue 505).
Cleaned up code and fixed PSSA rules warnings (issue 268).
Added unit tests (issue 297).
Added descriptive text to README.md that the account that runs the resource must have permission to run the cmdlet Get-ClusterGroup (issue 307).
Added read-only parameter GroupExist which will return $true if the cluster role/group exist, otherwise it returns $false (issue 510).
Added examples.
Changes to xSQLServerPermission
Cleaned up code, removed SupportsShouldProcess and fixed PSSA rules warnings (issue 241 and issue 262).
It is now possible to add permissions to two or more logins on the same instance (issue 526).
The parameter NodeName is no longer mandatory and has now the default value of $env:COMPUTERNAME.
The parameter Ensure now has a default value of “Present”.
Updated README.md with a description for the resources and revised the parameter descriptions.
Removed dependency of SQLPS provider (issue 482).
Added ConnectSql permission. Now that permission can also be granted or revoked.
Updated note in resource description to also mention ConnectSql permission.
Changes to xSQLServerHelper module
Removed helper function Get-SQLPSInstance and Get-SQLPSInstanceName because there is no resource using it any longer.
Added four new helper functions.
Register-SqlSmo, Register-SqlWmiManagement and Unregister-SqlAssemblies to handle the creation on the application domain and loading and unloading of the SMO and SqlWmiManagement assemblies.
Get-SqlInstanceMajorVersion to get the major SQL version for a specific instance.
Fixed typos in comment-based help
Changes to xSQLServer
Fixed typos in markdown files; CHANGELOG, CONTRIBUTING, README and ISSUE_TEMPLATE.
Fixed typos in schema.mof files (and README.md).
Updated some parameter description in schema.mof files on those that was found was not equal to README.md.
Changes to xSQLServerAlwaysOnService
Get-TargetResource should no longer fail silently with error “Index operation failed; the array index evaluated to null.” (issue 519). Now if the Server.IsHadrEnabled property return neither $true or $false the Get-TargetResource function will throw an error.
Changes to xSQLServerSetUp
Updated xSQLServerSetup Module Get-Resource method to fix (issue 516 and 490).
Added change to detect DQ, DQC, BOL, SDK features. Now the function Test-TargetResource returns true after calling set for DQ, DQC, BOL, SDK features (issue 516 and 490).
Changes to xSQLServerAlwaysOnAvailabilityGroup
Updated to return the exception raised when an error is thrown.
Changes to xSQLServerAlwaysOnAvailabilityGroupReplica
Updated to return the exception raised when an error is thrown.
Updated parameter description for parameter Name, so that it says it must be in the format SQLServer\InstanceName for named instance (issue 548).
Changes to xSQLServerLogin
Added an optional boolean parameter Disabled. It can be used to enable/disable existing logins or create disabled logins (new logins are created as enabled by default).
Changes to xSQLServerDatabaseRole
Updated variable passed to Microsoft.SqlServer.Management.Smo.User constructor to fix issue 530
Changes to xSQLServerNetwork
Added optional parameter SQLServer with default value of $env:COMPUTERNAME (issue 528).
Added optional parameter RestartTimeout with default value of 120 seconds.
Now the resource supports restarting a sql server in a cluster (issue 527 and issue 455).
Now the resource allows to set the parameter TcpDynamicPorts to a blank value (partly fixes issue 534). Setting a blank value for parameter TcpDynamicPorts together with a value for parameter TcpPort means that static port will be used.
Now the resource will not call Alter() in the Set-TargetResource when there is no change necessary (issue 537).
Updated example 1-EnableTcpIpOnCustomStaticPort.
Added unit tests (issue 294).
Refactored some of the code, cleaned up the rest and fixed PSSA rules warnings (issue 261).
If parameter TcpDynamicPort is set to “0” at the same time as TcpPort is set the resource will now throw an error (issue 535).
Added examples (issue 536).
When TcpDynamicPorts is set to “0” the Test-TargetResource function will no longer fail each time (issue 564).
Changes to xSQLServerRSConfig
Replaced sqlcmd.exe usages with Invoke-Sqlcmd calls (issue 567).
Changes to xSQLServerDatabasePermission
Fixed code style, updated README.md and removed *-SqlDatabasePermission functions from xSQLServerHelper.psm1.
Added the option “GrantWithGrant” with gives the user grant rights, together with the ability to grant others the same right.
Now the resource can revoke permission correctly (issue 454). When revoking “GrantWithGrant”, both the grantee and all the other users the grantee has granted the same permission to, will also get their permission revoked.
Updated tests to cover Revoke().
Changes to xSQLServerHelper
The missing helper function (“Test-SPDSCObjectHasProperty”), that was referenced in the helper function Test-SQLDscParameterState, is now incorporated into Test-SQLDscParameterState (issue 589).
xStorage 3.0.0.0
Converted AppVeyor build process to use AppVeyor.psm1.
Added support for auto generating wiki, help files, markdown linting and checking examples.
Correct name of MSFT_xDiskAccessPath.tests.ps1.
Move shared modules into Modules folder.
Fixed unit tests.
Removed support for WMI cmdlets.
Opted in to Markdown and Example tests.
Added CodeCov.io support.
Removed requirement on using Pester 3.4.6 because Pester bug fixed in 4.0.3.
Fixed unit tests for MSFT_xDiskAccessPath resource to be compatible with Pester 4.0.3.
xDisk:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId to enable it to
See Issue 81.
Added DiskIdType parameter to enable specifying the type of identifer
See Issue 81.
Changed to use xDiskAccessPath pattern to fix issue with Windows Server
See Issue 80.
Fixed style violations in xDisk.
Fixed issue when creating multiple partitions on a single disk with no size
See Issue 86.
xDiskAccessPath:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId to
See Issue 81.
Added DiskIdType parameter to enable specifying the type
See Issue 81.
Fixed incorrect logging messages when changing volume label.
Fixed issue when creating multiple partitions on a single disk with no size
See Issue 86.
xWaitForDisk:
BREAKING CHANGE: Renamed parameter DiskNumber to DiskId
See Issue 81.
Added DiskIdType parameter to enable specifying the type
See Issue 81.
How to Find Released DSC Resource Modules
To see a list of all released DSC Resource Kit modules, go to the PowerShell Gallery and display all modules tagged as DSCResourceKit. You can also enter a module’s name in the search box in the upper right corner of the PowerShell Gallery to find a specific module.
Of course, you can also always use PowerShellGet (available in WMF 5.0) to find modules with DSC Resources:
# To list all modules that are part of the DSC Resource Kit Find-Module -Tag DSCResourceKit # To list all DSC resources from all sources Find-DscResource
To find a specific module, go directly to its URL on the PowerShell Gallery: http://ift.tt/1FzKWKv< module name > For example: http://ift.tt/1IxiVp1
How to Install DSC Resource Modules From the PowerShell Gallery
We recommend that you use PowerShellGet to install DSC resource modules:
Install-Module -Name < module name >
For example:
Install-Module -Name xWebAdministration
To update all previously installed modules at once, open an elevated PowerShell prompt and use this command:
Update-Module
After installing modules, you can discover all DSC resources available to your local system with this command:
Get-DscResource
How to Find DSC Resource Modules on GitHub
All resource modules in the DSC Resource Kit are available open-source on GitHub. You can see the most recent state of a resource module by visiting its GitHub page at: http://ift.tt/1TMedwe< module name > For example, for the xCertificate module, go to: http://ift.tt/1IxiXgI.
All DSC modules are also listed as submodules of the DscResources repository in the xDscResources folder.
How to Contribute
You are more than welcome to contribute to the development of the DSC Resource Kit! There are several different ways you can help. You can create new DSC resources or modules, add test automation, improve documentation, fix existing issues, or open new ones. See our contributing guide for more info on how to become a DSC Resource Kit contributor.
If you would like to help, please take a look at the list of open issues for the DscResources repository. You can also check issues for specific resource modules by going to: http://ift.tt/1TMedwe< module name >/issues For example: http://ift.tt/1JhnNnX
Your help in developing the DSC Resource Kit is invaluable to us!
Questions, comments?
If you’re looking into using PowerShell DSC, have questions or issues with a current resource, or would like a new resource, let us know in the comments below, on Twitter (@PowerShell_Team), or by creating an issue on GitHub.
Katie Keim Software Engineer PowerShell Team @katiedsc (Twitter) @kwirkykat (GitHub)
from DIYS http://ift.tt/2qI5UHn
0 notes
robertbryantblog · 6 years ago
Text
When Buy Ssl Encryption
What’s App Data Backup
What’s App Data Backup The default is xml. If the server argument is the safeguard gateway. By default, there is a german language page. When you click stop recording, obs studio will save your web page will still be controlled and maintained by their relevant to the searchers search. The first step is obligatory. Textem permits you to send free text message in the verification by cctv cameras, card/code protection and http server. The sophisticated web based automation that enables the ssh file. Open server supervisor. Can you help your firm be sure of the undeniable fact that no one will come from v2 of the iab’s content material taxonomy. If you’ve registered and making plans a web site, but if you look past couple of years, continuous data.
Will Free Web Host Edition
You know enough those that sees it’ll double click create, a brief validation may be useful for most distributions—i.E., all items were checked in default environment to open source itself, has just a little better scalability factor when consumers need not be involved in the sharepoint farm, and home windows powershell commands away. In some cases, it might not also be simply available. So 1 core as antagonistic to arising their subscribers if you decide godaddy ssl certificates are already among the team.A family that isn’t really any harder, all that did not need all of the moon chart the path of information easily seen, make sure you set the goal. The most sought after reason is the best full disk encryption alternatives that are available to you, let me know and i’d rather have more protection and.
When Dns Uses Tcp
You’re also thinking of acquiring identities of entities users or link it on other websites. When you choose to change it for your mojang account and now it is time it transmits redo data to get your website going, you click play now, you will all become movements with little as 5 % or less, know what you would like as thunderbird, outlook, windows mail, outlook categorical and other similar email inboxes on a obtain-only, attachment-free system that calls for no sign-up. Magazines | technological know-how scholars | more apps. The menu search.
What Free Vpn Pc
Leaks and weak protocols, which appends are made available by only one day. Minimize the relationship has been restored. Now you login to your mail debts, server logs access, and web applied sciences, now the market has already boomed and could invalidate its signature. We opt to have vps internet hosting. Hopefully it will allow you to. Incase iis is restated then session host tips for each current host’s amenities, we will price tag for your website, as a result of your website is working fine in all facets. It is that the users get their fundamental objective is to resolve advertising issues and to take better choices on the program.| 1 click start, click in whm function manager. This is reason godaddy has number of the lunar module was pretty shoes for pretty feet, regardless of where you store it. With their online website builder or that you could do a little of the explanation why. But hey, i like to live wallpapers are pretty light in this esx host. When your.
The post When Buy Ssl Encryption appeared first on Quick Click Hosting.
from Quick Click Hosting https://quickclickhosting.com/when-buy-ssl-encryption-2/
0 notes
galactissolutions · 8 years ago
Text
55095: SharePoint 2010 and 2013 Auditing and Site Content Administration using PowerShell, thailand
55095: SharePoint 2010 and 2013 Auditing and Site Content Administration using PowerShell
55095: SharePoint 2010 And 2013 Auditing And Site Content Administration Using PowerShell Course Description
Duration: 5.00 days (40 hours)
This one day class is designed for SharePoint 2010 and 2013 server administrators and auditors who need to query just about anything in SharePoint. The class handout is effectively a cheat sheet with over 175 PowerShell scripts plus the general patterns to create your own scripts. These scripts cover:
using the SharePoint Management Shell and the ISE
general tips for counting, reformatting and exporting results;
understand and drilling up and down the SharePoint object model
getting lists / inventories of servers, services web applications, sites, webs, lists, libraries, items, fields, content types, users and much more
finding lists by template type, content type and types of content
finding files by user, content type, file extension, checked out status, size and age
finding inactive sites
finding and changing SharePoint Designer settings and finding and resetting customized pages
inventorying and managing features
deleting and recycling files and list items
inventorying users and user permissions and finding out who can access what
creating sites, lists and libraries
uploading and downloading files
and much more
Intended Audience For This 55095: SharePoint 2010 And 2013 Auditing And Site Content Administration Using PowerShell Course
» SharePoint server administrators.
» SharePoint auditors.
» Also valuable for SharePoint developers.
55095: SharePoint 2010 And 2013 Auditing And Site Content Administration Using PowerShell Course Objectives
» Use PowerShell to query just about anything inside of SharePoint.
» Understand the core SharePoint object model and object hierarchy as seen from PowerShell.
» Format PowerShell output in to reports.
» Manage resources to limit the impact on production servers.
» Create and delete Site Collections, subsites, lists, libraries and content.
55095: SharePoint 2010 And 2013 Auditing And Site Content Administration Using PowerShell Course Outline
Module 1: SharePoint and PowerShell
History of PowerShell in SharePoint
PowerShell vs. Search
PowerShell, SharePoint Management Shell and cmdlets
Security and Permissions Needed
Getting Started with PowerShell: Counting Items, Custom Columns, Reformatting Numbers, Saving Results to a File
Changing and Updating Content: Creating SharePoint Objects, Changing Objects
Lab : Using PowerShell with SharePoint
Using PowerShell with SharePoint
Module 2: Working with SharePoint CMDLETs and Objects
GUIDs
Sites vs. Webs
The SharePoint Object Hierarchy
Lab : Working with SharePoint CMDLETs and Objects
Get a list of all Site Collections and their GUIDs
Get a list of all Webs in all Site Collections
Given a webs URL get its parent web and web application
Module 3: Managing Memory and Limiting Performance Impact
Memory Management and Disposing Objects
Limiting Impact on Production Servers
Lab : Managing Memory and Limiting Performance Impact
Exploring PowerShells use of system memory.
Testing the impact of scripts on server performance
Module 4: Working with Content
Getting Farm Information: version, services, services, features
Getting Web Application information
Exploring Site Collections: retrieve Site Collections, Site Collection Administrators, quotas
Working with the Recycle Bins: finding items, getting file counts and bytes, deleted sites
Exploring Webs: web templates, finding webs, finding webs based on template, Quick Launch and Top Link Bar navigation
Exploring Lists and Libraries: finding all lists, lists by type, lists by Content Type, columns/fields, document count by web or library
Exploring Content Types
Finding documents: by a word in the title, file type, content type, size, date age, checked out status, approval status and many more�?�
Deleting content
Downloading and uploading files
Lab : Working with Content
Explore the farm.
Inventory site collections.
Create a recycle bin report.
Finding all blog sites.
Find all picture libraries.
Find all PDF files over 5 MB.
Delete all videos in a site collection.
Module 5: Users and Security
Users: find a user, get a list of all users, working with Active Directory groups
SharePoint groups: Get lists of groups, get the members of a group, find all groups a user belongs to, find the groups associated with a web
Expanding users lists that include Active Directory groups
Documenting Broken Inheritance / Unique Permissions: webs, lists, libraries, folders, items
Working with Role Assignments
Lab : Users and Security
Get a list of all users who have access to a Site Collection.
Get a list of all groups in a Site Collection.
Get a list of all groups a user belongs to.
List all users who may have access to a SharePoint securable.
Get a list of all securables with broken inheritance.
Module 6: Managing Sites
Finding Inactive Webs
Creating and Deleting Site Collections
Getting Site Collection Data
Creating and Deleting Subsites
Working With SharePoint Designer Settings
Lab : Managing Sites
Create a report for inactive sites.
Create a site collection and subsites.
Delete a site.
Delete a site collection.
Disable SharePoint Designer in all site collections.
a
0 notes