Find Jobs
Hire Freelancers

Write a PowerShell Command that will loop through multiple URLs to pull back webpart names and locations with SIPI and or Bamboo in the naming convention

$10-30 USD

已关闭
已发布超过 5 年前

$10-30 USD

货到付款
I have a script that works for the [login to view URL] part of the retrieval but only for one URL at a time. I need the syntax to read URL 1, URL 2, URL 3 then compile it to an excel output. Also I need the syntax to look the term Bamboo in the webpart title. this is my current script. Add-PSSnapin [login to view URL] -ErrorAction SilentlyContinue #Configuration parameters (run script per site collection) $SiteURL = "[login to view URL]" $ReportOutput="C:\[login to view URL]" $ResultCollection = @() #Get All Subsites in a site collection and iterate through each $Site = Get-SPSite $SiteURL ForEach($Web in $[login to view URL]) { write-host Processing $[login to view URL] # If the Current Web is Publishing Web if ([[login to view URL]]::IsPublishingWeb($Web)) { #Get the Publishing Web $PubWeb = [[login to view URL]]::GetPublishingWeb($Web) #Get the Pages Library $PagesLib = $[login to view URL] } else { $PagesLib = $[login to view URL]["Site Pages"] } #Iterate through all Pages foreach ($Page in $[login to view URL] | Where-Object {$[login to view URL] -match ".aspx"}) { $PageURL=$web.site.Url+"/"+$[login to view URL] $WebPartManager = $[login to view URL]([[login to view URL]]::Shared) #Get All Web Parts data #foreach ($WebPart in $[login to view URL]) foreach ($WebPart in $[login to view URL] | Where-Object { $[login to view URL]().ToString() -like "[login to view URL]*"} ) { $Result = New-Object PSObject $Result | Add-Member -type NoteProperty -name "Site URL" -value $[login to view URL] $Result | Add-Member -type NoteProperty -name "Page URL" -value $PageURL $Result | Add-Member -type NoteProperty -name "Web Part Title" -value $[login to view URL] $Result | Add-Member -type NoteProperty -name "Web Part Type" -value $[login to view URL]().ToString() $ResultCollection += $Result } } } #Export results to CSV $ResultCollection | Export-csv $ReportOutput -notypeinformation #Find a specific Web part change Line#34 to: #foreach ($WebPart in $[login to view URL] | Where-Object { $[login to view URL]().ToString() -like "*bamboo*"} )
项目 ID: 17533580

关于此项目

7提案
远程项目
活跃6 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
7威客以平均价$77 USD来参与此工作竞价
用户头像
"" SharePoint & Power Shell scripting Expert "" Hello there, Hope you are doing great !! We are a small but excellent team of SharePoint and .Net developers. We have more than 6 years of experience in SharePoint development, migrations, branding, workflow development, Microsoft power apps, Info path, etc. If you will hire us then I am damn sure that you will be fully satisfied with my expertise. I have more than 6+ years of extensive experience with Microsoft.net and SharePoint related technologies. I need one small meeting on personal message to discuss the complete requirements and then start the work ASAP. Looking forward for your kind reply. Regards, Hina ** Price and time mention over here are just placeholder. It might be change based on the requirements
$111 USD 在1天之内
4.9 (36条评论)
6.1
6.1
用户头像
Hi Sir/Madam I have been working on sharepoint for 7 years. I have experience about sharepoint installation,configuration,development and integration.
$100 USD 在1天之内
5.0 (12条评论)
5.1
5.1
用户头像
Hello I am an experienced PowerShell Dev and would be happy to help you with this. Thanks Callum
$35 USD 在2天之内
5.0 (1条评论)
1.9
1.9
用户头像
I have 8+ years of experience in Microsoft technologies. I have good knowledge in PowerShell Scripting.
$88 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
As a SharePoint Administrator in a very large company (As you can see in my LinkedIn profile) 13 mixed (On Prem and online) farms, it is more than a daily task writing PowerShell scripts for SharePoint
$66 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
We already have script written for another project just need to make some tweak and you will be done. We have very good experience in SharePoint 2007,2016, Online and all kind of customization. Thanks,
$25 USD 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Washington, United States
4.5
14
付款方式已验证
会员自8月 31, 2007起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。