new-contentlibrary is a strightforward powercli comand .
however in this thread we are using that command under function create-contentlibray which has included concept of
checking service using posh-ssh module and at the same time publishing to secondary site if any .