How to see which quota template is applied to a SharePoint 2013 site collection through PowerShell

How do I use PowerShell to tell me which quota template is being applied to a specific site collection in SharePoint 2013?

wifi – MacBook Pro 2013 won’t connect to new Wi-Fi

I recently moved house and have had a new router installed in the house which is working fine for all my devices until recently my MacBook Pro 2013 started to have trouble connecting. Ultimately my whole MacBook Pro started playing up but it turned out this was because I was running unofficial macOS (Big Sur) on my old 2013 model.

I did a fresh install back to Catalina but this Wi-Fi issue still persisted. What’s odd though is that it seems to only have trouble connecting to this network. Other networks or hot spotting to my phone works fine so fortunately its not a hardware issue.

Each time I click to connect I’m asked for the password and after I enter this hangs about trying to connect for a bit and then says connection failed and I have to restart the whole process again (to no avail). Interestingly, if I enter the wrong password the same thing happens and It doesn’t tell me the password is incorrect.

Something more fundamental is going wrong I think. Does anyone have any thoughts on how I can go about troubleshooting this issue? I have restarted multiple times, and reset the PRAM, NVRAM etc but no changes.

Upload local folder structure (size upto 25GB) to SharePoint 2013 on premise document library

I want to migrate local folder which has upto 25GB of data (including documents and media files). Is there any free tool/script which I can use to upload data into SharePoint document library?

linux – DEBIAN does not start on MAC BOOK PRO 2011 or 2013)

I have installed Linux Debian on my Mac and it was running very well until I reset the PRAM.
Now, the OS does not start anymore.

If I press the start button, after a few seconds, I get the well known MAc screen with a blinking folder containing a question mark.

The question is : how to boot again on DEBIAN.

I’m able to start linux via a usbkey and browse the debian partitions.
enter image description here

enter image description here

Group Permissions in SharePoint 2013

I have SP 2013 sites. I want to read the group on user.aspx page with permission level. But I am getting error on get permission. some one help me with this.

$SiteGroups = Get-PnPGroup 
 
Write-host "Total Number of Groups Found:"$SiteGroups.Count

ForEach($Group in $SiteGroups)
{
    $GName = $Group.Title
    $GID = $Group.Id

    $Role = Get-PnPGroupPermissions -Identity $Group.Title #I am getting error here
 }

item is undefined in SharePoint Online but works fine in SharePoint 2013

Long story short I’m migrating SP2013 to SPO. Unfortunately the code is producing an error in the browser console that collListItem is undefined.

All I did was to replace the addresses where needed with the new ones including the imports of jQuery and other resources. The page itself has search functionality which is working fine and a list of letters to pick from (like a dictionary) to check manually for a given word. Upon selecting some of the letters nothing is displayed. After clicking the edit page button all the words are loaded.

I read that this is common issue and the solution was to use SP.SOD.executefunc. Much to my regret this doesn’t seem to work. Last but not least this is just a small excerpt of the code. To keep it tidy I removed the html/css bits and some of the other functions where collListItem is also used but no problems there.

Any suggestions are welcome.

$("#btnSearch").click(function () {
    
    $('#dispRecs').remove();
    $('#nav').remove();
    //$("#spAcronym").text('');
    //$("#spDefinition").text('');
    //$("#spTerm").text('');
    //$("#spDate").text('');
    var txtsTerm = $("#txtSearch").val();
    
    $("#MatchText").empty();
    if($.trim(txtsTerm)!='')
    {
        var letter=$.trim(txtsTerm).substring(0,1);
        $('.aClick').removeClass('aClick');
        $('#'+ letter).addClass('aClick');
        
        //ExecuteOrDelayUntilScriptLoaded(retrieveListItems, "sp.js"); 
SP.SOD.executeFunc('sp.js', 'SP.ClientContext', retrieveListItems);
}
else{
$("#MatchText").hide();
$("#noMatchText").hide();
$("#defaultText").show();
$('#alphaSearch').hide();
}

 });
SP.SOD.executeFunc('sp.js', 'SP.ClientContext', retrieveautotextItems);
function retrieveautotextItems() {
        var siteUrl = 'https://contoso.com/sites/';
        var clientContext = new SP.ClientContext(siteUrl);
        // Get the list instance
        var oList = clientContext.get_web().get_lists().getByTitle('Term');


        var camlQuery = new SP.CamlQuery();

        var strQuery='';        
        
        strQuery="<View><Query><Where><And><Eq><FieldRef Name='IsActive'/><Value Type='Integer'>"+ "1" +"</Value></Eq><Neq><FieldRef Name='Term'/><Value Type='Text'>"+ "" +"</Value></Neq></And></Where></Query><RowLimit>1000</RowLimit></View>";
        
        //alert(strQuery);
        camlQuery.set_viewXml(strQuery);
        
        this.collListItem = oList.getItems(camlQuery);

        clientContext.load(this.collListItem);

        clientContext.executeQueryAsync(Function.createDelegate(this, this.onQueryAutoSucceeded), Function.createDelegate(this, this.onQueryAutoFailed));        

    }
    ```

Export to Excel only exports a few columns – SharePoint 2013

I created a survey with over 70 questions. The defualt view “All Responses” has the option to export a spreadsheet. When I created a new view with the initial view sorted, only about 7 columns are exported. The “All responses” view no longer has an export option. Thank You

2013 – A type named ‘SP.Data.ClientsListItem’ could not be resolved by the model. When a model is available, each type name must resolve to a valid type

I am trying to update a list item using rest api

$.ajax({
                    url: _spPageContextInfo.webAbsoluteUrl + url,
                    type: "PATCH",
                    headers: {
                        "accept": "application/json;odata=verbose",
                        "__metadata":    {"type": "SP.Data.CaseListItem"},
                        "X-RequestDigest": $("#__REQUESTDIGEST").val(),
                        "content-Type": "application/json;odata=verbose",
                        "X-Http-Method": "PATCH",
                        "If-Match": olditem.__metadata.etag
                    },
                    data: JSON.stringify(item),
                    success: function (data) {
                        console.log(data);
                    },
                    error: function (error) {
                        console.log(JSON.stringify(error));
                    }
                });

It throws the below error

{“readyState”:4,”responseText”:”{“error”:{“code”:”-1,
Microsoft.SharePoint.Client.InvalidClientQueryException”,”message”:{“lang”:”en-US”,”value”:”A
type named ‘SP.Data.ClientsListItem’ could not be resolved by the
model. When a model is available, each type name must resolve to a
valid type.”}}}”,”responseJSON”:{“error”:{“code”:”-1,
Microsoft.SharePoint.Client.InvalidClientQueryException”,”message”:{“lang”:”en-US”,”value”:”A
type named ‘SP.Data.ClientsListItem’ could not be resolved by the
model. When a model is available, each type name must resolve to a
valid type.”}}},”status”:400,”statusText”:”Bad Request”}

I have passed the modelname in metadata of header. What should I change?