< Back

Remove-GcsBucketWebsite

Mon Jan 13, 2020 11:43 pm

NAME Remove-GcsBucketWebsite



SYNOPSIS

Removes the website associated with a Cloud Storage Bucket.





SYNTAX

Remove-GcsBucketWebsite [-Name] <string> [<CommonParameters>]





DESCRIPTION

Removes the website associated with a Cloud Storage Bucket.





PARAMETERS

-Name <string>

The name of the bucket to remove logging for. This parameter will also accept a Bucket object.



Required? true

Position? 0

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Google.Apis.Storage.v1.Data.Bucket





---------- EXAMPLE 1 ----------



PS C:\\> Remove-GcsBucketWebsite $bucket



Remove the website data for $bucket.



RELATED LINKS

[Static Website Hosting] (https://cloud.google.com/storage/docs/h ... ic-website)

[Static Website Troubleshooting] (https://cloud.google.com/storage/docs/static-website)