Creating Notebooks, Sections and Pages in OneNote with Powershell..beginner's perspective - powershell

Apologies, a fairly broad request eith little to offer. I would like to be able to create sections and page in onenote from a list, say in excel, using Powershell.
Any help would be much appreciated.

Not sure if this is still current enough to work properly without knowing what version of Powershell you are running, but here are a few pages that could help you out.
http://blogs.technet.com/b/jamesone/archive/2007/10/02/powershell-and-one-note-no-really.aspx
http://bdewey.com/2007/07/18/onenote-powershell-provider/
Essentially this gives you a OneNote provider that would let you navigate and create One-Note notebooks and pages as you would with any other powershell provider. Could help you out with what you are doing.

Related

How to make vs code extension take in user path input and how to create coding templates

for my internship I am making an VS code extension. I have never developed anything like this before so any help or documentation links or tips are welcome.
what I am doing is as follows: develop an extension that is capable of taking in user input. the input will be a path to an .isf/.hdf file. this could be thru the simplest of text box buttons initially, as functionality before polish is what im focusing on right now.
It also needs to be able to provide templates with preconstructed code. such as, a option on the file menu where it might say "new template.py file". And when this option is choosen, a .py file with a lot of "boiler-plate" or preconstructed code is created for them.
im also using CanvasJS to show some graphical data. I would need a way for the graph to appear in a tab/window of the VS Code rather than the browser of the user.
Thank you in advance! Please let me know how to edit/add to this question, I know its extremely vague. Still a novice but excited to get this extension developed!
P.S.
im not expecting anyone to DO this for me, just to point me in the general direction so I can sink my teeth into useful documentation, examples, and/or tutorials. Thanks again :)

Add page to PDF file using Powershell

I'm new here i don't have much experience in programming, except VBA.
I'm looking for an automated solution to merge pdf files. I don't even know if that's possible, i guess though. I was thinking about using the powershell to do that.
Immaging having a "file_1.pdf" (2 pages) and a "file_2.pdf" (1 page). The result should be a "file_3.pdf" containing all three pages. The page of the "file_2.pdf" should be insertet after the last page of "file_1.pdf".
Thanks in advance guys!
Sasha
I found a solution for this:
I used the toolkit "pdftk server" from pdflabs
pdflabs toolkit server
Works like a charm

Simple one-page application with API, how to start

I recently got a simple task to create one-page application with feeds showing from API. It should be possible to add, edit, delete feed. Add/remove like etc.
I spent last few hours trying to figure out how to start. I created several websites using HTML, CSS and some jQuery or Bootstrap.This is new to me.
API is here: http://fe-zadanie.herokuapp.com
Available: GET, PUT, DELETE
I do not want somebody to write code for me. I just need some little nudge on how to start. I found various sources to study but I cannot find something usable to study and to start from.
Any help would be nice, thank you.

confluence display content by user

I am trying to get specific content on a confluence cloud wiki to display content based on a specific user. The scenario here is that there are links on a page but only 1 should display, the one that displays is based on whom ever is logged in.
I have been told how a macro is the way forward, but I have read the documentation and I am at a loss. I do not understand what I have to do or how to write a confluence macro. could someone help me out with either an example or some links? I have searched like crazy, but maybe i am not asking the right questions but hopfully you can all help me out?
There's a plugin for this:
https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.visibility
But I'm not sure how thoroughly it hides the content. It might still be visible if users view the page source. If you're trying to hide content which needs to be really protected, you'll probably need to do something else.
Depending on how many users are going to be using the page, you could also just make separate spaces for them, add the permissions to those spaces, and then use a page-include on your "main" page to display the content. If they don't have access it shouldn't show up. You might experience some formatting issues with that solution, however.
Finally, you could grab the username with jquery and display stuff based on that. This solution will be pretty easy if you are familiar with javascript/jquery.
Edit: Here are some helpful resources on how to use javascript and jquery within confluence:
https://confluence.atlassian.com/display/CONFKB/How+to+Use+JavaScript+in+Confluence
https://developer.atlassian.com/confdev/confluence-plugin-guide/writing-confluence-plugins/including-javascript-and-css-resources

Get the names of the Masterpages for each Web Application by powershell

Is there any way to spot the master pages for site-collection or site level(better)?
I thought that, powershell can help me for this aim.
You might want to take a look at:
SpWeb.MasterUrl Property