Automation of SPLA Report using PowerShell
Hi,
I am reposting this question in this forum on the suggestion of an experienced exchange mvp, earlied posted in Exchange 2013 forum.
We want to automate SPLA report creation using PowerShell for Exchange 2010 and 2013, I mean
the report for Microsoft Service Providers License Agreement Program, which Service providers have to generate every month and have to submit to Microsoft.
Can somebody guide us, as we could not find any helpful online resource.
Thanks in anticipation.
Regards, David Johnson
That reads like a hosting question to me, and hosters know best about that. If I were a moderator, I'd move this thread for you, but I'm not so I recommend you post in the Exchange for Hosters forum:
http://social.technet.microsoft.com/Forums/en-US/exchange2010hosters/threads
Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
Similar Messages
-
Generating Audit log report using PowerShell script
Hi All,
I have a requirement to generate the audit log report for a Document library/ custum list. Like
1) Who had downloaded and when for the site
2) Respective username,date time
3) URL of the document / subsite name etc.
if it possible, how to automate the process in weekly basess.
I know it can be done through OOB. Audit log reports
can any one help on this?
Below URL i had for reference : http://social.technet.microsoft.com/wiki/contents/articles/23900.get-audits-for-a-sharepoint-document-using-powershell.aspx
VijaivelHi Peter,
thanks for your reply, URLS are good but am having limited access (i.e) am not a sitecollection Aministrator. So I will not have the access for SiteCollection Administrator section. I having the only one option is Site Collection Web Analytic report. Is
it possible to achive with this option? or anyother work around ?
Suggest any other option for automated notification process
Thanks
Vijaivel -
Get Remote Desktop access logs using PowerShell
How to find all login/Logout/Reconnect and other log information from a remote computer using powershell
This should also include from which client/machine (including which account) that connection has established.
may be more in brief, like a RDP historical log, i.e., who all logged and performed what from startdate to enddate.
Suresh Kumar Udatha.You would have to write a script to remotely query the Event log for all logon types required. You would also need to write custom record data extractors for each log message type.
I recommend starting in the Gallery and looking for scripts that query the windows event logs. THis will show you the basics of event log reporting using PowerShell.
What you are asking is a very large project. The records you need are different fro different OSs. Pre-Vista uses the old format and event IDs. Vista and later use a newer format.
Security log performing is a specialized industry. There are many companies that produce tools to do this. I recommend looking into purchasing this tool.
It can be written in PowerShell. I have written many event log extraction scripts. It will take you quites some time to do as many record types as you aare asking for.
¯\_(ツ)_/¯ -
Identifty different features usage for SPLA report automation
Hi,
We are trying to automate SPLA report automation using PowerShell for exchange server 2013, and need to understand few things for this purpose.
Can please someone explain what are these features, and how to identify them using powershell (whether some exchange users using them or not):
-- Shared Folders
-- Shared Address Lists
-- Shared Contacts
-- Shared Calendar
-- Mobile Browse
-- Compliance Management
-- Exchange 2013 Anti spam
as written in this document.
http://thewestcoastblog.wordpress.com/2012/11/07/looking-at-licensing-spla-applications
Any help would be greatly appreciated.
Regards, David JohnsonHi,
I am not familar with Licensing. For more details, please contact Licensing Support.
I find an article related on the Licensing, for your reference:
Exchange Server 2013 licensing
http://office.microsoft.com/en-us/exchange/microsoft-exchange-server-licensing-licensing-overview-FX103746915.aspx
Thanks
Mavis
Mavis Huang
TechNet Community Support -
Changing a SQL Report server Database to a new One Using Powershell script
Hi,
I have an existing report server (Native Mode) and a pre-configured report server database. I have created a new database and want to assign it new report server database. How can i automate this process using powershell?
Here is the detail requirement
If there is a Report Server database seeded on the xxxxx server, follow the below steps:
◾Click the Database button on the left. Click on the Change Database button, choose option Choose an existing report server database. Enter the RPT server name (e.g. xxxxxx) in Server Name text box and click Next.
◾In the Report Server Database selection, select the ReportServer database. Then click next button to complete the process.
Any help in this regard will be very much helpfull.
Sushruta BanerjeeHi Sushruta,
To query export from Report server Database, the scripts below may be helpful for you:
Export RDL Files from ReportServer Database with PowerShell
SQL Database Reports with PowerShell
I hope this helps. -
Report the size of all SharePoint Databases in a text file using PowerShell?
I am new to Powershell. please help me for following question with step by step process.
How to report the size of all SharePoint Databases in a text file using PowerShell?Hi Paul,
Here is the changed script, which will also include the size for the Config DB.
Please let me know if it worked:
#Get SharePoint Content database sizes
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
$date = Get-Date -Format "dd-MM-yyyy"
#Variables that you can change to fit your environment
$TXTFile = "D:\Reports\SPContentDatabase_$date.txt"
$SMTPServer = "yourmailserver"
$emailFrom = "[email protected]"
$emailTo = "[email protected]"
$subject = "Content & Config Database size reports"
$emailBody = "Daily/Weekly/Monthly report on Content & Config databases"
$webapps = Get-SPWebApplication
$configDB = Get-SPDatabase | ?{$_.Name -eq ((Get-SPFarm).Name)}
$ConfigDBSize = [Math]::Round(($configDB.disksizerequired/1GB),2)
Add-Content -Path $TXTFile -Value "Config Database size: $($ConfigDBSize)GB"
Add-Content -Path $TXTFile -Value ""
foreach($webapp in $webapps)
$ContentDatabases = $webapp.ContentDatabases
Add-Content -Path $TXTFile -Value "Content databases for $($webapp.url)"
foreach($ContentDatabase in $ContentDatabases)
$ContentDatabaseSize = [Math]::Round(($ContentDatabase.disksizerequired/1GB),2)
Add-Content -Path $TXTFile -Value "- $($ContentDatabase.Name): $($ContentDatabaseSize)GB"
if(!($SMTPServer) -OR !($emailFrom) -OR !($emailTo))
Write-Host "No e-mail being sent, if you do want to send an e-mail, please enter the values for the following variables: $SMTPServer, $emailFrom and $emailTo."
else
Send-MailMessage -SmtpServer $SMTPServer -From $emailFrom -To $emailTo -Subject $subject -Body $emailBody -Attachment $TXTFile
Nico Martens - MCTS, MCITP
SharePoint 2010 Infrastructure Consultant / Trainer -
Download Reports from SCCM 2012 Using PowerShell
Hi,
I Wants to Download reports from SCCM 2012 using powershell but couldn't find a way.
I used Invoke-Cmreport but it says no reporting Service point on site code XYZ and server ABC
But Reporting Service is enabled and works fine as i can check/download report manually
ThanksHi,
You could have a look at the script in the blog below.
How to Download All Your SSRS Report Definitions(RDL files) Using PowerShell.
http://www.sqlmusings.com/2011/03/28/how-to-download-all-your-ssrs-report-definitions-rdl-files-using-powershell/
Note: Microsoft provides third-party contact information
to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
Best Regards,
Joyce -
FSRM report limits using PowerShell
I am following this article:
http://blogs.technet.com/b/filecab/archive/2014/05/20/set-fsrm-storage-report-limits-using-powershell.aspx
I did have this working just fine, but after installing Windows Updates today on a 2012 R2 box this functionality breaks the GUI. Now, any time you try to edit a report you are hit with Event ID 0, 'file server resource manager value is not valid' and a
GUI error of 'Unexpected Error. Value of 1000 is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
The report still runs, but you cannot view in the GUI until you again use PowerShell to decrease the limits back to default.
Any ideas on how to fix? (Other than removing the updates) Seems a recent Windows Update has broken this.The Windows Update version is the latest available. So if you have a 2012 R2 server and install every available update, that's the level I'm at. It was a recent update that seems to have broken this, I just don't know which one.
The parameter was already set to 1,000 and was working fine. The default is 100, and any value greater than 100 now produces the GUI error.
Newly created reports also produce the same error. I stress that the reports do still run with the value of 1,000 set by PowerShell, it's just the GUI that does not recognise the values set by PowerShell.
Looks like a bug in a recent Windows Update. -
How to add a certificate to IIS global "Server Certificates" list using PowerShell?
Hi, been surfing the web for an example on how to add a certificate to the "global" IIS "Server Certificates" list using PowerShell but to no luck. I already have code in place on how to tie / associate a specific website with a specific cert but not how
to add the new .cer file using the "Complete Certificate Request..." wizard using PowerShell.... I dont expect the final code to become published but if someone had an idea on howto integrate / get an entry point on where to interact between the "Server Certificate"
list in IIS and POSH I would be super happy! :|
I am runnign IIS on a Windows 2008R2 x64 Standard Edition if that helps..... of course, I would saddle for an CLI if there is no other way, but POSH is of course the way to go! :)
Thanks for the help in advance guys, take care!
br4tt3Hi and thanks for the suggestions!
Although it comes close, the suggested code example points on howto import / incorporate .pfx files - I am getting fed by .cer files which I need to add into the IIS console using POSH.
I tried explore the IIS.CertObj object but was not able to work out if this one could be used for importing / adding .cer files into IIS! However, launching the following command from a POSH console with Import-Module Webadministration already
loaded into that shell;
$certMgr = New-Object -ComObject IIS.CertObj returns the following error message:
New-Object : Cannot load COM type IIS.CertObj
From an IIS perspective I have the following components installed;
[X] Web Server (IIS) Web-Server
[X] Web Server Web-WebServer
[ ] Common HTTP Features Web-Common-Http
[ ] Static Content Web-Static-Content
[ ] Default Document Web-Default-Doc
[ ] Directory Browsing Web-Dir-Browsing
[ ] HTTP Errors Web-Http-Errors
[ ] HTTP Redirection Web-Http-Redirect
[ ] WebDAV Publishing Web-DAV-Publishing
[X] Application Development Web-App-Dev
[ ] ASP.NET
Web-Asp-Net
[X] .NET Extensibility Web-Net-Ext
[ ] ASP
Web-ASP
[ ] CGI
Web-CGI
[ ] ISAPI Extensions Web-ISAPI-Ext
[ ] ISAPI Filters Web-ISAPI-Filter
[ ] Server Side Includes Web-Includes
[ ] Health and Diagnostics Web-Health
[ ] HTTP Logging Web-Http-Logging
[ ] Logging Tools Web-Log-Libraries
[ ] Request Monitor Web-Request-Monitor
[ ] Tracing
Web-Http-Tracing
[ ] Custom Logging Web-Custom-Logging
[ ] ODBC Logging Web-ODBC-Logging
[X] Security
Web-Security
[ ] Basic Authentication Web-Basic-Auth
[ ] Windows Authentication Web-Windows-Auth
[ ] Digest Authentication Web-Digest-Auth
[ ] Client Certificate Mapping Authentic... Web-Client-Auth
[ ] IIS Client Certificate Mapping Authe... Web-Cert-Auth
[ ] URL Authorization Web-Url-Auth
[X] Request Filtering Web-Filtering
[ ] IP and Domain Restrictions Web-IP-Security
[ ] Performance Web-Performance
[ ] Static Content Compression Web-Stat-Compression
[ ] Dynamic Content Compression Web-Dyn-Compression
[X] Management Tools Web-Mgmt-Tools
[X] IIS Management Console Web-Mgmt-Console
[X] IIS Management Scripts and Tools Web-Scripting-Tools
[ ] Management Service Web-Mgmt-Service
[ ] IIS 6 Management Compatibility Web-Mgmt-Compat
[ ] IIS 6 Metabase Compatibility Web-Metabase
[ ] IIS 6 WMI Compatibility Web-WMI
[ ] IIS 6 Scripting Tools Web-Lgcy-Scripting
[ ] IIS 6 Management Console Web-Lgcy-Mgmt-Console
[X] FTP Server Web-Ftp-Server
[X] FTP Service Web-Ftp-Service
[X] FTP Extensibility Web-Ftp-Ext
[ ] IIS Hostable Web Core Web-WHC
More or less the one thing that I am trying to get up and running is an automated FTPS solution - I just use the IIS console to be able to troubleshoot / compare how things scripted from POSH interacts in the MMC representation. The error I am getting
might be that I am lacking some IIS components to be in place to be able to automate some parts of the IIS - as suggested by the IIS.CertObj object listed in the example..... I will get back if I can track down which component needs to be added to be
able to reference the IIS.CertObj object.
Br4tt3 signing out...
br4tt3 -
How to create a crystal Report using C# and SQL Server
Hi, im new in creating crystal report using SQL Server, and im making a project.. and could someone help me how to connect your .sdf (SQL Server File) from the bin to your crystal report? thanks a lot.. i followed some instructions like this one (https://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?forum=csharpgeneral)
but i got an error on the adding of server name and database portion.. thanks a lot in advanceHello,
Crystal Reports are supported on
http://scn.sap.com/community/crystal-reports.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
Hi everyone,
I would like to know if it is possible to use a Powershell cmdlet to determine if Windows Server 2012 (R2) Source Files are present on disk.
We are using an automated PS script to install roles and features and some registry keys and applications afterwards. If the Source Files are not present, the script will fail, so I would like a# Check if Source Files are present # stage built in
the script to determine if the source files are present or that an alternate source path needs to be used.
Is this possible with Powershell and if so, how can we achieve this?
I'll appreciate your answer.
- RobHi Rob,
I assume that you are using powershell command "install-windowsfeature" .
I would suggest you add the parameter "-source" to specify the alternate path of thesource file .
" The path specified in this parameter is only used if the command cannot find feature files in the local side-by-side store of the specified target computer or VHD. "
For details please refer to the article below :
https://technet.microsoft.com/en-us/library/jj205467(v=wps.620).aspx
Best Regards,
Elton Ji
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] . -
How to add new group entry in Cisco Vpn using powershell
I am working on a powershell script to connect cisco vpn using powershell, I am able to connect to vpn but not sure how to add new group to vpn. I am using the following script$vpn_profile = 'Test'
$username = 'TestUser'
$userPassword = ConvertTo-SecureString -String "Password" -AsPlainText -Force
$credentials = new-object -typename System.Management.Automation.PSCredential -argumentlist
$username,$userPassword
$password = $credentials.GetNetworkCredential().Password
Set-Location 'c:\Program Files (x86)\Cisco Systems\VPN Client'
.\vpnclient.exe connect $vpn_profile user $username pwd $password
Write-Host "You Are Connected"
cd "C:\"Have you entered .\vpnclient.exe /? to see if it will return information about other switches you can use with this executable? Other than connect, I was able to track down a few without actually having the executable (http://www.scribd.com/doc/40108893/Cisco-VPN-Client-Command-Line).
That said, I do not believe that there is a switch that will help you create a connection. These are either done manually through the GUI, or can be likely be added by supplying a properly formatted file in the proper place.
If you're using the version of the Cisco VPN client I think you are, then your connection settings, or profiles, are stored in individual .pcf files somewhere on your computer (likely in the Cisco directory). These are simple, text-based files. Find one
on your computer, save it with another name, and then modify it manually. If you really want to use PowerShell, then use this opportunity to learn how to create and edit basic text files using PowerShell. If you have a standard connection file, then you can
put that file onto remote computers any number of ways. If a .pcf file exists in the proper place when the VPN client is opened, then it likely will not prompt for a new connection.
Update: Added more info; clarified -
Display report using star office
Hi...Need some light on this,,,How to display abap report using Star offce instead of MS excel???? Thanks
If Star Office (??) is OLE compliant, you will need to issue a CREATE OBJECT 'WHATEVER.THE.REGISTRY.ENTRY.NAME.IS.HERE'.
Then once it is activated on the client system, you will need to issue OLE automation commands from ABAP to the Star Office client.
You will probably need an Object Browser to help you with the Star Office commands to pass the ABAP info down to the client. -
Hello everybody,
This is my first time posting in this forum and i have encounted an issue i hope you can help i'm trying to create a powershell 1.0 script as this is for Windows XP to copy default policy back to their original folder then do a gpupdate on the copmuter so
that the Local policy are returned to their default but i'm having access denied as this is user account and needed a way to make it run as an administrator but without success as i'm new powershell.
Copy-Item 'C:\WINDOWS\system32\GroupPolicy\Original Group Policy for User and Machine\Machine\*' 'C:\WINDOWS\system32\GroupPolicy\Machine\'
Copy-Item 'C:\WINDOWS\system32\GroupPolicy\Original Group Policy for User and Machine\User\*' 'C:\WINDOWS\system32\GroupPolicy\User\'
Your help is much appreciated.Hi mniceguy81,
Did you try to enable "run as" in XP ?
Please refer to following link :
http://support.microsoft.com/kb/294676
And please try to use powershell command :
$cred = New-Object Management.Automation.PSCredential("$UserName", $securePassword)
copy-item xxxx xxxx -credential $cred
Best Regards
Elton Ji
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Using powershell to name a device after imaging
Hi All,
I am trying to use a combination of a preboot bundle and powershell scripts to name a pc after initial imaging or reimaging.
- Reimaging seems to work as long as the pc is joined to the windows domain after installation of zcm11.2.4 client
but
what is a reliable way to obtain the computer name for a pc not previously imaged, and name the device after imaging. I have been trying to use powershell scripts as per https://www.novell.com/communities/c...-registration/ .... but I seem to be missing something (I also do not have the HP bios utility available).
Any ideas or words to provide clarity would be appreciated.
Thank you
Peterpjdawson wrote:
>
> Hi All,
>
> I am trying to use a combination of a preboot bundle and powershell
> scripts to name a pc after initial imaging or reimaging.
>
> - Reimaging seems to work as long as the pc is joined to the windows
> domain after installation of zcm11.2.4 client
> but
>
> what is a reliable way to obtain the computer name for a pc not
> previously imaged, and name the device after imaging. I have been
> trying to use powershell scripts as per
> https://www.novell.com/communities/c...-7-automated-i
> maging-and-zcm-registration/ .... but I seem to be missing something
> (I also do not have the HP bios utility available).
>
> Any ideas or words to provide clarity would be appreciated.
>
> Thank you
>
> Peter
Hi
Not sure I get what the issue is? It works, no? Is it the order
that's the problem?
Are you not able to rename with PS, or?
Niels
A true red devil...
If you find this post helpful, please show your appreciation by
clicking on the star below
A member must be logged in before s/he can assign reputation points.
Maybe you are looking for
-
Mouse down event and Click event in List Box Very urgent.
Hi, How can i differentiate mouse down and itemclick in ListBox.Its very urgent. Regards, Jayagopal.
-
OS 10.6.6: security updates and upgrades
i bought an iMac about a year ago, with OS being 10.6.6. I haven't brought it yet on the web ( i use this portable PC ). Before getting it on the web, i'll obviously will have to 1 - update to 10.6.8 : is this presently the "top" update for 10.6
-
Hi, I"m trying to assemble a portfolio where the source files are not pdf. Which ddx tag could I use to achieve this? I found the following ddx script, not sure if it will or will not work, but I need to provide this script with the actual file (doc
-
Itunes installation won't complete
whenever i try to download the itunes 9 and install i get an error pic of the error here: http://i37.tinypic.com/10net1l.jpg any ideas?
-
Audigy 2 ZS Vista 64bit inst. prob
Hi all,?I just got the 64bit Version of Vista yesterday and start to install all drivers etc. I also downloaded the latest?64bit version for my Audigy2 ZS.But it seems to be that the driver is not installed correctly. No soundand the speaker in the t