Issue After an Internet Update on Greasemonkey Script
Hello Everyone,
I just can not figure this out. I was using this script for a year and after an update I'm lost. It seems they may have added some auth method I am not aware of. Previously the script would simulate button clicks on all the "follow" btns. HELP :)
--------------------------------------------------
// ==UserScript==
// @name poshmark auto-follower
// @namespace poshmark_follower
// @include https://poshmark.com/user/*/followers
// @version 1
// @grant none
// ==/UserScript==
function followEveryone () {
$('a[track_action="follow"]:visible').click();
}
(function($) {
var origAppend = $.fn.append;
$.fn.append = function () {
return origAppend.apply(this, arguments).trigger("append");
};
------------------------------------------------------------
- Changed type Bill_Stewart Thursday, March 16, 2017 8:51 PM
- Moved by Bill_Stewart Thursday, March 16, 2017 8:51 PM Off-topic
Reply:
-- Bill Stewart [Bill_Stewart]
------------------------------------
Reply:
------------------------------------
Project Online Reports
Hello,
I have just started using Power BI desktop to generate oData reports against my project online data. I then publish it to the cloud.
There are however 2 types of reports I am finding troublesome.
1. Graph of all resources and their daily work vs capacity. I'm trying to replicate the "capacity" view in project online
2. Graph of committed work, and graph of proposed work.
Does anyone have any pointers on how to get this data into a graph?
Thanks
Jeff
- Edited by Uthall Thursday, October 6, 2016 2:04 PM
Reply:
Hello,
Try the following endpoints in the Odata API:
Daily Assignments: ProjectData/AssignmentTimephasedDataSet
Resource Daily Capacity: ProjectData/ResourceTimephasedDataSet
Resource Data: ProjectData/Resources
Assignment Data: ProjectData/Assignments
To see what properties you need start with: ProjectData/$metadata
Paul
Paul Mather | Twitter | http://pwmather.wordpress.com | CPS | MVP | Downloads
------------------------------------
Reply:
Thanks Paul,
Can you clarify what you mean by "properties"? Do you mean table links?
Thanks
Jeff
------------------------------------
Reply:
Hello Jeff,
Properties are the fields and navigational elements. Check the /ProjectData/$metadata and view the properties for each endpoint (projects, tasks etc.). The fields are Property Name = "field name".
Paul
Paul Mather | Twitter | http://pwmather.wordpress.com | CPS | MVP | Downloads
------------------------------------
Reply:
Ah ok, you mean field names.
Ok so I have imported the ResourceTimephasedDataSet , AssignmentTimephasedData and Resources tables.
These contain the capacity and the assignment of each resource.
I've used the Resources table to link to both using Resourceid.
I can create a Line and Clustered graph that shows ResourceName from the Resource table on the Shared Axis, and Asignmentregularwork and Assignmentremainingwork in the column values from the AssignmentTimephasedData table , and this works fine.
I then add Capacity from the ResourceTimephasedDataSet table to the Liner Values window and it shows a line on the graph, but its values are wrong.
What am I missing?
------------------------------------
Reply:
i found that in the resourcetimephaseddataset in powerpivot you need to add a calculated column, called e.g. work. the formula is "=calculate(sum(AssignmentTimephasedDataset[Work]))".
I may have the exact name of the table or column wrong, but you get the picture.
www.projectexpert.nu
------------------------------------
Reply:
if you follow Paul's advice (thanks Paul!), ie you put a url in your browser ending in ProjectData/$metadata, you'll find two tables when you Find "Committed" on the returned 'page'
- Engagement
- EngagementsTimephasedData
that will keep me in business :-).
www.projectexpert.nu
------------------------------------
Full access permissions to all user mailboxes in Office 365 environment.
Has anyone encountered the error below while running this script?
Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox') -and (Alias -ne 'Admin')} | Add-MailboxPermission -User admin@contoso.com -AccessRights fullaccess -InheritanceType all
Error-
The total data receivedfrom the remote client exceeded allowed maximum. Allowed maximum is 524288000
- Changed type Bill_Stewart Thursday, March 16, 2017 8:50 PM
- Moved by Bill_Stewart Thursday, March 16, 2017 8:50 PM Abandoned
Reply:
-- Bill Stewart [Bill_Stewart]
------------------------------------
Reply:
You will have difficulty piping with online Exchange.
This should work.
$mb = Get-Mailbox .... | select
$mb|%{Add-MailboxPermission -Identity $_.Alias -AccessRights FullAccess -WhatIf -user useralias }
\_(ツ)_/
------------------------------------
Migrating On-Premises Sharepoint,web server,sql server,exchange server,RDS,dns server,terminal server,AD
Hi
I am working on migrating on-premises servers to azure.
But I struck at which server(workload) I have to move first ?
FYI..
I have below servers in my on-premises
Sharepoint server
web server
sql server
dns server
Exchange
RDS
Terminal
AD
Reply:
AD + DNS first
for the rest it doesn't matter much, except maybe the SQL server as this will hold the dasta for the remaining resources
Cheers Christophe - Kindly click Mark as Answer on the post that helps you - www.cloudcrusader.com
------------------------------------
VB Script Progression !
Hi
I posted an issue I was having with my script a few weeks back and this was answered and worked a treat. I now would like to progress my script further if possible.
my current script below after running through zonal OCR will look for 05 and 06 then give me the numbers that follow.
I can see there is a marked out section that looks like it is possible to also look for further information on the page, currently it says MY_SUPPLIER. I would like if possible for it to look for mr or mrs then give me the first name or surname. currently this is failing but I am not sure if it is down to there being a space after ' mr ' before the name ?
hopefully this is achievable ?
Dim Target, Target2
Target = ".*(05|06)([A-z]*[0-9]+)"
Target2 = ""
arrLines = Split(ocrText, "\r\n")
'call Metadata.SetValues("MY_SUPPLIER", "## NOT FOUND ##")
For Each strline in arrLines
match = GetFirstMatch(target, strline)
If match <> "" Then
call Metadata.SetValues("MY_TEXT", match)
End If
'match = GetFirstMatch(target2, strline)
'If match <> "" Then
' call Metadata.SetValues("MY_SUPPLIER", match)
'End If
Next
' Get the first objRE submatch from the string
' Returns empty string if not found, otherwise returns the matched string
Function GetFirstMatch(PatternToMatch, StringToSearch)
Dim objRE , CurrentMatch, objMatch
objRE.Pattern = PatternToMatch
objRE.IgnoreCase = True
objRE.Global = False
GetFirstMatch = ""
' We should get only 1 match since the Global property is FALSE
If objMatch.Count = 1 Then
' Item(0) is the (first and only) matching target parts,
' Submatches(1) is the substring between the second set of
' parentheses (all indexes are zero based)
GetFirstMatch = objMatch.Item(0).Submatches(0) + objMatch.Item(0).Submatches(1)
End If
Set objRE = Nothing
End Function
- Changed type Bill_Stewart Thursday, March 16, 2017 8:49 PM
- Moved by Bill_Stewart Thursday, March 16, 2017 8:49 PM This is not "fix/debug/rewrite my script for me" forum
Reply:
You should ask the author of your script to help you.
If you don't know how to write a script and are trying to learn then use PowerShell. VBScript is obsolete and will not be useful in most modern Windows systems and subsystems.
\_(ツ)_/
------------------------------------
Reply:
I have to use vbscript as the software package I import the script into requires this.
- Edited by Ian Wallace71 Monday, February 13, 2017 3:24 PM
------------------------------------
Reply:
What have you tried?
\_(ツ)_/
------------------------------------
Reply:
see below but I'm not sure if the issue is the space after the mr that will stop the script returning the name as a value.
Dim Target, Target2
Target = ".*(05|06)([A-z]*[0-9]+)"
Target2 = ".*(mr)([A-z]*+)"
arrLines = Split(ocrText, "\r\n")
call Metadata.SetValues("MY_NAME", "## NOT FOUND ##")
For Each strline in arrLines
match = GetFirstMatch(target, strline)
If match <> "" Then
call Metadata.SetValues("MY_TEXT", match)
End If
match = GetFirstMatch(target2, strline)
If match <> "" Then
'call Metadata.SetValues("MY_NAME", match)
End If
Next
' Get the first objRE submatch from the string
' Returns empty string if not found, otherwise returns the matched string
Function GetFirstMatch(PatternToMatch, StringToSearch)
Dim objRE , CurrentMatch, objMatch
objRE.Pattern = PatternToMatch
objRE.IgnoreCase = True
objRE.Global = False
GetFirstMatch = ""
' We should get only 1 match since the Global property is FALSE
If objMatch.Count = 1 Then
' Item(0) is the (first and only) matching target parts,
' Submatches(1) is the substring between the second set of
' parentheses (all indexes are zero based)
GetFirstMatch = objMatch.Item(0).Submatches(0) + objMatch.Item(0).Submatches(1)
End If
Set objRE = Nothing
End Function
------------------------------------
Reply:
Target2 = ".*(mr\S)([A-z]*+)"
Are you sure there is no dot after mr?
This is where PowerSHell is more powerful:
D:\scripts> 'Mr. John Jones' -match '.*(mr)\S+(.*)';$matches[1..2] True Mr John Jones
\_(ツ)_/
- Edited by jrv Tuesday, February 14, 2017 6:27 PM
------------------------------------
Reply:
Hi
thanks for your help, no there is a gap. also I cannot use powershell as the software tunns on vbscript.
- Edited by Ian Wallace71 Tuesday, February 14, 2017 8:54 AM
------------------------------------
Reply:
"Here's my code dump. Can someone debug and fix this for me?"
That isn't the purpose of this forum. Please read the first post from right at the top of the forum:
This forum is for scripting questions rather than script requests
-- Bill Stewart [Bill_Stewart]
------------------------------------
Reply:
ok apologies.
as I said, my script is 90 % complete but I wanted help with why the last edit I have done is not working which I meant as a question nvm if you don't have the knowledge to let me know were I have gone wrong with my final edit.
------------------------------------
Reply:
The question isn't whether others have the knowledge to fix it.
The problem is that it is not really polite or respectful of others' time to say, "Here's my long script. Forum volunteers: Please recreate an environment on your computer that simulates some test data and then debug and fix it for me for free." If that is what you want, it would be appropriate to pay someone to help you.
For the best help in a forum, write a short script that contains only the absolute minimum amount of code needed, and then tell precisely what does not work and how it does not work.
-- Bill Stewart [Bill_Stewart]
- Edited by Bill_Stewart Tuesday, February 14, 2017 4:39 PM
------------------------------------
Reply:
I posted the RegEx above with a way to let you test it in PowerShell. I recommend that you write this in PowerShell. The same code will work in PowerShell as PS supports COM and does it better.
As Bill has noted, we cannot test your code because we don't have your OCR application or documents. This is up to you. If you do not know how to work in VBScript then it would be easier for you to use PowerShell.
Saying that the software runs on VBScript makes little sense. If this means you have found a large VBScript on the Internet that you want to change then try asking the original author for help.
I also posted the VBScript answer but you haven't tried it:
Target2 = ".*(mr\S)([A-z]*+)"
Note that the \S is in caps.
\_(ツ)_/
- Edited by jrv Tuesday, February 14, 2017 6:28 PM
------------------------------------
Win32_Powerplan Class not working in PowerShell Version 5.1.15xxx
OS :Windows 10 Build 15007 | Language :US
'gwmi -class Win32_powerplan -namespace root\cimv2\power' command running in PowerShell window throughout error.
This error only happens in PowerShell Version 5.1.15xxx but working fine in the lower version build 5.1.14xxx and below.
gwmi : Provider load failure At line:1 char:1 + gwmi -class win32_powerplan -namespace root\cimv2\power +--------------------------------------------------------- + Category Info : InvalidOperation: (:) [Get-wmiObject], ManagementException + FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.commands.GetwmiobjectCommand
Reply:
------------------------------------
Reply:
Thanks for your replay.
i noticed these failure in the 3 build 5.1.1507 & 5.1.15019 & 5.1.15025.
Are you got pass result in these builds???
------------------------------------
Reply:
------------------------------------
Creating an array from the Get-ChildItem cmdlet
- Split by Bill_Stewart Tuesday, February 14, 2017 3:27 PM Condescending comment
SCCM 2012 R2 shows that updates that were installed are not current but yesterday's
Version update that is considered as "yesterday" (today, the 14/02/2017, time 15.00 +3 GMT):
1.235.2715.0
There are now new updates on the Microsoft servers. I tested it by downloading from https://www.microsoft.com/security/portal/definitions/adl.aspx the latest antivirus updates and checking MpSigStub log. There are such lines:
AS delta VDM: 1.235.2715.0 1.235.2715.0
AV delta VDM: 1.235.2715.0 1.235.2715.0
Downloading the updates is occured via WSUS-server via SCCM every day every 3 hours.
Actually, the problem is: the last possible updates are considered as "from 1 to 3 days."
- Moved by Garth JonesMVP Friday, August 11, 2017 12:47 PM CM12 Question
Create MDT Task Sequence via SCCM Error
I went through the steps to creating an MDT TS and I have received an error. Can anyone explain what the fault is? Thanks
Started processing. Creating boot image. Copying WIM file. Mounting WIM file. WIM file mounted. Setting Windows PE system root. Set Windows PE system root. Set Windows PE scratch space. Adding standard components. Adding component: winpe-netfx Error while importing Microsoft Deployment Toolkit Task Sequence. System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state. Server stack trace: at System.ServiceModel.Channels.CommunicationObject.ThrowIfFaulted() at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at INewBootImage.Create(String platform, String scratchSpace, String[] components, String[] extraContent, String wimFile) at NewBootImageClient.Create(String platform, String scratchSpace, String[] components, String[] extraContent, String wimFile) at Microsoft.BDD.Wizards.SCCM_ImportTaskSequenceTask.DoWork(SmsPageData smspageData, Dictionary`2 data)
Reply:
------------------------------------
WMS Manager is hanging during opening in Server 2016
Hello,
I just tested the new Server 2016 Multipoint Server role.
I installed all necesseary driver for my zeroclient and tested some function like USB redirection successfully.
Now when I try to open the Windows Multipoint Manager in station mode it is hanging in loading-screen.
When I do this in console mode it works normaly.
Does anyone have an idea?
Thanks for help.
- Moved by Mihaela ParedesMicrosoft contingent staff Tuesday, February 14, 2017 11:35 AM
Intra-site replication
Few questions :-
1) I can see that some people state that Intra-site replication starts in 15 secs from the change is made on DC and some say 30 secs.
Some even say its 15 minutes, I would like to know when does the firsts replication starts after making the change in Server 2008 R2 AD database.
2) Depending on what ever time you would suggest, is it configurable by admin. Can it be increased or decreased ?
Reply:
What are you trying to accomplish?
Can these values be changed? No.
If you are looking to "slow things down" than you can put a DC in another site, and then configure Inter-Site replication. Note there the tightest loop you can be in is "every 15 minutes."
If 15 seconds is too much latency within an Active Directory site than you likely are trying to do something that isn't a good fit for Active Directory. If that's the case, maybe you could explain what's behind your question.
MJ
MJ
- Edited by Mike Jenne Tuesday, February 14, 2017 5:32 AM
------------------------------------
Tool: ShutDownGUI for SCCM or Not!
Hi,
If someone needs a nice GUI to use the shutdown command I created it similar to the one that Microsoft have for the Software Updates...I know that there are other options but I developed this to allow more parameters.
Right now I'm using this to restart machines that have more than 7 days of uptime!
Let me know if I can improve it...
https://github.com/xNuno/ShutDownGUI
Regards,
Nuno Silva
-
- Changed type Frank Dong Tuesday, February 14, 2017 1:34 AM ToolSharing
Reply:
Thank you very much for sharing this great tool to us and I'm sure it will be very useful in some cases.
Here I change the topic type to Discussion, anyone who has ideas can add comments below.
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
------------------------------------
Stop ransomware attacks using FSRM and powershell
Hi,
First thanks for posting this article. I have been looking for ways to protect our network using belts and braces along with standard practices ( updated AV, decent firewall and good backups among other things). but this tops the lot.
There are millions of servers across the world using MS technology. It's imperative that Microsoft get word out to as many as possible of this prevention strategy. I came across via a Symantec blog post which searched using BING. Now if bing doesn't put this at the tops of the list when someone searches ransomware then someone should fix it.
Again Thanks. Please keep this updated as the ransomware mafia keeps updating their techniques.
Nalin.
- Changed type Bill_Stewart Thursday, March 23, 2017 9:15 PM
- Moved by Bill_Stewart Thursday, March 23, 2017 9:16 PM Nonsensical
Reply:
Please read your post. It is missing information.
This is a scripting forum and not really the correct place to post security advice.
\_(ツ)_/
------------------------------------
Sequencing multiple versions of the VMWare vSphere client (and reducing the size of the final sequence)
Application Name: vSphere client
Application Version: 4.1, 5.0, and 5.5 (all in one package)
Company Name: VMWare
Sequencer Version: 5.0 SP1 or SP2
App-V Client Version Tested On: 5.0, 5.0 SP1, 5.0 SP2
Operating System Sequenced On: Windows 7 (64bit)
Pre-requisites: Orca
Client Operating Systems Successfully Deployed To: Windows 7 (64bit), Windows Server 2008 (64bit)
*Posted by non-Microsoft Employee: Cody Lambert (a Fortune 100 company)
If Posted by Microsoft Employee, the Corresponding KB Article Reference: N/A
Steps to Prepare and Sequence the Application:
Phase 1: Prepare vSphere install to be used in your sequence (to be performed prior to sequencing)
- Clear %TEMP% directory on machine you are using to prepare the install
- Create a folder that will be referred to as "vSphereInstDir" that install files are copied to
- Download the vSphere 5.5 client from your vSphere management server
- Run the installer for the vSphere Client
- Once at the Language Selection portion of the installer, using windows explorer browse to the %temp% directory and copy the files that were just created when the vSphere installer extracted to a directory (name it vSphereInstDir)
- Kill the installer
- Find VMware-viclient.exe in the files you just copied and run it
- Once at the "Welcome to the installation wizard" stage of the installer, using windows explorer browse to the %temp% directory and copy the files that were just created into the vSphereInstDir
- Kill the installer
- Find the VMware vSphere Client 5.5.msi in the vSphereInstDir, in the second set of files you copied over
- Using Orca, open the VMware vSphere Client 5.5.msi
- Drop the following rows from the msi (some of the rows may have additional text at the end of the names) (InstallExecuteSequence/VM_InstallHcmon, InstallExecuteSequence/VM_InstallHcmon_SetData, InstallExecuteSequence/VM_InstallUSB, InstallExecuteSequence/VM_InstallUSB_SetData, InstallExecuteSequence/VM_InstallUSBArbritrator, InstallExecuteSequence/VM_InstallUSBArbritratorSetData, InstallExecuteSequence/VM_StartUSBArbSvc)
- Save the VMware vSphere 5.5.msi in place
- Copy the vSphereInstDir to a network location that can be used during sequencing on your Sequencer
Phase 2: Sequence the vSphere Client
Pre-requisites: All of the latest available VC++ redist (x64 and x86) are installed on the Sequencer VM
- Copy vSphereInstDir to your temporary install directory on your Sequencer (mine is C:\temp)
- Start up the Sequencer
- Click Create a New Virtual Application Package
- Click Next with Create Package (default) selected
- Click Next on the Prepare Computer screen, taking note of any findings
- Click Next with Standard Application (default) selected
- Choose Perform a custom installation, then click Next
- Input the Virtual Application name (vSphere Client 5.5 for example)
- Enter the Primary Virtual Application Directory (C:\vSphere55 for example) and click Next
- Using Windows Explorer find the Visual J# install (vjredist64.exe) in the vSphereInstDir you copied over. Install using defaults
- Using Windows Explorer, find and install the vSphere client using the VMware vSphere Client 5.0.msi located in the vSphereInstDir you copied over. Change the installation directory to use the Primary Virtual Application Directory you configured above (C:\vSphere55 for example). Install using defaults
- While the sequencer is still monitoring changes connect to the 4.1 environment to get the files needed. To do this, launch the vSphere client and connect to your 4.1 environment. When prompted, choose RUN to install the files needed for the 4.1 environment.
- While the sequencer is still monitoring changes connect to the 5.0 environment to get the files needed. To do this, launch the vSphere client and connect to your 5.0 environment. When prompted, choose RUN to install the files needed for the 5.0 environment.
- With the sequencer still monitoring changes, after the additional environments have been installed, delete all of the language folders from the install locations that are not required. You will find that there are language folders in each of the different modules that are installed. Make sure look in every folder. This will free up approximately 300mb from the package.
- When done, check the box to finish the sequence and continue cleaning up the sequenced application.
Known Issues/Limitations: Functions that require the USB Arbritration Service will not work
Approximate Sequencing Time: 20 minutes
Descriptive Tags: App-V, 5.0, VMWare, vSphere, Recipe, Guidance
Credit Due: Thanks to Rorymon and Aaron Parker for accurate information that allowed for me to put together this recipe.
- Edited by CodyLambert Wednesday, March 26, 2014 7:15 PM
Reply:
I m a beginner in packaging.I have tried doing the above steps but still the driver is installing.Can you help me troubleshoot it.
Regards
Thanks in Advance
Aravinth Mathan
------------------------------------
Reply:
Can you double check the that the following were removed from the MSI:
InstallExecuteSequence/VM_InstallHcmon
InstallExecuteSequence/VM_InstallHcmon_SetData
InstallExecuteSequence/VM_InstallUSB
InstallExecuteSequence/VM_InstallUSB_SetData
InstallExecuteSequence/VM_InstallUSBArbritrator
InstallExecuteSequence/VM_InstallUSBArbritratorSetData
InstallExecuteSequence/VM_StartUSBArbSvc
------------------------------------
Reply:
Thanks for this info but unfortunately after following this we still get the error 'Specified module could not be found (Exception from HRESULT: 0x8007007E)'. This is with Appv 5.1and occurs when the user attempts to log in.
VMware vSphere version 5.5
Sequencer - Windows 7 64-bit OS - Sequencer version 5.1.85.0
During sequence this error does not prompt during first run and optimization steps and only occurs once presented. Also gave full permissions in Advanced options of package.
Attempted multiple variations of packaging this including using PVAD so any recommendations are appreciated.
- Edited by AAAyala Thursday, September 8, 2016 6:44 PM
------------------------------------
Reply:
------------------------------------
Capture a Referance Image
so here is my issue. i am trying to create a updated image to deploy. i created the updated image and deployed it but when i do it doesn't auto join my domain and add my default profile. im assuming that its not completing the sysprep at some part, either when i capture the new image or when its running on the task sequences.
my old capture works just fine but when i try the new one it wont.
the task sequence is identical on both.
on the new image when it installs, it still has the administrator profile from the OS i used the capture the image which is why im thinking its not doing the sysprep on the capture but im new at this and still learning so im not sure.
neither the capture or the install give me an error.
does anyone have an idea on how i can fix this?
here is the link to the logs files.
https://drive.google.com/drive/folders/0B86v2JnOCBOwbURrZm50eHZHekk?usp=sharing
on the server it created two folders. 1. MININT-AI01HTE 2. MININT-EL0BL5G
on the ones in the past that work it creates a folder with the computer name i gave it, but that isnt happening.
im also putting in the log files on the laptop in the MININT folder. and the unattanded file.
the unattend file is the file on the test computer. if you need the one from the .wim, can you tell me how to get it?
i added the files from the sysprep for both the image computer and the test computer. i did not see an error but im very new to this and not sure what im looking for.
there is no netsetup.log in the folder, there is a netlogin.log and a passwd.log and both are empry, no data.
While removing SharePoint groups from list application is not responding
While removing SharePoint groups from list application is not responding.
I have checked the app pool and website status, both are in started state.
The CPU and RAM in both FE and database servers less than 40 %.
- Edited by JayanthBabu Friday, February 10, 2017 8:10 AM
Reply:
As far as the error goes when you are doing it in the web interface, you will have to review the log files found in this
location c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS
As a workaround to remove the groups, you can also use this PowerShell script
$web=Get-SPWeb http://site url
$list = $web.Lists["list/library name"]
$list.BreakRoleInheritance($true)
$web.AllowUnsafeUpdates=$true
[Microsoft.SharePoint.SPRoleAssignmentCollection] $spRoleAssignments=$list.RoleAssignments
for([int] $a=$spRoleAssignments.Count-1; $a -ge 0;$a--)
{
if($spRoleAssignments[$a].Member.Name -eq "groupName")
{
$spRoleAssignments.Remove($a);
}
}
Thanks, Danny Hickman IT Support Specialist
------------------------------------
Reply:
Hi Stark,
Thank you.
I have checked the log files and did not find any error that point of time.
I have used below methods to remove the groups.
1. From UI
2. From Powershell
In both the cases my application is not responding.
I gone through the SharePoint Role assignment table, there i can see around 17 million records .
------------------------------------
Reply:
Danny Hickman Application Systems Engineer Hanover County Governement
------------------------------------
SP Designer 2013 - Unexpected error on server associating the workflow
Hi,
i have modified a workflow that is attached to a form library and trying to publish it but i keep receiving the following error: errors were found when compiling the workflow, the workflow files were saved but cannot be run, Unexpected error on server associating the workflow.
when i create a form the workflow's column shows its completed but the actions i have specified in it are not being performed.
i found a solutions on the internet that mention deleting the content of the Temp folder of the service account user profile but didn't work for me, i have restarted the servers but didn't work as well.
please help...
Reply:
Hi Mohammed- did you go through the steps in this thread?
cameron rautmann
------------------------------------
Age Bucket using MDX
Hi Guys,
I want to use an mdx to get the age bucket for all customers based on their last date of transactions in the systems.
For instance
If Customer A did transactions this month, he should fall under the 'Active'
If He has not done any transaction but was registered within the last 30 days, he should be under '0-30 Days'
If his last date of transaction falls within 31-60 days ago, he will fall under '31-60 Day' category, etc.
How can I achieve that with MDX.
Note that I have 2 table, one is the customer table which shows his details and date of registration(dimension) and another is the transaction table that shows transaction date and amount done by each customer (measure)
me
Reply:
Hi Everyone,
Here is the MDX query i am currently using.
CREATE MEMBER CURRENTCUBE.[Measures].[Age Bucket]AS CASE
WHEN [All Transactions].[Age Bucket].CURRENTMEMBER is [All Transactions].[Age Bucket].[Active] then 'Active'
WHEN [All Transactions].[Age Bucket].CURRENTMEMBER is [All Transactions].[Age Bucket].[0-30 Days]
and [User].[Age Bucket].CURRENTMEMBER is [User].[Age Bucket].[0-30 Days] then '0-30 Days'
WHEN [All Transactions].[Age Bucket].CURRENTMEMBER is [All Transactions].[Age Bucket].[31-60 Days]
and [User].[Age Bucket].CURRENTMEMBER is [User].[Age Bucket].[31-60 Days] then '31-60 Days'
WHEN [All Transactions].[Age Bucket].CURRENTMEMBER is [All Transactions].[Age Bucket].[61-90 Days]
and [User].[Age Bucket].CURRENTMEMBER is [User].[Age Bucket].[61-90 Days] then '61-90 Days'
WHEN [All Transactions].[Age Bucket].CURRENTMEMBER is [All Transactions].[Age Bucket].[91-180 Days]
and [User].[Age Bucket].CURRENTMEMBER is [User].[Age Bucket].[91-180 Days] then '91-180 Days'
WHEN [All Transactions].[Age Bucket].CURRENTMEMBER is [All Transactions].[Age Bucket].[181-270 Days]
and [User].[Age Bucket].CURRENTMEMBER is [User].[Age Bucket].[181-270 Days] then '181-270 Days'
WHEN [All Transactions].[Age Bucket].CURRENTMEMBER is [All Transactions].[Age Bucket].[271-360 Days]
and [User].[Age Bucket].CURRENTMEMBER is [User].[Age Bucket].[271-360 Days] then '271-360 Days'
WHEN [All Transactions].[Age Bucket].CURRENTMEMBER is [All Transactions].[Age Bucket].[Over 361 Days] then 'Over 361 Days'
END,
VISIBLE = 1 ;
me
------------------------------------
Map Tape media and Barcode
Can some one help me to inventory a tape library and map the bar-code of a tape with the slot on which it is inserted in a tape library through c++ or c#.
I am trying to develop a backup system with tape media. I did some code works in c++ to write and read my data through tape. I used windows function to perform read write functions in tape.
Reference : https://msdn.microsoft.com/en-us/library/windows/desktop/aa362558(v=vs.85).aspx
Everything works fine. The rest is managing the tapes. I googled and found windows functions ( DeviceIoControl()), through which i could able to mount a tape media into the drive. The problem i face is that i have a number of slots in a tape library and tape media can be inserted in to each slots and each tape media has a defined barcode with it and i was not able to find how to get the barcode and slot relation through controlling the robotic arm. Without knowing the barcode one can easily put a tape media from a slot to drive for writing and reading. But say in a library like environment with a backup setup i need to find the barcode to fetch it whenever i need it for restore.
I would like to know is there any windows functions like deviceioctl or through powershell or through any other method which we could control the robotic arm in a tape library to read and find the barcode and slot relation.
For Tape library video reference:
Teardown: IBM LTO-3 Tape Drive & Dell TL-2000 Tape Library
https://www.youtube.com/watch?v=x3lseFxGfXM
- Edited by mano8111 Monday, February 13, 2017 10:54 AM
Hello!
Bonjour,
Je rencontre un probleme avec ma messagerie OUTLOOK 2016, qui rencontre des problemes de sync. Bien que mon compte de messagerie soit bien configuré avec mes identifiants fournis par Orange, mon ISP, je semble toujours avoir ces problèmes. Mon adresse mail est: a-delcourt@wanadoo.fr
Merci de revenir vers moi ASAP.
Antoine
Reply:
Hi Antoine,
Thank you for visiting our forum.
The forum that you posted is the English only forum for Microsoft Office. To avoid any misunderstanding that may be caused by the translation tool and better help you, please describe your issue in English. Alternatively, you could post this issue in other forums with the right language.
You can also contact the local support from the link below:
http://support.microsoft.com/select/default.aspx?target=assistance&c1=505&
Thanks for your cooperation and your understanding is greatly appreciated.
Note: You can choose the right language by clicking the Change button from the left bottom of the page, and select the right product.
Best Regards,
Steve Fan
Please remember to mark the replies as answers if they helped.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
------------------------------------
No comments:
Post a Comment